Error map

AADSTS50020 AADSTS50020: User account from identity provider does not exist in tenant and cannot access the application

Azure · layer 6, Platform & cloud

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

AADSTS50020 — AADSTS50020: User account from identity provider does not exist in tenant and cannot access the application (Azure)AADSTS50020AADSTS50173 — AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed (Azure)AADSTS50173AADSTS50053 — AADSTS50053: Your account is locked (Smart Lockout) / sign-in blocked due to suspicious activity (Azure)AADSTS50053Our services aren't available right now — Azure Front Door: Our services aren't available right now (503/502 from Front Door) (Azure)Our services aren't…InvalidAuthenticationTokenTenant — InvalidAuthenticationTokenTenant: The access token is from the wrong issuer (Azure)InvalidAuthenticati…AADSTS53003 — AADSTS53003: Access has been blocked by Conditional Access policies (Azure)AADSTS53003AADSTS50057 — AADSTS50057: The user account is disabled (Azure)AADSTS50057AADSTS50055 — AADSTS50055: The password is expired (Azure)AADSTS50055AADSTS700082 — AADSTS700082: The refresh token has expired due to inactivity (Azure)AADSTS700082AADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016AADSTS50126 — AADSTS50126: Error validating credentials due to invalid username or password (Azure)AADSTS50126AADSTS65001 — AADSTS65001: The user or administrator has not consented to use the application (Azure)AADSTS65001AADSTS7000222 — AADSTS7000222: The provided client secret keys for app are expired (Azure)AADSTS7000222401 — HTTP 401 Unauthorized (HTTP)401TokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredErrorMissing Authentication Token — {"message":"Missing Authentication Token"} / No authorization token was found (Authentication)Missing Authenticat…webhook signature — Webhook signature verification failed (Stripe, Razorpay, GitHub…) (API)webhook signatureviolates PodSecurity — Error creating: pods is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false ... (Kubernetes)violates PodSecurityREMOTE HOST IDENTIFICATION HAS CHANGED — WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed) (Linux)REMOTE HOST IDENTIF…502 — HTTP 502 Bad Gateway (HTTP)502503 — HTTP 503 Service Unavailable (HTTP)503520 — Cloudflare Error 520: Web Server Returned an Unknown Error (Cloudflare)520AADSTS50034 — AADSTS50034: The user account does not exist in the directory (Azure)AADSTS50034AADSTS500113 — AADSTS500113: No reply address is registered for the application (Azure)AADSTS500113SubscriptionNotFound — SubscriptionNotFound: The subscription 'x' could not be found (Azure)SubscriptionNotFoundAADSTS50076 — Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required (Azure)AADSTS50076AADSTS50105 — AADSTS50105: Your administrator has configured the application to block users unless they are specifically granted access (Azure)AADSTS50105Authentication token manipulation error — passwd: Authentication token manipulation error (Linux)Authentication toke…Failed to connect to bus — Failed to connect to bus: No such file or directory (systemctl --user / timedatectl) (Linux)Failed to connect t…AADSTS90002 — AADSTS90002: Tenant 'x' not found (Azure)AADSTS90002AADSTS70021 — AADSTS70021: No matching federated identity record found for presented assertion (GitHub Actions / workload identity) (Azure)AADSTS70021Login failed for user '<token-identified principal>' — Azure SQL: Login failed for user '<token-identified principal>' (Microsoft Entra / managed identity) (Azure)Login failed for us…Illegal arguments: undefined, string — bcrypt error: Illegal arguments: undefined, string / data and salt arguments required / data and hash arguments required (Authentication)Illegal arguments: …invalid_token — invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed) (Authentication)invalid_tokenPlease run 'az login' — Azure CLI: Please run 'az login' to setup account / No subscription found (Azure)Please run 'az logi…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientAuthentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…Host key verification failed — Host key verification failed. fatal: Could not read from remote repository. (Git)Host key verificati…publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyinvalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantinvalid_api_key — API Error: Invalid API Key / Incorrect API key provided (API)invalid_api_keyEACCES — npm ERR! code EACCES — permission denied (npm)EACCESdaemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemon403 — HTTP 403 Forbidden (HTTP)403CreateContainerConfigError — Kubernetes: CreateContainerConfigError — secret / configmap not found (Kubernetes)CreateContainerConf…ResourceInitializationError — ECS: ResourceInitializationError: unable to pull secrets or registry auth (AWS)ResourceInitializat…SecretNotFound — Key Vault: (SecretNotFound) A secret with (name/id) x was not found in this key vault (Azure)SecretNotFound

Directly related (12)

AADSTS50173Azure

AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed

The refresh token was revoked — usually because the user changed or reset their password, or an admin revoked sessions.

AADSTS50053Azure

AADSTS50053: Your account is locked (Smart Lockout) / sign-in blocked due to suspicious activity

Too many failed sign-ins (or sign-ins from a malicious IP) triggered Entra Smart Lockout.

Our services aren't available right nowAzure

Azure Front Door: Our services aren't available right now (503/502 from Front Door)

Front Door couldn’t get a valid response from your origin — origin down, health probes failing, TLS/host header mismatch, or a ti…

InvalidAuthenticationTokenTenantAzure

InvalidAuthenticationTokenTenant: The access token is from the wrong issuer

The token was issued by a different tenant than the one that owns the subscription/resource.

AADSTS53003Azure

AADSTS53003: Access has been blocked by Conditional Access policies

Sign-in succeeded, but a Conditional Access policy blocked access — device, location, app or risk conditions weren’t met.

AADSTS50057Azure

AADSTS50057: The user account is disabled

The account exists but is blocked from signing in.

AADSTS50055Azure

AADSTS50055: The password is expired

The user’s password expired under the tenant/on-prem password policy and must be changed before signing in.

AADSTS700082Azure

AADSTS700082: The refresh token has expired due to inactivity

A cached refresh token wasn’t used for 90 days (the inactivity limit) and is no longer valid.

AADSTS700016Azure

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.

AADSTS50126Azure

AADSTS50126: Error validating credentials due to invalid username or password

Microsoft Entra ID (Azure AD) rejected the sign-in because the username or password is wrong — or the flow can’t use passwords fo…

AADSTS65001Azure

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.

AADSTS7000222Azure

AADSTS7000222: The provided client secret keys for app are expired

The app registration’s client secret has expired, so service-to-service authentication fails.

Two steps away (34)

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

TokenExpiredErrorAuthentication

JWT Expired / Invalid Token

The JSON Web Token sent with the request is expired, malformed or signed with a different key, so the API rejects it (usually wit…

Missing Authentication TokenAuthentication

{"message":"Missing Authentication Token"} / No authorization token was found

The request reached a protected endpoint without credentials — or, on AWS API Gateway, it hit a path/method that doesn’t exist.

webhook signatureAPI

Webhook signature verification failed (Stripe, Razorpay, GitHub…)

Your endpoint computed a different HMAC signature than the one the provider sent, so the webhook is rejected.

violates PodSecurityKubernetes

Error creating: pods is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false ...

The namespace enforces a Pod Security Standard (baseline/restricted) and the pod spec breaks one of its rules.

REMOTE HOST IDENTIFICATION HAS CHANGEDLinux

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed)

The server’s SSH host key differs from the one saved in ~/.ssh/known_hosts — usually because the server was rebuilt or the IP was…

502HTTP

HTTP 502 Bad Gateway

A proxy or gateway (Nginx, load balancer, CDN) got an invalid response — or no response — from the upstream server behind it.

503HTTP

HTTP 503 Service Unavailable

The server is temporarily unable to handle the request — overloaded, in maintenance, or has no healthy backends.

520Cloudflare

Cloudflare Error 520: Web Server Returned an Unknown Error

Cloudflare connected to your origin, but the origin returned an empty, unknown or invalid response.

AADSTS50034Azure

AADSTS50034: The user account does not exist in the directory

There’s no user with that sign-in name in the tenant.

AADSTS500113Azure

AADSTS500113: No reply address is registered for the application

The app registration has no redirect URI for the platform being used, so Entra ID has nowhere to send the response.

SubscriptionNotFoundAzure

SubscriptionNotFound: The subscription 'x' could not be found

The subscription ID doesn’t exist in the current tenant or the identity has no access to it.

AADSTS50076Azure

Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required

A Conditional Access policy requires MFA, but the sign-in flow (often a script, legacy client or ROPC password grant) can’t compl…

AADSTS50105Azure

AADSTS50105: Your administrator has configured the application to block users unless they are specifically granted access

The enterprise app requires assignment (“Assignment required? Yes”) and the user isn’t assigned to it, directly or via a group.

Authentication token manipulation errorLinux

passwd: Authentication token manipulation error

passwd couldn’t update the password — the root filesystem is read-only, /etc/shadow has wrong permissions/attributes, or a PAM ru…

Failed to connect to busLinux

Failed to connect to bus: No such file or directory (systemctl --user / timedatectl)

The command needs the D-Bus/systemd bus, which isn’t available in this session — common over su, sudo -u, cron, containers or WSL.

AADSTS90002Azure

AADSTS90002: Tenant 'x' not found

The tenant ID or domain in the authority URL doesn’t exist — or isn’t in the cloud you’re calling (public vs government/China).

AADSTS70021Azure

AADSTS70021: No matching federated identity record found for presented assertion (GitHub Actions / workload identity)

The OIDC token from GitHub Actions/Kubernetes/another IdP doesn’t match any federated credential on the app — issuer, subject or…

Login failed for user '<token-identified principal>'Azure

Azure SQL: Login failed for user '<token-identified principal>' (Microsoft Entra / managed identity)

Entra ID authentication succeeded, but there’s no database user for that identity (or it lacks permission to the database).

Illegal arguments: undefined, stringAuthentication

bcrypt error: Illegal arguments: undefined, string / data and salt arguments required / data and hash arguments required

bcrypt.compare/hash received undefined — the password field or stored hash wasn’t passed.

invalid_tokenAuthentication

invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed)

A token was sent but the server couldn’t verify it — bad signature, malformed, revoked, or issued for another audience or environ…

Please run 'az login'Azure

Azure CLI: Please run 'az login' to setup account / No subscription found

The Azure CLI has no signed-in account (or its token expired), or the account has no subscriptions.

invalid_clientAuthentication

OAuth 2.0 Error: invalid_client

The OAuth server couldn’t authenticate your application — wrong client ID/secret, wrong auth method, or the client doesn’t exist…

Authentication failedGit

fatal: Authentication failed for 'https://github.com/x/y.git/'

HTTPS authentication to the Git host failed — wrong or expired credentials, or a password used where a token is required.

Host key verification failedGit

Host key verification failed. fatal: Could not read from remote repository.

SSH doesn’t trust the server’s host key — first connection in a non-interactive environment, or the key changed.

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

invalid_grantAuthentication

OAuth 2.0 Error: invalid_grant

The authorization code, refresh token or credentials sent to the token endpoint are invalid, expired, already used or were issued…

invalid_api_keyAPI

API Error: Invalid API Key / Incorrect API key provided

The API didn’t recognise the key sent with the request — it’s wrong, revoked, from another environment, or sent in the wrong plac…

EACCESnpm

npm ERR! code EACCES — permission denied

npm can’t write to a directory — usually global installs into a root-owned folder.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

403HTTP

HTTP 403 Forbidden

The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…

CreateContainerConfigErrorKubernetes

Kubernetes: CreateContainerConfigError — secret / configmap not found

Kubernetes can’t build the container’s configuration — usually a referenced Secret, ConfigMap or key doesn’t exist in that namesp…

ResourceInitializationErrorAWS

ECS: ResourceInitializationError: unable to pull secrets or registry auth

Fargate couldn’t fetch the task’s secrets (Secrets Manager/SSM) or registry credentials before starting containers.

SecretNotFoundAzure

Key Vault: (SecretNotFound) A secret with (name/id) x was not found in this key vault

The secret name (or version) doesn’t exist in that vault — typo, wrong vault, or the secret is deleted (soft-deleted).