Fix Certificate Validation Failures on an Exchange Edge Server Sending to Office 365
Question details
Identify why a certificate validation failure is preventing an on-premises Exchange Edge server from delivering queued mail to Office 365.

- Product
- Microsoft Exchange Server Edge Transport and Office 365
- Device & OS
- not provided
- Scenario
- An on-premises Exchange Edge server sends outbound mail to Office 365 using a third-party SSL certificate.
- Observed behavior
- Outgoing messages remain queued on the Edge server after a certificate validation failure.
Have administrative access to the Edge server and Exchange Management Shell, and identify the affected queue and destination domain. Determine whether the organization uses Exchange hybrid mail flow or a non-hybrid connector.
Identify the certificate error and affected mail route
Use queue details and delivery tests to determine which certificate and connection are failing.
On the Edge server, open Exchange Management Shell and run Get-Queue | Format-List Identity,Status,MessageCount,NextHopDomain,LastError. Record the complete LastError for the affected queue.
Run Get-ExchangeCertificate | Format-List Thumbprint,Subject,CertificateDomains,NotAfter,Services,Status. Check the expiration date, subject names, and SMTP service assignment for the certificate used by the relevant connection.
Run Get-SendConnector | Format-List Name,AddressSpaces,SmartHosts,DNSRoutingEnabled,RequireTLS,TlsAuthLevel,TlsCertificateName,Fqdn. Compare the connector's route and TLS settings with the reported error and your intended mail flow.
Send a test message from on-premises Exchange to Office 365 and another mail system. If available, also test delivery from another mail server to Office 365. Note which paths fail and capture their errors.

Correct the certificate chain or connector mismatch
Apply the relevant correction after the error identifies a trust, certificate, TLS, or routing issue.
Use WPS Office to Document Exchange Mail-Flow Troubleshooting
WPS Office is a free, lightweight Office alternative with a familiar interface for creating troubleshooting notes and tracking mail-flow tests. Its Microsoft Office format compatibility helps you move existing documents into your workflow. It does not repair Exchange certificates or connectors.

Frequently Asked Questions
How can I see why mail is queued on the Edge server?
In Exchange Management Shell, run Get-Queue | Format-List Identity,Status,MessageCount,NextHopDomain,LastError. Review the complete LastError for the affected destination.
How do I check whether the Edge certificate is assigned to SMTP?
Run Get-ExchangeCertificate | Format-List Thumbprint,Subject,CertificateDomains,NotAfter,Services,Status in Exchange Management Shell. Check the Services field for SMTP and compare the certificate with the connector configuration.
Can a missing intermediate certificate cause validation to fail?
Yes. Open the relevant certificate and inspect its Certification Path. If an intermediate is missing, obtain it from the issuing certificate authority and install it in the appropriate Intermediate Certification Authorities store.
Where can I check the Microsoft 365 connector used for on-premises mail?
In the Microsoft 365 Exchange admin center, open Mail flow > Connectors. Review the connector's authentication and certificate requirements against the Edge server's settings.
Does the failed certificate always belong to the Edge server?
No. A validation error can involve a certificate presented by the remote endpoint or one presented by the Edge server. Use the complete queue error and connection details to identify the failing side.




