Cloudpasswordpolicyforpasswordsyncedusersenabled | UHD |
Connect-MgGraph -Scopes "Policy.ReadWrite.AuthenticationMethod" Get-MgPolicyAuthenticationMethodPolicy | Select-Object -ExpandProperty AdditionalProperties
To see if this is currently enabled for your tenant, connect to Microsoft Graph and query the directory settings: cloudpasswordpolicyforpasswordsyncedusersenabled
# Retrieve the policy object $Setting = Get-MgDirectorySetting | Where-Object $_.DisplayName -eq "Password Rule Settings" Connect-MgGraph -Scopes "Policy
For most modern hybrid organizations, enabling CloudPasswordPolicyForPasswordSyncedUsersEnabled is recommended. It provides a consistent experience regarding password expiration in the cloud and ensures that cloud security policies are respected by hybrid identities. cloudpasswordpolicyforpasswordsyncedusersenabled
# Check the value $Setting.Values | Where-Object $_.Name -eq "CloudPasswordPolicyForPasswordSyncedUsersEnabled"
Look for: cloudPasswordPolicyForPasswordSyncedUsersEnabled
This setting cannot be toggled via the standard Admin Center GUI. It must be configured using the .