File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Conditional Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ function Invoke-ExecCAExclusion {
3535 }
3636
3737 $SecurityGroups = New-GraphGetRequest - uri " https://graph.microsoft.com/beta/groups?`$ select=id,displayName&`$ filter=securityEnabled eq true and mailEnabled eq false&`$ count=true" - tenantid $TenantFilter
38- $VacationGroup = $SecurityGroups | Where-Object { $_.displayName -contains " CIPP- Vacation- $ ( $Policy.displayName ) " }
38+ $VacationGroup = $SecurityGroups | Where-Object { $_.displayName -contains " Vacation Exclusion - $ ( $Policy.displayName ) " }
3939
4040 if (! $VacationGroup ) {
41- Write-Information " Creating vacation group: CIPP- Vacation- $ ( $Policy.displayName ) "
41+ Write-Information " Creating vacation group: Vacation Exclusion - $ ( $Policy.displayName ) "
4242 $Guid = [guid ]::NewGuid().ToString()
4343 $GroupObject = @ {
4444 groupType = ' generic'
45- displayName = " CIPP- Vacation- $ ( $Policy.displayName ) "
45+ displayName = " Vacation Exclusion - $ ( $Policy.displayName ) "
4646 username = " vacation$Guid "
4747 securityEnabled = $true
4848 }
You can’t perform that action at this time.
0 commit comments