The password has expired. Update your password and try again

Danny Dias 1 Reputation point Microsoft Employee


Having this weird behavior. I just created a user in Azure, with Global Administrator Rights and Source is Azure Active Directory, set a new password (Since it's a new user).

While trying to install Azure Active Directory Connect, in the "Connect to Azure AD" step, i'm getting the following error message:

The password has expired. Update your password and try again

How can the password be expired if it's a brand new user created in Azure? What am i missing?

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

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 35,616 Reputation points Microsoft Employee

    Is it sign-in error code 50126?

    If you just created the user it's possible that this is because it generated a temporary password that you would need to change.

    Your AAD domain may also have a password expiry policy in place, in which case you could disable this policy: Set-MsolUser -UserPrincipalName -PasswordNeverExpires $true