Skip to content

Commit 24b1b6e

Browse files
authored
Merge pull request #67509 from JeremyTBradshaw/patch-4
Drawing attention to -ADObjectDN parameter.
2 parents 96ecb2b + a48f87f commit 24b1b6e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/active-directory/hybrid/how-to-connect-group-writeback.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ To enable group writeback, use the following steps:
4242
```Powershell
4343
$AzureADConnectSWritebackAccountDN = <MSOL_ account DN>
4444
Import-Module "C:\Program Files\Microsoft Azure Active Directory Connect\AdSyncConfig\AdSyncConfig.psm1"
45+
46+
# To grant the <MSOL_account> permission to all domains in the forest:
4547
Set-ADSyncUnifiedGroupWritebackPermissions -ADConnectorAccountDN $AzureADConnectSWritebackAccountDN
48+
49+
# To grant the <MSOL_account> permission to specific OU (eg. the OU chosen to writeback Office 365 Groups to):
50+
$GroupWritebackOU = <DN of OU where groups are to be written back to>
51+
Set-ADSyncUnifiedGroupWritebackPermissions -ADConnectorAccountDN $AzureADConnectSWritebackAccountDN -ADObjectDN $GroupWritebackOU
4652
```
4753

4854
For additional information on configuring the Microsoft 365 groups see [Configure Microsoft 365 Groups with on-premises Exchange hybrid](/exchange/hybrid-deployment/set-up-microsoft-365-groups#enable-group-writeback-in-azure-ad-connect).
@@ -65,4 +71,4 @@ To disable Group Writeback, use the following steps:
6571
> Disabling Group Writeback will set the Full Import and Full Synchronization flags to 'true' on the Azure Active Directory Connector, causing the rule changes to propagate through on the next synchronization cycle, deleting the groups that were previously written back to your Active Directory.
6672
6773
## Next steps
68-
Learn more about [Integrating your on-premises identities with Azure Active Directory](whatis-hybrid-identity.md).
74+
Learn more about [Integrating your on-premises identities with Azure Active Directory](whatis-hybrid-identity.md).

0 commit comments

Comments
 (0)