Troubles with Windows Auth -PassThru

Hi everyone !

I am getting some troubles with the -Passthru param.
Everytime i try to reach my dashboard, the credential prompt pop up. The single sign on is not working and i can’t find why…
My forwardAuthToken is set to true.
All is working fine except the single sign on.

I have also tried with the documentation code :

Start-UDDashboard -Content {
    $Auth = New-UDAuthenticationMethod -Windows
    $LoginPage = New-UDLoginPage -AuthenticationMethod @($Auth) -PassThru

    New-UDDashboard -Title "Line" -Content { 
        New-UDRow -Columns {
            New-UDColumn -Size 12 -Endpoint  {
                New-UDHeading -Text "Logged in as $user"
            }
        }
    } -LoginPage $LoginPage 
} -Wait -AllowHttpForLogin

So, did i miss a change or something ?

Thanks.

Lucas R.

This is usually a problem with the IIS configuration. The reason you are seeing the credential pop up is that the website is still returning a 401 because the previous auth attempt didn’t work for whatever reason.

You have anonymous auth disabled and windows auth enabled in your site? Are you domain joined?

Hi @adam !

Thanks for this quick answer !

Yes, I am domain joined, anonymous auth is disabled and Windows auth is enabled.

Can you share a little more about your IIS settings? Anything special? What’s the identity of your AppPool set to?

I am not sure if i changed some settings or anything special …
I am sure I missed something easy :confused:
Screens of my appPool named UdWeb :
1