I have a question about \"Authorization Request Denied - Insufficient privileges to complete the operation\" message that I keep getting back from my requests to Windows Gra
You can try to upgrade the role of the AD application you use to a administrator permission. Run the following commands in PowerShell
:
Connect-MsolService
$ClientIdWebApp = '{your_AD_application_client_id}'
$webApp = Get-MsolServicePrincipal –AppPrincipalId $ClientIdWebApp
#use Add-MsolRoleMember to add it to "Company Administrator" role).
Add-MsolRoleMember -RoleName "Company Administrator" -RoleMemberType ServicePrincipal -RoleMemberObjectId $webApp.ObjectId