Skip to content

Commit e089c36

Browse files
(Azure CXP) Technical Doc update2
Updated Line 96 to include correct updated steps. To enable the EnforceCloudPasswordPolicyForPasswordSyncedUsers feature, run the following command using the MSOnline PowerShell module as shown below. You would have to type yes for the Enable parameter as shown below : ``` `Set-MsolDirSyncFeature -Feature EnforceCloudPasswordPolicyForPasswordSyncedUsers` `cmdlet Set-MsolDirSyncFeature at command pipeline position 1` `Supply values for the following parameters:` `Enable: yes` `Confirm` `Continue with this operation?` `[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y` ``` ------- cc: @billmath
1 parent 6140925 commit e089c36

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

articles/active-directory/hybrid/how-to-connect-password-hash-synchronization.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,16 @@ When *EnforceCloudPasswordPolicyForPasswordSyncedUsers* is disabled (which is th
9393
`(Get-AzureADUser -objectID <User Object ID>).passwordpolicies`
9494

9595

96-
To enable the EnforceCloudPasswordPolicyForPasswordSyncedUsers feature, run the following command using the MSOnline PowerShell module:
97-
98-
`Set-MsolDirSyncFeature -Feature EnforceCloudPasswordPolicyForPasswordSyncedUsers -Enable $true`
96+
To enable the EnforceCloudPasswordPolicyForPasswordSyncedUsers feature, run the following command using the MSOnline PowerShell module as shown below. You would have to type yes for the Enable parameter as shown below :
97+
```
98+
`Set-MsolDirSyncFeature -Feature EnforceCloudPasswordPolicyForPasswordSyncedUsers`
99+
`cmdlet Set-MsolDirSyncFeature at command pipeline position 1`
100+
`Supply values for the following parameters:`
101+
`Enable: yes`
102+
`Confirm`
103+
`Continue with this operation?`
104+
`[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y`
105+
```
99106

100107
Once enabled, Azure AD does not go to each synchronized user to remove the `DisablePasswordExpiration` value from the PasswordPolicies attribute. Instead, the value is set to `None` during the next password sync for each user when they next change their password in on-premises AD. 
101108

0 commit comments

Comments
 (0)