Oct 10 2018 12:05 AM
Hi,
I'm using Powershell to activate Admin roles in O365. Since a week the command below gives an error. Does anyone have an idea why it isn't working anymore?
Error:
Oct 12 2018 03:25 AM
Have you figured this out yet? I'm having the same problem.
Oct 12 2018 03:26 AM
No, were still having this issue!
Oct 12 2018 06:22 AM
Hi Jeroen,
Try running Get-PrivilegedRoleAssignment without any parameters to see what it returns. Also run $Error[0] | Select * to see more detail on the exception. It almost looks like the query is returning null.
Oct 14 2018 11:22 PM - edited Oct 14 2018 11:24 PM
Hi Matthew,
Thanks for your response, I've added two screenshots.
The command "Get-PrivilegedRoleAssignment" is returning the available Roles as expected.
Oct 15 2018 05:30 AM
Jeroen,
The module has been updated on 10/3/2018, I would check to see if you have the latest version. Here is a link to the gallery for more details:
Feb 17 2022 08:01 AM