Перейти к содержанию

Cloudpasswordpolicyforpasswordsyncedusersenabled

. This occurs because Entra ID assumes the on-premises directory is the source of truth for password aging and rotation. Enabling this feature shifts that behavior, allowing the cloud to enforce its own password expiration policy on those synchronized accounts. Microsoft Learn +2 Key Effects of Enabling the Feature Enforcement of Cloud Expiration

If the setting returns False or is not present, you can enable it using PowerShell:

In this legacy state:

This setting cannot be toggled via the standard Admin Center GUI. It must be configured using the .

Connect-MgGraph -Scopes "Policy.ReadWrite.AuthenticationMethod" Get-MgPolicyAuthenticationMethodPolicy | Select-Object -ExpandProperty AdditionalProperties cloudpasswordpolicyforpasswordsyncedusersenabled

By default, a strange spell hung over the cloud city. Whenever a villager’s password traveled from the old world to the cloud via , the city guards would stamp it with a mark: DisablePasswordExpiration . This meant that while the village elders back home forced everyone to change their passwords every 90 days, the cloud city never asked for a new one. A villager could have a password decades old in the cloud, even if it had expired a dozen times back in the village.

When a user changes their password on-premises, a hash is instantly synchronized to the cloud. Microsoft Learn +2 Key Effects of Enabling the

Suddenly, the air shifted. The DisablePasswordExpiration stamps began to fade. Now, the cloud city would finally listen to its own rules. If the cloud policy said a password was too old, it would challenge the user, even if the sync from the village hadn't reached them yet.