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.
Common causes
- 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.
- The sign-in came from an IP address flagged for malicious activity. Microsoft Entra ID can also return this code when it blocks a malicious sign-in based on signals such as IP traffic, regardless of whether the password was correct.
Quick checks
- Open Entra admin center → Entra ID → Monitoring & health → Sign-in logs, find the failed sign-in with error 50053, and copy the Correlation ID, date, and time.
- Read the Failure reason to see which official case it is: IdsLocked (Smart Lockout after too many incorrect username or password attempts) or a block because the sign-in came from an IP address with malicious activity.
- Note the source IP, application, and how many accounts are failing from the same place. A burst can indicate password spray.
- For a Smart Lockout, review Entra ID → Authentication methods → Password protection if you need to see or customize the lockout threshold (Entra ID P1 or higher).
How to fix it
If you are the user
- Wait for the lockout period to end, then sign in with the correct password. The first lockout is typically one minute; repeated failures make the wait longer.
- If self-service password reset is available, use "I forgot my password." Microsoft documents that this resets the lockout counter. Choosing "I know my password" does not.
- If you did not make those failed attempts, contact your admin and treat the password as possibly compromised.
If you are an admin
- In Entra admin center → Entra ID → Monitoring & health → Sign-in logs, open the failed sign-in with error 50053 and read the Failure reason to see whether it is a Smart Lockout or a malicious-IP block. Microsoft's reference lists Cloud Application Administrator as a sufficient role for this.
- For a Smart Lockout, you can unlock the cloud account by resetting the user's password, without waiting for the lockout to expire. Look for password-spray patterns (many accounts, unfamiliar IPs).
- To review or customize Smart Lockout (Entra ID P1 or higher), go to Entra admin center → Entra ID → Authentication methods → Password protection and check the lockout threshold and duration.
- For a malicious-IP failure, investigate the source IP and the account's recent sign-in activity before unblocking or advising the user to retry.
Related Conditional Access / MFA notes
Determine the Failure reason before changing Conditional Access. Smart Lockout is not a Conditional Access policy. A malicious-IP block should be investigated before you tell the user to retry. Related password failures often appear as AADSTS50126. Protect break-glass accounts so a lockout cannot strand the tenant.
When to escalate
Escalate if a privileged or break-glass account is locked, many accounts are locked at once, or you cannot tell a real user from an attack. Include the Failure reason, source IP, Correlation ID, date, and time.
Official references
- Microsoft's AADSTS error code reference (opens in a new tab)
- Official lookup for AADSTS50053 (opens in a new tab)
- Smart Lockout in Microsoft Entra ID (opens in a new tab)