Error AtlasError Documentation and Resolution

Microsoft Entra requires user or admin consent for the application

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

Microsoft Entra ID rejected the sign-in or token request because the user or tenant administrator has not granted the required permissions to the application.

AADSTS65001authentication
AADSTS65001: The user or administrator has not consented to use the application.
  • The application requests permissions that the user has not yet consented to.
  • Admin consent is required for one or more permissions.
  • The app registration permission list does not align with the tenant's current consent state.
  1. Send the user through an interactive consent flow if user consent is allowed.
  2. Request tenant admin consent when the permission set requires administrator approval.
  3. Review the app's configured API permissions and remove any unnecessary scopes.
Microsoft Entra authentication and authorization error codes
AADSTS65001 consent required in Microsoft Entra | Error Atlas