Skip to content

Commit

Permalink
Merge pull request #2000 from microsoft/dpaul-ExoConnector
Browse files Browse the repository at this point in the history
TlsDomain only needs to be set if TlsAuthLevel is set to DomainValidation
  • Loading branch information
dpaulson45 authored Feb 15, 2024
2 parents bee6c20 + 5b22735 commit 39a6b4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ function Invoke-AnalyzerFrequentConfigurationIssues {
$showMoreInfo = $true
}

if ($connector.TlsDomain -ne "mail.protection.outlook.com") {
if ($connector.TlsDomain -ne "mail.protection.outlook.com" -and
$connector.TlsAuthLevel -eq "DomainValidation") {
$params = $baseParams + @{
Name = "Send Connector - $($connector.Identity.ToString())"
Details = "TLSDomain not set to mail.protection.outlook.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Describe "Testing Health Checker by Mock Data Imports" {
TestObjectMatch "Open Relay Wild Card Domain" "Not Set"
TestObjectMatch "EXO Connector Present" "True" # Custom EXO Connector with no TlsDomain TlsAuthLevel

$Script:ActiveGrouping.Count | Should -Be 14
$Script:ActiveGrouping.Count | Should -Be 13
}

It "Display Results - Security Settings" {
Expand Down
2 changes: 1 addition & 1 deletion docs/Diagnostics/HealthChecker/ExoConnectorCheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ These are now being flagged as an issue due to some recent changes within Exchan
Some additional configuration concerns are also warned about if one of the following is true:

- TLSAuthLevel is not set to `CertificateValidation` or `DomainValidation`
- TLSDomain is not set to `mail.protection.outlook.com`
- TLSDomain is not set to `mail.protection.outlook.com` if TLSAuthLevel is set to `DomainValidation`

## Included in HTML Report?

Expand Down

0 comments on commit 39a6b4f

Please sign in to comment.