question

DannyDias-3836 avatar image
0 Votes"
DannyDias-3836 asked ·

The password has expired. Update your password and try again

Hello,

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?

azure-active-directoryazure-ad-connectazure-ad-domain-services
· 3
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI Danny,

im not sure if you have figured this out, but the way i sorted this was simply login to login.microsoftonline.com then sign in with the user you have created, it will then take you to a screen where it says you need to the change the password, change the password then, on Azure Connect AD try the credentials you have created.

I cant believe it was this simple too! i was stumped for hours, or it at least felt like haha.

Hope this helps

Blessed

Lee

2 Votes 2 ·

@DannyDias-3836

Good morning, did you manage to solve this problem?
I am facing the same problem.

0 Votes 0 ·

Hi folks,

I have been working on this holiday. Finally, I found a solution but this will not work for practice. I mean if you are in the learning stage like me you won't be able to sign with this solution. Because you need a mobile authentication.

I hope this solution works for a real-time purpose only.

After creating a user in AAD, go to the user, and select multi-factor authentication.
Then you'll be opening a new tab where you can enable multi-factor authentication.
Then while you configuring ADC after giving the credentials you will be asked to verify using multi-factor authentication
14105-adc.jpg

That's it there you go.


0 Votes 0 ·
adc.jpg (113.4 KiB)

1 Answer

MarileeTurscak avatar image
0 Votes"
MarileeTurscak answered ·

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

· 2 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MarileeTurscak
I can't execute this command, could you help me?
I am getting the error when I try.

0 Votes 0 ·

just go to login.micosoftonline.com , use the credentials you have created, then it will ask you to change the password, then on the server through connect AD use the credentials you have just created. BOOM! :D

Hope that helps

1 Vote 1 ·