I’m using windows authentication, and roles have been defined by groupSid match against the claimsprincipal. All this is working fine…
I’m thinking the -Role parameter in the New-UDPage function has an issue. When I use this, and the role matches, I get a page with no content. Proper theme, AppBar, and Title display fine… just no “page” content.
If the role does not match the user I get the expected “? Page Not Found” error page when manually navigating to a page I don’t have access to.
I’ve read the blog “Role-based access in PowerShell Universal Dashboard”, however it would be more ideal for me to use the -Role parameter as the AppBar is already aware of what pages you’ll be able to view, and the list is updated accordingly, without the need of “if” statements on each page, and all thru the AppBar…
Hopefully I’m just missing something simple here, and someone can point me in the right direction.
Any help would be greatly appreciated!