Smart Lockout Threshold Inconsistency for External Tenant Users

Vaishnavi Mohan 0 Reputation points
2026-11-19T17:15:42.6366667+00:00

I'm seeing inconsistent Smart Lockout behavior in our external tenant. Sometimes the account locks on the 11th consecutive invalid password attempt as expected, but other times it locks only after the 15th attempt. Could you explain why the lockout threshold varies and what factors influence the actual lockout count?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-11-19T17:16:36.4133333+00:00

    The 10-attempt Smart Lockout threshold is not guaranteed to produce a lockout on exactly the 11th submitted password; seeing lockout on the 11th in one test and the 15th in another can be expected because Microsoft Entra counts qualifying failures rather than every raw submission.^1^

    Factors that change the observed count

    • Repeated passwords might not increment the counter. Smart Lockout tracks the last three bad password hashes. Reusing the same incorrect password does not continue incrementing the counter.
    • Familiar and unfamiliar locations have separate counters. Changing the source IP, network, VPN, browser path, or test location can cause attempts to be evaluated against different counters.
    • Datacenter distribution introduces slight variation. Authentication requests can be processed by different Microsoft Entra datacenters. Although lockout state is synchronized, Microsoft states that the total failures permitted can vary slightly from the configured threshold.
    • Other protections can block a sign-in. Microsoft Entra also evaluates IP traffic and anomalous behavior. These controls can return AADSTS50053 regardless of whether the supplied password was valid, so that code alone does not prove the configured Smart Lockout counter was reached.
    • Previous lockouts affect subsequent behavior. After the lockout period expires, another failed sign-in immediately locks the account again, and repeated lockouts increase the lockout duration.
    • Authentication architecture matters. Bad-password hash tracking is unavailable with pass-through authentication because password validation occurs on-premises rather than in the cloud.

    The default for Azure Public tenants is 10 failed attempts with an initial lockout duration of 60 seconds. Smart Lockout is always enabled, but customizing its values requires Microsoft Entra ID P1 or higher.^1^

    Verify the tenant configuration

    Using an account with at least the Authentication Policy Administrator role:

    1. Open the Microsoft Entra admin center.
    2. Go to Entra ID → Authentication methods → Password protection.
    3. Review:
      • Lockout threshold
      • Lockout duration in seconds
    4. Confirm that the external tenant itself is selected in the tenant switcher; settings in the workforce tenant do not establish what is configured in the external tenant.

    Test consistently

    For a controlled test:

    1. Use one user, one client, and one network/IP throughout the test.
    2. Submit a distinctly different incorrect password on each attempt. Do not alternate among only a few passwords or use minor variations.
    3. Avoid changing VPN endpoints or networks during the test.
    4. Record the timestamp and correlation details for each request.
    5. Review the tenant’s sign-in logs and compare the failures around the lockout event.

    A failed sign-in showing AADSTS50053 means the sign-in was blocked, but correlate it with the preceding attempts rather than treating it as proof that exactly ten passwords were counted. Default anomaly protection can produce the same error.^1^

    If these are actually Email One-Time Passcode attempts rather than password attempts, the numeric Smart Lockout threshold does not apply in the same way. External ID OTP validation uses service-side throttling and adaptive abuse protections, for which a fixed per-user attempt threshold is not publicly documented.^2^


    References

    1. Protect user accounts from attacks with Microsoft Entra smart lockout
    2. Smart Lockout for Email OTP validation in Entra External ID - Microsoft Q&A
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.