You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-LogMessage-API 'Standards'-tenant $tenant-message 'Passwordless with Information and Number Matching is already enabled.'-sev Info
43
42
} else {
@@ -52,12 +51,18 @@ function Invoke-CIPPStandardPWdisplayAppInformationRequiredState {
52
51
if ($StateIsCorrect-eq$true) {
53
52
Write-LogMessage-API 'Standards'-tenant $tenant-message 'Passwordless with Information and Number Matching is enabled.'-sev Info
54
53
} else {
55
-
Write-StandardsAlert-message "Passwordless with Information and Number Matching is not enabled"-object $CurrentState-tenant $tenant-standardName 'PWdisplayAppInformationRequiredState'-standardId $Settings.standardId
54
+
Write-StandardsAlert-message 'Passwordless with Information and Number Matching is not enabled'-object $CurrentState-tenant $tenant-standardName 'PWdisplayAppInformationRequiredState'-standardId $Settings.standardId
56
55
Write-LogMessage-API 'Standards'-tenant $tenant-message 'Passwordless with Information and Number Matching is not enabled.'-sev Info
@@ -102,13 +101,20 @@ function Invoke-CIPPStandardRetentionPolicyTag {
102
101
if ($StateIsCorrect-eq$true) {
103
102
Write-LogMessage-API 'Standards'-tenant $Tenant-message 'Retention Policy is enabled'-sev Info
104
103
} else {
105
-
Write-StandardsAlert-message "Retention Policy is not enabled"-object $CurrentState-tenant $Tenant-standardName 'RetentionPolicyTag'-standardId $Settings.standardId
104
+
Write-StandardsAlert-message 'Retention Policy is not enabled'-object $CurrentState-tenant $Tenant-standardName 'RetentionPolicyTag'-standardId $Settings.standardId
106
105
Write-LogMessage-API 'Standards'-tenant $Tenant-message 'Retention Policy is not enabled'-sev Info
Write-LogMessage-API 'Standards'-tenant $Tenant-message "Failed to create Safe Attachment policy: Tenant does not have Microsoft Defender for Office 365 license"-sev Error
166
+
Write-LogMessage-API 'Standards'-tenant $Tenant-message 'Failed to create Safe Attachment policy: Tenant does not have Microsoft Defender for Office 365 license'-sev Error
162
167
}
163
168
164
169
if ($Settings.alert-eq$true) {
165
-
Write-StandardsAlert-message "Safe Attachment Policy is not enabled: Tenant does not have Microsoft Defender for Office 365 license"-object $MDOLicensed-tenant $Tenant-standardName 'SafeAttachmentPolicy'-standardId $Settings.standardId
170
+
Write-StandardsAlert-message 'Safe Attachment Policy is not enabled: Tenant does not have Microsoft Defender for Office 365 license'-object $MDOLicensed-tenant $Tenant-standardName 'SafeAttachmentPolicy'-standardId $Settings.standardId
166
171
Write-LogMessage-API 'Standards'-tenant $Tenant-message 'Safe Attachment Policy is not enabled: Tenant does not have Microsoft Defender for Office 365 license'-sev Info
0 commit comments