Product: PowerShell Universal
Version: 4.0.9
Im trying to get any user who is a member of the recordings role to be redirected on login to a specified app (I’m using forms login with AD groups). Im setting the DefaultRoute for the role to the app URL like so:
New-PSURole -Name "Recordings" -Description "Provides access to display recordings dashboard" -DefaultRoute "https://psu/Recordings" -Policy {
When I log in with my test user, the redirect after login goes to /admin and I get an unauthorized page. If I then remove the /admin from the URL it correctly routes to the recordings app.
This user only has two related groups, LogonRightsOnly (used in authentication.ps1) and Recordings.
Am I doing something wrong or is this a bug? with hopefully a workaround.