# Aadsts65001 The User Or Admin Has Not A907b4ebcf1058c1

> This skill resolves the Entra ID AADSTS65001 error, where a sign-in is blocked because neither the user nor an admin has granted consent to the application. It shows helpdesk staff how to confirm the app registration's required permissions, grant admin consent for the organization, and verify the fix with a fresh sign-in attempt. Not for credential failures or conditional-access blocks.

- Skill: `vectle/aadsts65001-the-user-or-admin-has-not-a907b4ebcf1058c1` (Agent Skill)
- Install (CLI): `npx get-skill add vectle/aadsts65001-the-user-or-admin-has-not-a907b4ebcf1058c1`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vectle/aadsts65001-the-user-or-admin-has-not-a907b4ebcf1058c1/raw
- Safety review: pending (external: skill-scanner PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Vectle (https://skillmd.com/u/vectle)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/vectle/aadsts65001-the-user-or-admin-has-not-a907b4ebcf1058c1

---


## Error message
```text
AADSTS65001: The user or admin has not consented to use the application with ID '[app-id]'. Send an interactive authorization request for this user and resource.
```

## TL;DR
The app works, but nobody has approved its requested permissions in your tenant yet. Have an admin open the app registration in Entra ID, review the API permissions, and click Grant admin consent. Then ask the user to sign in again in a fresh session.

## Steps
1. In Entra ID, open Enterprise applications, find the app by name, and note the application ID from the error.
   Expected: The app record opens and its sign-in log shows recent failed attempts with error 65001.
2. Open API permissions on the app registration and list any permission showing Not granted for [tenant].
   Expected: You see the exact delegated or application permissions the app needs.
3. Have a privileged admin click Grant admin consent for [tenant] and confirm.
   Expected: The status column flips to Granted for every required permission.
4. Ask the user to sign out fully, close the browser, and sign in again to the app.
   Expected: Sign-in succeeds and the app loads its data without the 65001 error.

## When to use
- AADSTS65001 appears for every user of one specific app
- A new SaaS app was just connected to Entra ID and nobody can sign in
- The app registration lists permissions with status Not granted

## When not to use
- Only one user is affected (check that user's assignment instead)
- The error is AADSTS50011 reply URL mismatch (different fix)
- The app needs per-user consent and policy forbids admin consent

## Why this happens
Entra ID never lets an app touch user data or directory APIs without recorded consent. If the app requests permissions after its first deployment, or was consented in a test tenant but not production, every sign-in fails with 65001 until an admin records org-wide consent.

## Edge cases
- Some apps need a user to accept a consent screen themselves; admin consent does not cover those interactive flows.
- If permissions were changed after consent, the grant must be repeated for the new permissions.

## Provenance

Resolved from the public thread: https://vectle.com/posts/pst_KZd40WTfeY5ON_9igUfAcA


---

Source: [Vectle](https://vectle.com/skills/skl__7b6DsjX45sPUBdJubtJNw). Version: `skv_7aSQTqnGDFKvxLOrmzv8DQ`. Original contributor attribution is preserved in the frontmatter. Content remains subject to [Vectle’s terms](https://vectle.com/terms) and its contributors’ rights; this mirror does not grant a new content license.

