AADSTS50057: the user account is disabled
Likely causes
- The account was disabled as part of offboarding.
- The account was disabled on purpose during a security investigation.
- Hybrid: the account is disabled in on-premises Active Directory, and that synced up.
- A new account was created in a disabled state and never turned on.
How to fix it
- Check with your manager or HR process before turning the account back on. Disabled accounts are often disabled for a reason.
- Cloud-only accounts: an admin turns on Account enabled in the user’s properties in the Entra admin center, or unblocks sign-in for the user in the Microsoft 365 admin center.
- Synced accounts: enable the account in on-premises Active Directory, then wait for the next sync or run
Start-ADSyncSyncCycle -PolicyType Deltaon the Entra Connect server. - If the account was disabled during a security incident, reset the password before enabling it.
Checked against: learn.microsoft.com, learn.microsoft.com