Microsoft Graph API: 403 Forbidden error when trying to retrieve policies on tenant

后端 未结 1 1671
闹比i
闹比i 2021-01-13 05:30

I\'m trying to retrieve the policies created for my tenant on the Azure AD portal using the Microsoft Graph API. As I understand from the graph API documentation, all the po

1条回答
  •  一生所求
    2021-01-13 06:09

    Based on the claims in the access token, you were acquire the access token using the client credentials flow which the token used to delegate the app. There is no such delegate permission for user in this kind of token.

    To get the access token for the delegate permission for users, you need to using the other flows like Authorization code grant flow. You can refer this link for the detail.

    0 讨论(0)
提交回复
热议问题