title | description | author | manager | ms.service | ms.topic | ms.date | ms.subservice | ms.author |
---|---|---|---|---|---|---|---|---|
Disable group writeback in Microsoft Entra Connect |
This article describes how to disable group writeback in Microsoft Entra Connect by using the wizard and PowerShell. |
billmath |
amycolannino |
entra-id |
how-to |
11/06/2023 |
hybrid-connect |
billmath |
[!INCLUDE deprecation]
This article walks you through disabling group writeback in Microsoft Entra Connect.
-
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.
-
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\Microsoft 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