skip to Main Content

Azure – AZ REST Command Forbidden

Service Principal does have Application.ReadWrite.OwnedBy API permission but it can't PATCH using the AZ REST commands. It can LIST/ GET using AZ REST command. az rest --method PATCH --uri "https://graph.microsoft.com/v1.0/applications/{OBJECT_ID}" --headers 'Content-Type=application/json' --body "{web:{redirectUris:['https://URL']}}" Error: Forbidden( { "error": { "code":"Authorization_RequestDenied",…

VIEW QUESTION
Back To Top
Search