Azure AD (Entra ID): AADSTS700016 Application not found in the directory
The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.
Seen on:
Azure
Meaning
Either the app ID is wrong, the app is registered in a different tenant, or a multi-tenant app hasn’t been consented in the user’s tenant.
Common causes
- Wrong client/application ID
- Using a tenant-specific authority for a different tenant
- Single-tenant app used by external users
- App registration deleted
⚡ Quick fix
- Verify the Application (client) ID in Entra ID → App registrations
- Use the right authority (
/common,/organizationsor the tenant ID) - Make the app multi-tenant if external users sign in
Detailed fix by platform
Azure
- Other common codes: AADSTS50011 (redirect URI mismatch), AADSTS65001 (consent required), AADSTS7000215 (invalid client secret).
How to diagnose
- Client ID — Matches the registration?
- Tenant — Authority correct?
🧠 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.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 2 Oct 2026