Delay between admin consent and ability to perform API requests

Omri Eytan 31 Reputation points
2021-04-23T05:53:00.233+00:00

We have been experiencing long delays (up to an hour) between the moment the "admin consent" approval of our app until we can successfully perform Graph API calls for the tenant.
As part of our on-boarding flow, after the user provides admin consent to our application we start performing various actions via the Graph API. Lately we have been receiving an increasing number of API call failures with "permission denied" response.
It can take any time between a few seconds to an hour for the permissions granted in the admin consent form to be recognized by the Graph API.
This is causing substantial friction in our on-boarding process.
Has anyone else encountered this?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,573 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,529 questions
{count} votes

1 answer

Sort by: Most helpful
  1. mostafa bafandegan 0 Reputation points
    2023-06-14T07:38:21.66+00:00

    Same issue as ours, cause onboarding process to fail.

    0 comments No comments

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.