Install Microsoft.Graph.Identity.DirectoryManagement module
hth
Marcin
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm unable to run the command for
EnforceCloudPasswordPolicyForPasswordSyncedUsers
Getting this Error PFA.
$OnPremSync = Get-MgDirectoryOnPremiseSynchronization
$OnPremSync.Features.CloudPasswordPolicyForPasswordSyncedUsersEnabled = $true
Update-MgDirectoryOnPremiseSynchronization `
-OnPremisesDirectorySynchronizationId $OnPremSync.Id `
-Features $OnPremSync.Features
Install Microsoft.Graph.Identity.DirectoryManagement module
hth
Marcin