Skip to content

Commit 25ea673

Browse files
committed
Fix duplicate graph request in group add
1 parent b7d1f66 commit 25ea673

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Groups

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Groups/Invoke-AddGroup.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ Function Invoke-AddGroup {
6565
}
6666
$GraphRequest = New-ExoRequest -tenantid $tenant -cmdlet 'New-DistributionGroup' -cmdParams $params
6767
}
68-
$GraphRequest = New-ExoRequest -tenantid $tenant -cmdlet 'New-DistributionGroup' -cmdParams $params
6968
# At some point add logic to use AddOwner/AddMember for New-DistributionGroup, but idk how we're going to brr that - rvdwegen
7069
}
7170
"Successfully created group $($groupobj.displayname) for $($tenant)"

0 commit comments

Comments
 (0)