Alice
Alice

Reputation: 51

MS Graph API call getOffice365ActiveUserDetail() fails with HTTP 403 for Delegated permissions

Earlier i asked this question, where @Dev helped me. Now when i tried doing to Delegated permissions, its again throwing HTTP error 403. Application permission works for me. Only looks like issue with delegated permission. Strange? Any inputs will be of help.

Upvotes: 1

Views: 67

Answers (1)

Dev
Dev

Reputation: 2464

@Alice, I see that you're using delegated permission scenario. If yes, then you need to allow apps to read service usage reports on behalf of a user. I would suggest you to work with your tenant administrator. They should have assigned the user the appropriate Azure AD limited administrator role - its needed, apart from the permissions that you specify in your code.

I tried the above in past and helped; so give a try. If you still face issues let me know. For more info you can refer the related document.

Upvotes: 1

Related Questions