You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/hybrid/how-to-connect-modify-group-writeback.md
+24-5Lines changed: 24 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ This article walks you through the options for modifying the default behaviors o
28
28
29
29
If the original version of group writeback is already enabled and in use in your environment, all your Microsoft 365 groups have already been written back to Active Directory. Instead of disabling all Microsoft 365 groups, review any use of the previously written-back groups. Disable only those that are no longer needed in on-premises Active Directory.
30
30
31
-
### Disable automatic writeback of all Microsoft 365 groups
31
+
### Disable automatic writeback of new Microsoft 365 groups
32
32
33
33
To configure directory settings to disable automatic writeback of newly created Microsoft 365 groups, use one of these methods:
34
34
@@ -45,13 +45,32 @@ To configure directory settings to disable automatic writeback of newly created
45
45
46
46
- Microsoft Graph: Use the [directorySetting](/graph/api/resources/directorysetting?view=graph-rest-beta&preserve-view=true) resource type.
47
47
48
-
### Disable writeback for each existing Microsoft 365 group
48
+
### Disable writeback for all existing Microsoft 365 group
49
+
50
+
To disable writeback of all Microsoft 365 groups that were created before these modifications, use one of the folowing methods:
49
51
50
52
- Portal: Use the [Microsoft Entra admin portal](../enterprise-users/groups-write-back-portal.md).
51
-
- PowerShell: Use the [Microsoft Identity Tools PowerShell module](https://www.powershellgallery.com/packages/MSIdentityTools/2.0.16). For example:
53
+
- PowerShell: Use the [Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/installation?view=graph-powershell-1.0&preserve-view=true). For example:
54
+
55
+
```PowerShell
56
+
#Import-module
57
+
Import-module Microsoft.Graph
58
+
59
+
#Connect to MgGraph and select the Beta API Version
> We recomend using Microsoft Graph PowerShell SDK with [Windows PowerShell 7](/powershell/scripting/whats-new/migrating-from-windows-powershell-51-to-powershell-7?view=powershell-7.3&preserve-view=true)
0 commit comments