Fix SMTP Authentication Error: Federated STS URL Does Not Support HTTPS
Question details
Users cannot authenticate SMTP in a federated Microsoft 365 environment because the system reports the federated STS URL does not support HTTPS.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- Attempting SMTP authentication in a Microsoft 365 environment that is federated with an on-premises gateway like FortiAuthenticator.
- Observed behavior
- SMTP authentication fails entirely, throwing an error that indicates the federated STS URL lacks HTTPS support, usually pointing to a TLS or certificate chain failure.
Ensure you have administrator access to both the Microsoft 365 tenant and your on-premises federation gateway (e.g., FortiAuthenticator) to modify TLS settings and manage SSL certificates.
Verify TLS Protocol Support and Update Certificate Chain
Ensure that your federation gateway server strictly supports TLS 1.2 or higher and has a complete, valid certificate chain for Microsoft 365 communication.
Microsoft 365 enforces strict secure connection standards. If your federation server uses deprecated TLS 1.0 or TLS 1.1, or if it lacks intermediate certificates, Microsoft 365 will reject the HTTPS connection to the STS URL.
Log into your federation gateway server or FortiAuthenticator admin panel and navigate to the SSL/TLS configuration menu.
Confirm that TLS 1.2 or TLS 1.3 is actively enabled, and explicitly disable the deprecated TLS 1.0 and TLS 1.1 protocols.
Inspect the HTTPS binding on the federation server to ensure that the assigned SSL certificate is currently valid and not expired.
Verify that the entire certificate chain, including all required intermediate certificates from your Certificate Authority, is installed so Microsoft 365 can successfully validate the trust path.

Test Microsoft 365 Connection to On-Premises STS
Use official diagnostic tools to validate that Microsoft 365 can successfully reach the on-premises federation service over HTTPS without firewall interference.
Need a Reliable Office Suite? Try WPS Office
While resolving Exchange Server and federation gateway errors requires deep administrative troubleshooting, dealing with your daily document workflows shouldn't be a struggle. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office for your productivity needs.

Frequently Asked Questions
Why does Microsoft 365 require TLS 1.2 for the federated STS URL?
Microsoft has deprecated TLS 1.0 and 1.1 across its cloud services for security reasons. All external connections, including those to on-premises federation gateways, must use TLS 1.2 or higher to establish a secure, trusted HTTPS connection.
How do I fix a broken certificate chain on my federation server?
You need to download the intermediate certificates provided by your Certificate Authority (CA) and import them into your federation server's certificate store alongside your primary SSL certificate. This allows Microsoft 365 to verify the entire trust path back to the root CA.
Can this SMTP authentication error be caused by a network firewall?
Yes. If a perimeter firewall is blocking port 443 (HTTPS) traffic from Microsoft 365 IP addresses, or if it performs deep SSL inspection that alters the certificate chain, the authentication request to the STS URL will fail with an HTTPS support error.




