Forum Discussion
OmriEytan
Apr 23, 2021Copper Contributor
Delay between admin consent and ability to perform API requests
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-b...
VasilMichev
Apr 23, 2021MVP
Did you renew your token after granting consent? The vast majority of applications will rely on the roles/scopes listed within the token, and those will not be updated until you get a new one.
- OmriEytanApr 25, 2021Copper Contributor
VasilMichevwe are issuing a new token. After the consent is given, the tenant ID is sent to a backend process that issues a new token via MSAL and queries the Graph API. Scopes requested for the token are similar to those requested by the application and approved by the admin.