Forum Discussion
CloudPasswordPolicyForPasswordSyncedUsersEnabled
For users authenticating through password hash synchronization (PHS), the on-premises Password Never Expires setting does not automatically carry over to Microsoft Entra ID.
Enabling CloudPasswordPolicyForPasswordSyncedUsersEnabled allows the cloud password-expiration policy to apply to those users. If particular users must remain exempt, explicitly set DisablePasswordExpiration on their Entra user accounts.
One timing detail matters: enabling the feature doesn’t immediately clear the existing DisablePasswordExpiration flag from every synchronized user. That change occurs during a subsequent password-hash synchronization, so an unchanged flag immediately after enabling the feature doesn’t prove the on-premises exemption was inherited.
Microsoft documents this under Password hash synchronization — Password expiration policy.
In your scenario, option 2 is the correct approach. Actual expiry also depends on the applicable cloud domain policy; a cloud policy configured never to expire passwords won’t introduce expiration.