Hello,
When I run Open-AzureADMSPrivilegedRoleAssignmentRequest to activate a Role that I am Eligible for, I get the following error :
Open-AzureADMSPrivilegedRoleAssignmentRequest : Error occurred while executing OpenAzureADMSPrivilegedRoleAssignmentRequest
Code: InvalidRoleAssignmentRequest
Message: The role assignment request is invalid.
InnerError:
RequestId: 15a8746c-e048-467a-a948-a124f3c49749
HttpStatusCode: BadRequest
HttpStatusDescription: Bad Request
HttpResponseStatus: Completed
Open-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId 'aadRoles' ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Open-AzureADMSP...signmentRequest], ApiException
+ FullyQualifiedErrorId : Microsoft.Open.MSGraphBeta.Client.ApiException,Microsoft.Open.MSGraphBeta.PowerShell.OpenAzureADMSPrivilegedRoleAssignmentRequest
Please note that I have no issues enabling this role from the web GUI