Skip to content

Commit 0233711

Browse files
authored
Merge pull request #515 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 9194a7e + 98ec939 commit 0233711

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)