Skip to content

Commit 98ec939

Browse files
author
rvdwegen
committed
Fix edit tenant group
1 parent 5d27fd0 commit 98ec939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecTenantGroup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function Invoke-ExecTenantGroup {
3535
if ($groupDescription) {
3636
$GroupEntity.Description = $groupDescription
3737
}
38-
$GroupEntity.GroupType = $groupType
38+
$GroupEntity | Add-Member -NotePropertyName 'GroupType' -NotePropertyValue $groupType -Force
3939
if ($groupType -eq 'dynamic' -and $dynamicRules) {
4040
$GroupEntity.DynamicRules = "$($dynamicRules | ConvertTo-Json -depth 100 -Compress)"
4141
$GroupEntity | Add-Member -NotePropertyName 'RuleLogic' -NotePropertyValue $ruleLogic -Force

0 commit comments

Comments
 (0)