Azure AD b2c smart lockout not working

mandar Jogalekar 36 Reputation points
2022-04-11T11:48:36.653+00:00

I am using azure ad b2c standard sign in user flow. In Authentication methods, I have configured a password protection.

191896-image.png

However in the user flow, i Notice the behaviour is random. Sometimes even after entering 6-7 wrong passwords, the account does not get lockout message.

Not really sure how to troubleshoot ?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} vote

Accepted answer
  1. AmanpreetSingh-MSFT 56,876 Reputation points Moderator
    2022-04-11T12:01:07.693+00:00

    Hi @mandar Jogalekar • Thank you for reaching out.

    Azure AD B2C uses Smart Lockout, which is different than the traditional account lockout.

    When smart lockout locks a user account, we try our best to not lock out the genuine user. However, using smart lockout doesn't guarantee that a genuine user is never locked out. The lockout service attempts to ensure that bad actors can't gain access to a genuine user account. Below considerations are applied:

    1. Each Azure AD data center tracks lockout independently. A user has (threshold_limit * datacenter_count) number of attempts if the user hits each data center.
    2. Smart Lockout uses familiar location vs unfamiliar location to differentiate between a bad actor and a genuine user. Unfamiliar and familiar locations both have separate lockout counters.

    So, when you set the Lockout Threshold to 5, it doesn't necessarily lock the account after 5 invalid attempts. This makes testing smart lockout a bit difficult and it is not as straightforward as testing the traditional account lockout settings.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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