0

I tried running this command to change the destination, but it didn't seem to work. I thought that it might move the existing groups to the new location after the next sync.

$a = Get-ADSyncGlobalSettings
($a.parameters | where {$_.Name -eq "Microsoft.GroupWriteBack.Container"}).Value = "[new destination]"
$a | Set-ADSyncGlobalSettings
pat o.
  • 1,919
  • 1
  • 16
  • 28

1 Answers1

0

In order to change the destination, I had to:

  • Use the Azure AD GUI to disable Group Writeback
  • Allow a sync to happen (existing groups are deleted)
  • Re-enable Group Writeback and update the destination
  • Allow a sync to happen (groups are recreated in the new location)
pat o.
  • 1,919
  • 1
  • 16
  • 28