AADSTS700016 Azure Origin: Platform & cloud Last updated 13 Oct 2026

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.

Exact message you may see Application with identifier was not found in the directory
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

  1. Verify the Application (client) ID in Entra ID → App registrations
  2. Use the right authority (/common, /organizations or the tenant ID)
  3. Make the app multi-tenant if external users sign in

Detailed fix by platform

Azure

  1. Other common codes: AADSTS50011 (redirect URI mismatch), AADSTS65001 (consent required), AADSTS7000215 (invalid client secret).

How to diagnose

  1. Client ID — Matches the registration?
  2. Tenant — Authority correct?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

401 — HTTP 401 Unauthorized (HTTP)401AADSTS500113 — AADSTS500113: No reply address is registered for the application (Azure)AADSTS500113AADSTS50020 — AADSTS50020: User account from identity provider does not exist in tenant and cannot access the application (Azure)AADSTS50020AADSTS50076 — Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required (Azure)AADSTS50076AADSTS50126 — AADSTS50126: Error validating credentials due to invalid username or password (Azure)AADSTS50126AADSTS90002 — AADSTS90002: Tenant 'x' not found (Azure)AADSTS90002auth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-credenti…auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-by-…AADSTS700…

Explore the map of this error Full error map →

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