Fix HTTP 503 Error During Exchange Autodiscover Testing
Question details
Microsoft Connectivity Analyzer returns an HTTP 503 error during Autodiscover testing, indicating the federated security token service URL lacks HTTPS.

- Product
- Microsoft Exchange Server
- Device & OS
- not provided
- Scenario
- Running Exchange Autodiscover tests using the Microsoft Connectivity Analyzer or configuring Application Impersonation.
- Observed behavior
- The test fails with an HTTP 503 error, reporting that the federated security token service (STS) URL is not secured with HTTPS, and Application Impersonation may stop functioning.
Ensure you have administrator access to the internal Exchange or hybrid server and are familiar with running Exchange Management Shell commands.
Verify and Update Exchange Server Certificates
Check if a required SSL certificate has been removed or expired, and reassign it to the correct services to resolve the 503 error.
This error typically occurs when a required SSL certificate is missing, expired, or not correctly bound to the Exchange backend services. Using the Exchange Management Shell will allow you to diagnose and re-import the necessary certificates.
Log in to your internal Exchange or hybrid server as an administrator and launch the Exchange Management Shell.
Execute the command 'Get-ExchangeCertificate' to retrieve a list of all installed certificates and their associated thumbprints.
Check the expiration dates and confirm that the required certificate is valid, trusted, and correctly assigned to the appropriate services (such as IIS).
If the SSL certificate is missing or invalid, use the 'Import-ExchangeCertificate' cmdlet to install a new valid certificate.
Verify that your federated Security Token Service (STS) URL is explicitly secured using HTTPS.
Try WPS Office as a Lightweight Desktop Alternative
While resolving Microsoft Exchange server connectivity and certificate issues, consider WPS Office for your organization's document management. It offers a free, lightweight suite with excellent compatibility, a familiar interface, and seamless migration.

Frequently Asked Questions
What causes an HTTP 503 error during Exchange Autodiscover?
This error typically occurs when a required SSL certificate has expired, been removed, or is not correctly assigned to Exchange services, preventing secure HTTPS connections from succeeding.
Why is Application Impersonation failing alongside the 503 error?
Application Impersonation relies on secure communication and correct security tokens. If the federated STS URL is not secured with a valid HTTPS certificate, backend authentication processes like impersonation will fail.
Where can I check the certificates in Exchange Online?
For hybrid environments, the certificate causing the 503 error in this scenario is usually located on the internal on-premises Exchange or hybrid server, rather than directly in the Exchange Online portal.
What is the federated STS URL?
The Security Token Service (STS) URL handles authentication tokens for federated sharing. It must be secured with HTTPS using a trusted SSL certificate for hybrid features to function properly.




