code": "Authorization_RequestDenied", "message": "Insufficient privileges to complete the operation.",

Anonymous
2023-10-11T15:48:31.6633333+00:00
code": "Authorization_RequestDenied",
    "message": "Insufficient privileges to complete the operation.
Hi We did App registration but  use is not able to login and we  got above  error.


Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 123.6K Reputation points MVP Volunteer Moderator
    2023-10-11T16:09:10.2066667+00:00

    Mind telling us what operation you are trying to perform? As you have added Delegate permissions under your app registration, you need to make sure that the user you run it under has the necessary admin role(s) assigned as well, just having the Graph API permissions is not enough.


Your answer

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