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 {
64
64
$CompareObj = ConvertFrom-Json - ErrorAction SilentlyContinue - InputObject (New-CIPPCATemplate - TenantFilter $tenant - JSON $CheckExististing )
65
65
$Compare = Compare-CIPPIntuneObject - ReferenceObject $policy - DifferenceObject $CompareObj
66
66
if (! $Compare ) {
67
- Set-CIPPStandardsCompareField - FieldName " standards.ConditionalAccessTemplate.$ ( $Setting.value ) " - FieldValue $Compare - Tenant $Tenant
68
- } else {
69
67
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
70
70
}
71
71
}
72
72
}
You can’t perform that action at this time.
0 commit comments