The source for REST API specifications for Microsoft Azure.
MIT License
2.61k
stars
5.03k
forks
source link
The client '' with object id '' does not have authorization to perform action 'Microsoft.Authorization/elevateAccess/read' over scope '/providers/Microsoft.Authorization' or the scope is invalid. #10142
Attempting to follow documentation here: https://docs.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-admin#rest-api
I am attempting to have a Service Principal elevate their permissions via the following PowerShell code:
The Application/Service Principal is in the Global Administrators role.