Fix: Test-ModernAuthExchangeOnline and add notes.

This commit is contained in:
DrIOS
2024-04-02 10:32:19 -05:00
parent 690b1c4667
commit a2020ff5ce
7 changed files with 120 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ function Test-ModernAuthExchangeOnline {
$auditResults.IG2 = $true # As per CIS Control v8 mapping for IG2
$auditResults.IG3 = $true # As per CIS Control v8 mapping for IG3
$auditResults.ELevel = "E3" # Based on your environment (E3, E5, etc.)
$auditResults.Profile = "L1"
$auditResults.ProfileLevel = "L1"
$auditResults.Rec = "6.5.1"
$auditResults.RecDescription = "Ensure modern authentication for Exchange Online is enabled (Automated)"
$auditResults.Result = $orgConfig.OAuth2ClientProfileEnabled