Forum Discussion

Jente Paredis's avatar
Jente Paredis
Copper Contributor
Aug 08, 2017

unexpected behavior with set-msoluserpassword pertaining to synced identities

All,

While testing new Office 365 features for a customer of  mine, I came across the following situation, which kind of puzzles me.

 

My test tenant has synchronized users from my Domain Controller.

Password synchronization is enabled. 

Password writeback is not enabled on AAD Connect.

My users are able to sign in and to use O365 services.

 

However, when I use Set-MSOLUserPassword to reset the password of a user that is synchronized from my On-premises Active Directory, the password is reset for Office 365 services.

I would expect the reset password to fail because of the fact the identity is synced from on-premises AD.

 

Can anyone tell me why this password is indeed being reset instead of throwing an error? Because now we end up in the situation that a user has a different password for O365 and for On premises.

 

Kind regards,

Jente Paredis

 

Share