AADSTS50057 🔷 Azure

AADSTS50057: The user account is disabled

The account exists but is blocked from signing in.

Seen on: Azure

Meaning

Admins disable accounts for leavers, security incidents or license changes. Synced accounts are disabled when disabled in on-premises AD.

Common causes

  • Account blocked in Entra ID
  • Disabled in on-prem AD and synced
  • Service account disabled by policy

⚡ Quick fix

  1. Re-enable the account (Block sign-in = No) if appropriate
  2. Enable in on-prem AD and sync
  3. Use a different, active account

Detailed fix by platform

Azure CLI

  1. az ad user update --id user@contoso.com --account-enabled true

How to diagnose

  1. Status — accountEnabled
  2. Source — Cloud or synced?

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