AADSTS50034UserAccountNotFoundFull write-upUser account not found
What it means: The user account isn't in the directory. Usually a typo in the username, or the app sent the user to the wrong tenant.
Likely cause: The username was mistyped, or the account does not exist in this tenant.
Fix: Check the UPN for typos and confirm the user exists (and has synced, if hybrid). If the app targets the wrong tenant, fix the app's tenant/authority setting.
Full write-up for AADSTS50034 → · Official lookup (opens in a new tab)
AADSTS50053IdsLocked / malicious IPFull write-upAccount locked or flagged IP
What it means: Either the account is locked by Smart Lockout after too many bad passwords, or the sign-in came from an IP address flagged for malicious activity.
Likely cause: IdsLocked: Smart Lockout locked the account after too many sign-in attempts with an incorrect username or password. In Azure Public tenants the default is 10 failed attempts, then a one-minute lockout that gets longer if failures continue. Customizing these values requires Microsoft Entra ID P1 or higher.
Fix: Check the sign-in log's failure reason to see which. For lockout, wait for the lockout period or reset the password, and look for password-spray attempts. For a malicious IP, investigate the source.
Full write-up for AADSTS50053 → · Official lookup (opens in a new tab)
AADSTS50057UserDisabledFull write-upUser account disabled
What it means: The user account is disabled.
Likely cause: An administrator disabled the cloud account in Microsoft Entra ID.
Fix: Re-enable the account in Entra (or in on-premises AD for synced users) if access is intended. If it's a leaver, this is working as designed.
Full write-up for AADSTS50057 → · Official lookup (opens in a new tab)
AADSTS50059MissingTenantRealmAndNoUserInformationProvidedNo tenant could be identified from the request or the credentials.
What it means: No tenant could be identified from the request or the credentials.
Likely cause: The request didn’t include enough to find the tenant.
Fix: Have the user sign in with their full work account name; contact the tenant admin if it continues.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS50059 (opens in a new tab)
AADSTS50128Invalid domain nameNo tenant could be worked out from the request or the sign-in name.
What it means: No tenant could be worked out from the request or the sign-in name.
Likely cause: A typo in the domain, or a domain that isn’t registered to any tenant.
Fix: Check the sign-in name and domain; confirm the domain is verified in your tenant.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS50128 (opens in a new tab)
AADSTS50197ConflictingIdentitiesThe user couldn’t be found.
What it means: The user couldn’t be found.
Likely cause: A conflict identifying the user during sign-in.
Fix: Have the user try signing in again.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS50197 (opens in a new tab)
AADSTS51004UserAccountNotInDirectoryThe account doesn’t exist in this tenant.
What it means: The account doesn’t exist in this tenant.
Likely cause: The app chose the wrong tenant, or the user hasn’t been added.
Fix: If the user should have access, add them to the tenant or invite them as a guest.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS51004 (opens in a new tab)
AADSTS90002InvalidTenantNameThe tenant wasn’t found.
What it means: The tenant wasn’t found.
Likely cause: A wrong tenant ID or domain, an unregistered domain, or an app used against the wrong cloud.
Fix: Check the tenant ID or domain used, and that the domain is registered.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS90002 (opens in a new tab)
AADSTS90038NationalCloudTenantRedirectionThe tenant belongs to a different (national) cloud.
What it means: The tenant belongs to a different (national) cloud.
Likely cause: The user or app is signing in through a cloud that doesn’t federate with the tenant’s cloud.
Fix: Use the sign-in endpoint for the cloud the tenant belongs to.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS90038 (opens in a new tab)
No codes on this page match. Try another category above, or the Sign-in Error Decoder.