Microsoft 365 sign-in (Entra ID)

AADSTS65001: user or administrator has not consented to use the application

AADSTS65001 means no user or admin has consented to the permissions an app requests in Microsoft Entra ID. How to find the missing consent and grant it safely.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

AADSTS65001 is the Microsoft Entra code DelegationDoesNotExist. An app tried to sign a user in or get an access token for a resource, but there is no consent on record for the permissions it asked for. Microsoft's reference tells the app to send an interactive authorization request for the user and resource, so the user or an administrator can see and approve the permissions.

Microsoft's consent troubleshooting article covers OpenID Connect and OAuth 2.0 apps and lists AADSTS65001 among several consent errors, alongside the "Need admin approval" screen. It notes that SAML apps can show similar errors but usually need different fixes.

Common causes

Microsoft lists these scenarios behind consent errors:

  • The User.Read permission is missing.
  • User consent is disabled at the tenant level.
  • User assignment is enabled for the application.
  • A service principal does not exist in the tenant for the client application, or for the resource.
  • The consent URL specifies prompt=admin_consent or prompt=consent.
  • The sign-in request asks for scopes that have not been consented to.
  • The scope or permission requires admin consent.
  • User consent is blocked for risky applications.

How to fix it

1. Get the sign-in request

Look at the browser address bar when the consent error appears, or capture the request with an HTTP tool such as Fiddler. Note the tenant, client_id (the app ID), scope, resource and prompt values; the next steps compare them with the tenant's settings.

In the Azure portal go to Microsoft Entra ID, Enterprise applications, Consent and permissions, and review User consent for applications. If user consent is not allowed, users always need an administrator to consent. The user consent settings guide explains why many tenants keep it restricted.

3. Check that the app exists and whether assignment is required

Switch to the tenant from the request, open Enterprise applications, set Application Type to All Applications and search for the app ID. If it is not found, an administrator must perform admin consent. If it is found, open Properties and review Assignment required; when it is on, an admin must consent.

4. Compare requested and granted permissions

Open the app's Permissions page and compare it with the scopes in the request. The OpenID Connect scopes openid, email, profile and offline_access are usually not listed and can be ignored. Any other scope missing from the page needs consent.

5. Remove a forced prompt parameter

If the request contains prompt=consent or prompt=admin_consent, the user is asked to consent every time. Microsoft's fix is to remove the prompt parameter from the sign-in request.

A Global Administrator, Company Administrator or Application Administrator opens the app, reviews the requested permissions and selects Consent on behalf of your organization. If the permissions are already configured on the app registration, the admin consent URL has this form:

https://login.microsoftonline.com/<Tenant-ID>/adminconsent?client_id=<App-ID>

Microsoft warns that an administrator who is unsure what the permissions allow should check with the application vendor first.

If nothing works

Check the Microsoft Entra audit logs with Category ApplicationManagement, Status Failure and Activity Consent to application, and read the STATUS REASON. A reason of UserConsentBlockedForRiskyAppsException means admin consent is needed even where users can normally consent.

What we checked

Two Microsoft Learn pages were read on 2026-11-21. The Microsoft Entra error code reference defines AADSTS65001 as DelegationDoesNotExist. The consent troubleshooting article lists the error text, the high-level causes, the seven troubleshooting steps, the admin consent procedure and the audit log filter. The error was not reproduced for this page.

Last checked: 2026-11-21.

Official sources

Questions people ask

What does AADSTS65001 mean?

Microsoft lists it as DelegationDoesNotExist: no user or administrator has consented to the application using the requested permissions, so the app must send an interactive authorization request.

An admin already consented. Why do users still get AADSTS65001?

Microsoft says that in that case most likely not all of the permissions in the sign-in request were consented to, or the wrong application was used. Compare the scopes in the request with the Permissions page of the enterprise app.

Does admin consent give every user access to the app?

No. Microsoft notes that consenting for all users does not override user assignment: if Assignment required is on, only assigned users can access the app.

Guides that mention AADSTS65001

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.