Error Authorization_RequestDenied when call graphServiceClient.Me.Request().GetAsync().Result after login from Microsoft

EDA_横山 20 Reputation points
2025-06-18T10:42:28.8+00:00

In Azure portal select Users > Add new user by "Invite external user"

After new user added, user can login to my App Service from Microsoft login, but when I use GraphServiceClient send request to get Me data, I take bellow error

Code: Authorization_RequestDenied

Message: Insufficient privileges to complete the operation.

What can I do to fix this error?

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.