Graph API - Insufficient privileges to complete the operation

前端 未结 9 1402
长情又很酷
长情又很酷 2020-12-09 01:37

When trying to access the Graph Service Client using I am receiving the error :

Code: Authorization_RequestDenied
Message: Insufficient privile

9条回答
  •  天涯浪人
    2020-12-09 02:13

    In some cases the actual issue happens because we use "Application permissions" instead of "Delegated permissions". In my application, I have tried to list all the users with application permissions and it wasn't working. When I switched to a delegated permissions, it worked.

    So, some quick check would be like this:

    1. Check if you are using Microsoft Graph API or something else
    2. Use Delegated permissions
    3. Click Grant permissions button to propagate permissions :)

    Hopefully, this would help someone.

提交回复
热议问题