File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ function New-CIPPCAPolicy {
230
230
# Send request to disable security defaults.
231
231
$body = ' { "isEnabled": false }'
232
232
$null = New-GraphPostRequest - tenantid $tenant - Uri ' https://graph.microsoft.com/beta/policies/identitySecurityDefaultsEnforcementPolicy' - Type patch - Body $body - ContentType ' application/json'
233
- Write-LogMessage - Headers $User - API $APINAME - tenant $ ($Tenant ) - message " Disabled Security Defaults for tenant $ ( $TenantFilter ) " - Sev ' Info'
233
+ Write-LogMessage - Headers $User - API ' Create CA Policy ' - tenant $ ($Tenant ) - message " Disabled Security Defaults for tenant $ ( $TenantFilter ) " - Sev ' Info'
234
234
Start-Sleep 3
235
235
}
236
236
$RawJSON = ConvertTo-Json - InputObject $JSONObj - Depth 10 - Compress
You can’t perform that action at this time.
0 commit comments