Graph API - Insufficient privileges to complete the operation

前端 未结 9 1382
长情又很酷
长情又很酷 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 01:57

    It seems like your application is not having enough rights to access AD information. You can follow the steps mentioned in below link/article to login to Azure portal and see if your application has got enough privileges to access AD.

    http://www.morgantechspace.com/2016/01/graph-api-insufficient-privileges-to-complete-the-operation.html

    https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-graph-dotnet

    Also I hope, the "authResult.AccessToken" is not null in your case. One thing, the second link above is having very detailed explanation on application access rights to AD. could be of help to you.

提交回复
热议问题