File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Modules/CIPPCore/Public/Standards Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ function Invoke-CIPPStandardConditionalAccessTemplate {
6464 $CompareObj = ConvertFrom-Json - ErrorAction SilentlyContinue - InputObject (New-CIPPCATemplate - TenantFilter $tenant - JSON $CheckExististing )
6565 $Compare = Compare-CIPPIntuneObject - ReferenceObject $policy - DifferenceObject $CompareObj
6666 if (! $Compare ) {
67- Set-CIPPStandardsCompareField - FieldName " standards.ConditionalAccessTemplate.$ ( $Setting.value ) " - FieldValue $Compare - Tenant $Tenant
68- } else {
6967 Set-CIPPStandardsCompareField - FieldName " standards.ConditionalAccessTemplate.$ ( $Setting.value ) " - FieldValue $true - Tenant $Tenant
68+ } else {
69+ Set-CIPPStandardsCompareField - FieldName " standards.ConditionalAccessTemplate.$ ( $Setting.value ) " - FieldValue $Compare - Tenant $Tenant
7070 }
7171 }
7272 }
You can’t perform that action at this time.
0 commit comments