Skip to content

Commit d42f25d

Browse files
fixes group adding
1 parent 5190635 commit d42f25d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/New-CIPPGroup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function New-CIPPGroup {
184184
GroupId = [string]$GraphRequest.id
185185
DisplayName = [string]$GroupObject.displayName
186186
GroupType = [string]$NormalizedGroupType
187-
Email = [string](if ($NeedsEmail) { $Email } else { '' })
187+
Email = [string]$(if ($NeedsEmail) { $Email } else { '' })
188188
Tenant = [string]$TenantFilter
189189
}
190190
Add-CIPPAzDataTableEntity @GroupCacheTable -Entity $CacheEntity -Force

0 commit comments

Comments
 (0)