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

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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,773 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 96,436 Reputation points MVP

    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.