Disable group writeback
Important
The public preview of Group Writeback v2 in Microsoft Entra Connect Sync will no longer be available after June 30, 2024. This feature will be discontinued on this date, and you will no longer be supported in Connect Sync to provision cloud security groups to Active Directory. The feature will continue to operate beyond the discontinuation date; however, it will no longer receive support after this date and may cease functioning at any time without notice.
For customers who provision Microsoft 365 groups to Active Directory, you can keep using Group Writeback v1 for this capability.
This article walks you through disabling group writeback in Microsoft Entra Connect.
Disable group writeback by using the wizard
Open the Microsoft Entra Connect wizard and go to the Additional Tasks page. Select the Customize synchronization options task, and then select Next.
On the Optional Features page, clear the checkbox for group writeback. In the warning that groups will be deleted, select Yes.
Important
Disabling group writeback sets the flags for full import and full synchronization in Active Directory Connect to
true
. It will cause any groups that were previously created by this feature to be deleted from your local Active Directory instance in the next synchronization cycle.Select Next.
Select Configure.
Disable or roll back group writeback via PowerShell
Open a PowerShell prompt as an administrator.
Disable the sync scheduler after verifying that no synchronization operations are running:
Set-ADSyncScheduler -SyncCycleEnabled $false
Import the ADSync module:
Import-Module 'C:\Program Files\Azure AD Sync\Bin\ADSync\ADSync.psd1'
Disable the group writeback feature for the tenant:
Set-ADSyncAADCompanyFeature -GroupWritebackV2 $false
Re-enable the sync scheduler:
Set-ADSyncScheduler -SyncCycleEnabled $true