How to sync user lockout between local ad and azure ad

Prateep Praritprateepwong 20 Reputation points
2024-09-06T19:47:34.62+00:00

I am using AD Azure Connect to sync user domains from local AD to Azure AD for the purpose of enabling MFA for system login. The local AD has a password policy that locks the user if the password is entered incorrectly more than 5 times. However, I found that the user lockout behavior between local AD and Azure AD is not synchronized as follows:

I have set up user lockout policies on both local AD and Azure AD. If a user enters the wrong password more than 5 times through a web app that authenticates to Azure AD, the user on Azure gets locked, but the local AD user remains active. This allows the user to continue using apps that authenticate to local AD. My expectation is that the user should be locked out on both local AD and Azure AD.

Based on the above information, is it possible to synchronize user lockout between local AD and Azure AD? If so, please recommend the steps and limitations.

Thank you in advance.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Marcin Policht 49,715 Reputation points MVP Volunteer Moderator
    2024-09-07T02:06:25.7666667+00:00

    In short - no. Account lockout is not synchronized from AD to Entra ID.

    If you want AD account lockout to take effect, implement pass-through authentication, rather than authentication via password hash sync

    More at https://learn.microsoft.com/en-us/answers/questions/1702803/user-account-locked-in-ad-on-premise-but-not-locke


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


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.