Skip to content

Commit a20131f

Browse files
authored
Merge pull request #101683 from shashishailaj/patch-75
(Azure CXP) Technical Doc update2
2 parents 6140925 + e089c36 commit a20131f

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)