How do I unlock Azure AD accounts via PowerShell

Cedric Abraham 0 Reputation points

How do I unlock Azure AD accounts via PowerShell, when a users resets their local AD account, their AzureAD account gets locked, this is only happening to a few of our users

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,630 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zunhui Han 640 Reputation points Microsoft Vendor

    Hi Cedric Abraham,

    Thank you for posting in Q&A forum.

    Unfortunately, there is no way to unlock a user account. You can check the following document

    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

    I hope the information above is helpful.

    Best regards



    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments