# Entra AADSTS65001: consent has not been granted

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.

## What to change

- **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.

## Related OhAuthCat error

- [`consent_declined`](/errors/consent_declined/), when a user cancels a consent prompt instead of an admin approving it

## Source

Written in our own words from the public Microsoft Entra ID documentation: [https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes](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.
