I setup a new instance of PU 5.0.9 Enabled Windows Authentication
Modified the Administratror role
After restarting PU service, the Administrator role is missing from GUI
and Roles.ps1 got modified
if I copy the administrator role code från another instance of PU which works and restart the service, then everything works
Product: PowerShell Universal Version: 5.0.9
If you’re interested in why, policy authorization and claims authorization cannot exist in tandem - only one or the other. To preserve the default behavior you can also just comment out the -Policy { ... } block entirely
-Policy { ... }
I understand, after many trial and error but it’s some kind of bug in the UI, that it can not correct the policy when one of the method is modifed.