← cd ~/errors
// entra id sign-in error · accounts, passwords and sessions
AADSTS50034
UserAccountNotFound
What it means
The account doesn't exist in the directory.
How to fix it
Check for a typo in the username, or a missing or wrong UPN suffix.
How to investigate
- Confirm which account the user actually signed in with. A personal account or the wrong tenant causes many of these.
- Check the user object: enabled, licensed, in the right tenant, and with no recent password change or reset.
- Look at the sign-in logs over a few days for a pattern, such as repeated failures from one IP address.
- Search the sign-in logs for the request ID or correlation ID from the troubleshooting details on the error page.
Tools that help
Error names and meanings follow Microsoft's error code reference. The fixes are this site's guidance.