Hello everyone,
I was thinking to create a script to enable my roles in the morning when logging in.
I'm connected to our tenant, installed and connected to the PIM service - then try to retrieve the role assignments it just bombs out.
It seems this stopped working around March? Did find some other entry in here but it wasn't helpful so basically 'reopen' this.
Error I'm getting:
Get-PrivilegedRoleAssignment : An error occurred while processing this request.Get-PrivilegedRoleAssignment
At line:1 char:1
+ Get-PrivilegedRoleAssignment
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-PrivilegedRoleAssignment], DataServiceQueryException
+ FullyQualifiedErrorId : Microsoft.OData.Client.DataServiceQueryException,Microsoft.Azure.ActiveDirectory.PIM.PSModule.Cmdlets.GetPrivilegedRoleAssignments
using the portal I have no issues enabling my roles, but PS would be a bit quicker I guess...
thanks for any help