Create a gist now

Instantly share code, notes, and snippets.

Enable AAD Connect Password Writeback
Import-Module ADSync
$connector = (Get-ADSyncConnector | Where-Object {$_.Name -ilike "*AAD"}).Name
Get-ADSyncAADPasswordResetConfiguration -Connector $connector
Set-ADSyncAADPasswordResetConfiguration -Connector $connector -Enable:$true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment