Product: PowerShell Universal
Version: 5.0.5I am struggling …
I have been using PU 3 and 4 on IIS running on window server 2022, with Windows Authentication enabled. it took a few tries and work flawlessly even since.
Today I deciede to setting up a new instance and plan to migrate PU 3 and 4 to PU5 and trying to make SSO without success, maybe I did something wrong… (a new setup, not upgrade from 3 or 4)
Here is my steps:
Download 5.0.5 zip
Unpack to PU5_IIS folder
Create PU5_Data for data storage
Create App Pool according to the guide
Create Web Site according to the guide
Binging valude certificate according
HTTP runs on port 10090, HTTPS runs on port 10443
First start works, created admin password and able to login, apply license works
appsettings.json

10.Authentication Method added

11.Role for administrator connected to an AD Group

12.Restart app pool and the site
Start web browser as another user with is member of the admin ad group

and every time I press Login with Windows, I can see briefly that the user name shows upp in the right upper corner and I can see in the session with still with “admin” user logged in, under “identities”, the user shows upp as external.

If I logout my default admin user, I won’t be able to login again.
Sidenot, PU has been a great tool for me and saved a lot time, I really hope it’s me who missed something
Recommended Answer
I opened an issue for this here as you’re not the only one struggling with IIS and Windows auth: IIS with Anonymous Auth enabled prevents Windows auth from working · Issue #3715 · ironmansoftware/powershell-universal · GitHub
I also had some trouble with Windows auth in my environment and it seemed like cached claims were catching me and after restarting the service I could get it to work but this was an MSI install and not IIS.
Either way, we are looking into this specific issue but also added the missing “Clear Cached Claims” button back to the roles page.
Adam Driscoll
PowerShell Expert and Software Architect at Devolutions