Skip to content
Dashboard
Theme
Theme

Entra AADSTS65001: consent has not been granted

What this Microsoft Entra ID error means for an OhAuthCat connection and what to change.

View Markdown

For an OIDC connection, the user or an administrator has not consented to the app reading the requested sign-in information, and the tenant does not let users consent themselves.

  • IT admin: in the app registration’s API permissions, grant admin consent for the tenant for the openid, profile and email permissions.
  • IT admin: then ask the user to retry from your application.
  • Developer: nothing to change; OhAuthCat requests only the standard sign-in scopes.
  • consent_declined, when a user cancels a consent prompt instead of an admin approving it

Written in our own words from the public Microsoft Entra ID documentation: https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes. Check it for the vendor’s current wording; vendors change their pages without notice.