AADSTS65001: The user or administrator has not consented to use the application
The app needs permissions that haven’t been granted for this user or tenant.
The user or administrator has not consented to use the application Meaning
Delegated permissions need user or admin consent; many Microsoft Graph permissions need admin consent. Non-interactive flows (client credentials, on-behalf-of, ROPC) can’t show a consent prompt, so they fail with 65001.
Common causes
- Required permission not consented
- Admin consent required but only user consent attempted
- User consent disabled by tenant policy
- New permission added to the app without re-consent
⚡ Quick fix
- Grant admin consent in App registrations → API permissions
- Trigger interactive consent with prompt=consent
- Ask an admin to approve via the admin consent URL
Detailed fix by platform
Azure CLI
az ad app permission admin-consent --id <app-id>
How to diagnose
- Permissions — API permissions list and status
- Policy — User consent settings
- Flow — Interactive or not?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Azure
- MissingSubscriptionRegistration MissingSubscriptionRegistration: The subscription is not registered to use namespace 'Microsoft.X'
- AuthorizationPermissionMismatch Azure Storage: AuthorizationPermissionMismatch (403) — This request is not authorized to perform this operation using this permission
- AADSTS50173 AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 13 Oct 2026