Skip to content

Commit c31b6ad

Browse files
authored
Merge pull request #299 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 19b0684 + 2414906 commit c31b6ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ function Invoke-AddGroupTemplate {
2424
'*generic*' { 'generic' }
2525
'*mail*' { 'mailenabledsecurity' }
2626
'*Distribution*' { 'distribution' }
27+
'*security*' { 'security' }
2728
default { $Request.Body.groupType }
2829
}
30+
if ($Request.body.membershipRules) { $groupType = 'dynamic' }
2931
$object = [PSCustomObject]@{
3032
displayName = $Request.Body.displayName
3133
description = $Request.Body.description

0 commit comments

Comments
 (0)