Fix Outlook Cannot Connect to Exchange Online on Windows Server
Question details
Users are unable to open Outlook or connect to Exchange Online from a Windows Server 2019 terminal server.

- Product
- Microsoft Outlook
- Device & OS
- Windows Server 2019
- Scenario
- Accessing Exchange Online via Outlook on a hosted terminal server.
- Observed behavior
- Outlook fails to connect or open due to an autodiscover problem, despite local computers connecting successfully.
Verify that your local computers can successfully connect to Exchange Online to confirm the issue is isolated strictly to the terminal server environment.
Seek Specialized Support from the Microsoft Q&A Community
Since this is an advanced server-specific autodiscover issue, escalating to Exchange specialists is the most effective approach.
When standard troubleshooting steps like profile recreation, Office reinstallation, DNS flushing, and firewall checks fail on a hosted terminal server, the problem often lies in complex Autodiscover routing or Active Directory configurations. The Microsoft Q&A community has dedicated engineers who can analyze your specific server setup.
Navigate to the official Microsoft Q&A community website in your web browser.
When creating your post, apply both the 'Outlook' and 'Exchange Online' tags to ensure it reaches the right specialists.
Include your diagnostic results, server configuration (e.g., OVH hosted), affected user count, and state clearly that local computers can connect without issues.

Exclude SCP Lookup in the Registry
Force Outlook to bypass the Service Connection Point (SCP) lookup to speed up or fix Autodiscover resolution.
Switch to WPS Office for a Hassle-Free Desktop Experience
Dealing with complex Windows Server and Exchange configurations can be frustrating. Try WPS Office as a free, lightweight alternative. It offers powerful document creation capabilities without the heavy backend connectivity requirements.
- 1. Download: Visit the official WPS Office website and download the installation file.
- 2. Install: Run the installer and follow the straightforward on-screen instructions.
- 3. Start Creating: Launch WPS Office and immediately begin working on your documents, spreadsheets, and presentations.

Frequently Asked Questions
Why does Outlook connect on local computers but not on the Windows terminal server?
Terminal servers often have distinct DNS routing, stricter firewall rules, or Active Directory Service Connection Point (SCP) configurations that can misdirect or block Exchange Online autodiscover requests, whereas local computers usually rely on standard DNS.
Can I use the Microsoft Support and Recovery Assistant (SaRA) on Windows Server?
Yes, running the SaRA tool on the affected Windows Server can help diagnose specific Outlook profile failures and provide detailed logs for connectivity issues.
What is an Autodiscover problem in Outlook?
Autodiscover is an Exchange service that automatically configures user profiles. When it fails, Outlook cannot locate the server settings required to connect to the mailbox, leading to connection and login errors.




