I’m upgrading from v4 to v5 and testing existing working scripts from v4.
I use Get-PSUDashboard to get dashboards to build a dynamic multi-tier navigation menu.
This works fine in v5 when I am using my Administrator role account, but fails for all other users.
Issue seems to be around Get-PSUDashboard command and I’m guessing it’s some permission issue, given that admin account works and others don’t. Obviously, I can’t give everyone Administrator role to work around it.
I’ve tried playing around with -AppToken and -Credential parameters, but not getting very far.
Any ideas or workarounds?