How to unlock a user in Azure AD

Mahesh C M 151 Reputation points
2020-10-03T11:50:57.707+00:00

How to unlock a user in azure ad using the graph api. I did not seen any solution in Microsoft Learn. Is there any solution available to do this.

I really appreciate any help :)

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,495 questions
{count} votes

Accepted answer
  1. soumi-MSFT 11,716 Reputation points Microsoft Employee
    2020-10-03T12:15:33.503+00:00

    Hi @Mahesh C M , thank you for reaching out. Unfortunately, there is no way to unlock a user account. You can check the following document https://learn.microsoft.com/en-us/azure/active-directory/active-directory-passwords-policy for details the how-to account lockout duration is calculated by default.
    If the user is aa synced user, synced from on-prem AD, then the unlock policy configured on on-prem AD would take effect.

    If smart lockout policies are configured, the user remains locked based on the lockout duration specified in https://learn.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-pass-through-authentication-smart-lockout.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful