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 "Failed to set transport configuration message expiration to 12 hours. Error: $ErrorMessage"-sev Debug
19
+
}
20
+
}
21
+
22
+
}
23
+
if ($Settings.alert) {
24
+
if ($MessageExpiration-ne'12:00:00') {
25
+
Write-LogMessage-API 'Standards'-tenant $tenant-message 'Transport configuration message expiration is set to 12 hours'-sev Info
26
+
} else {
27
+
Write-LogMessage-API 'Standards'-tenant $tenant-message 'Transport configuration message expiration is not set to 12 hours'-sev Alert
28
+
}
29
+
}
30
+
if ($Settings.report) {
31
+
if ($MessageExpiration-ne'12:00:00') { $MessageExpiration=$false } else { $MessageExpiration=$true }
0 commit comments