AADSTS50034 🔷 Azure

AADSTS50034: The user account does not exist in the directory

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

Seen on: Azure

Meaning

Often a typo, a UPN that differs from the email, an account created in a different tenant, or a user deleted/not yet synced from on-premises AD.

Common causes

  • Typo or using email instead of UPN
  • User in another tenant
  • User deleted or not yet synced (Entra Connect)
  • Personal account used for a work-only app

⚡ Quick fix

  1. Check the user’s UPN in Entra ID
  2. Wait for/force directory sync
  3. Use the right account/tenant

Detailed fix by platform

Azure CLI

  1. az ad user show --id user@contoso.com --query userPrincipalName

How to diagnose

  1. User — Exists in this tenant?
  2. UPN — Matches what was typed?
  3. Sync — Last sync time

🔧 Still not fixed?

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

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