Skip to content

Instantly share code, notes, and snippets.

@chrisbrownie
Last active February 1, 2017 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisbrownie/440cf9cb0b2d2409335836fee23188d4 to your computer and use it in GitHub Desktop.
Save chrisbrownie/440cf9cb0b2d2409335836fee23188d4 to your computer and use it in GitHub Desktop.
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