Exchange Connection Problems

Fix HTTP 503 Error During Exchange Autodiscover Testing

Rana GarciaRana Garcia Nov 2, 2026 868 views

Question details

Microsoft Connectivity Analyzer returns an HTTP 503 error during Autodiscover testing, indicating the federated security token service URL lacks HTTPS.

Fix HTTP 503 Error During Exchange Autodiscover Testing
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.
Before you start

Ensure you have administrator access to the internal Exchange or hybrid server and are familiar with running Exchange Management Shell commands.

Solution 1Recommended

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.

1
Open Exchange Management Shell

Log in to your internal Exchange or hybrid server as an administrator and launch the Exchange Management Shell.

2
Run Get-ExchangeCertificate

Execute the command 'Get-ExchangeCertificate' to retrieve a list of all installed certificates and their associated thumbprints.

3
Verify certificate validity and assignment

Check the expiration dates and confirm that the required certificate is valid, trusted, and correctly assigned to the appropriate services (such as IIS).

4
Install replacement certificate if necessary

If the SSL certificate is missing or invalid, use the 'Import-ExchangeCertificate' cmdlet to install a new valid certificate.

5
Ensure HTTPS for federated STS URL

Verify that your federated Security Token Service (STS) URL is explicitly secured using HTTPS.

Missing Certificates in Exchange Online: If you are running a hybrid environment and cannot find the relevant SSL certificate locations in Exchange Online, remember that the certificate causing this 503 error is typically located on the internal on-premises hybrid server.
Free Microsoft Office alternative

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.

Highly compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Familiar user interface reduces training time and allows for seamless migration.Lightweight installation saves system resources, ideal for complex IT setups.Built-in PDF editor and comprehensive collaboration tools at no extra cost.
QA img-9

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.