Unable to get any authorization policies to work - Azure AD Auth/IIS

Yeah, thanks :slight_smile: I’ve been meaning to re-visit mine for some time now but never really got around to it as I can live with how it works. The script block I’m building when my authorization policies are built is essentially hardcoded sids at that point, but your way is better in that respect so I may have a look at switching to a cache variable - I’m not sure why I did it the way I did, maybe i thought that cache wasn’t addressable at that point. I think I once asked adam in this forum if there was a way to manipulate the auth policies after the dashboard had started and he pointed me in a direction that might be possible, I just never got around to test, unfortunately I do all this at work and my todo list is only getting longer and longer so typically if its an improvement and not a requirement it gets left for a while… If i can find the post i’ll link it here.

EDIT:
Found it: Manipulating Authorization Policies