Skip to content

Troubleshoot Exchange Online Connector and TLS Failures

Admin
November 20, 2026
5 min read
Intermediate
πŸ’» Target OS: Exchange Online (Microsoft 365)

Before you begin

  • Applies to:Exchange Online tenants with an existing partner, gateway, or hybrid mail route.
  • Where to start:Start in the Exchange admin center. Connect to Exchange Online PowerShell only if using the optional command path.
  • What you need:Have read access to connectors and message trace, access to the other mail system's logs through its owner, and an authorized test recipient.
Guide tools
Guide tools
0/0 Steps (0%)

Troubleshooting Steps

01

Identify which SMTP hop failed

Start here

Record sender, recipient, UTC time, NDR response, and direction relative to Exchange Online. Compare one working recipient or domain. If a gateway or on-premises server appears in the response, ask its owner to find the same SMTP attempt. The remote response text is more specific than the leading status digits alone.

02

Map the trace to the actual route

Where to click

  1. In Exchange admin center, open Mail flow β†’ Message trace.
  2. Then open Mail flow β†’ Connectors and identify the enabled connector for the failing direction.

Open the matching recipient and read the event sequence. Record any mail flow rule that selected a connector or changed the recipient. If the sending system was rejected before Exchange accepted the message, its logs may provide more detail than a missing trace.

03

Capture connector scope and expected TLS identity

Substitute the real connector names. Run only the command for the direction under investigation. On outbound routes, examine smart hosts or MX routing and the policy in TlsSettings. For DomainValidation, compare the expected TlsDomain with the certificate the destination actually presents. For an inbound partner connector, check the configured certificate or source-IP restrictions alongside RequireTls.

Terminal window
Get-OutboundConnector -Identity 'Example outbound' -ErrorAction Stop |
Select-Object Name, Enabled, ConnectorType, RecipientDomains,
SmartHosts, UseMXRecord, TlsSettings, TlsDomain
Get-InboundConnector -Identity 'Example inbound' -ErrorAction Stop |
Select-Object Name, Enabled, ConnectorType, SenderDomains,
SenderIPAddresses, RequireTls, TlsSenderCertificateName,
RestrictDomainsToCertificate, RestrictDomainsToIPAddresses
04

Compare what the receiving server actually saw

Ask the receiving mail owner for the target or source IP, the SMTP response and, where available, the STARTTLS outcome and certificate identity. Check certificate expiry, trust chain, and the expected name for the configured policy. Inspect every backend if a load-balanced gateway only fails intermittently. A successful TCP connection by itself does not verify SMTP or certificate validation.

05

Validate an approved outbound route

Where to click

  1. In Mail flow β†’ Connectors, select the outbound connector and use its Validate option when available.
  2. Enter an approved test recipient and record the validation result.

Where the Exchange admin center offers validation for the connector, use a dedicated recipient at the intended destination. Compare validation with the real failing recipient’s route, scope, and mail flow rules. For inbound flow, have the approved sending system generate a controlled message and correlate logs on both sides.

06

Correct the confirmed failure at its source

If the wrong certificate is presented, have the gateway or hybrid owner deploy or bind the correct certificate through their supported process. If the approved routing configuration drifted, restore the known-good settings through its owner. Capture the previous scope and TLS settings before a change and define the rollback and test recipients.

07

Prove end-to-end recovery

Verify

Send a fresh authorized message along the original route. Match identifiers, timestamps, TLS outcome, and the receiving server’s delivery result. Check a known-good route for regression. If the change affects other domains or fails the TLS check, stop the rollout and restore the prior approved configuration.

Decide What to Do Next

FindingNext action
Connection fails before STARTTLSCheck destination resolution, SMTP availability, and the recorded route with the mail gateway owner.
TLS starts but the certificate fails validationCompare the presented chain, expiry, and identity to the configured policy.
A test address works but the production path failsCompare recipient domain, routing rules, and the connector used for each.

References

Comments