Skip to content

Commit 6f02a54

Browse files
authored
Merge pull request #13857 from b00walk/patch-1
Update manage-creation-of-groups.md
2 parents 7d3a715 + 074544d commit 6f02a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microsoft-365/solutions/manage-creation-of-groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ if(!$settingsObjectID)
136136
}
137137
138138
139-
$groupId = (Get-MgBetaGroup | Where-object {$_.displayname -eq $GroupName}).Id
139+
$groupId = (Get-MgBetaGroup -all | Where-object {$_.displayname -eq $GroupName}).Id
140140
141141
$params = @{
142142
templateId = "62375ab9-6b52-47ed-826b-58e47e0e304b"

0 commit comments

Comments
 (0)