Symptoms: Outlook shows Disconnected, Trying to connect… or asks for a password again and again, while the same mailbox works in a web browser.
If the browser (Outlook on the web) does not work either, the problem is the server or the account, not Outlook.
Likely causes
- Autodiscover DNS is missing or points to the wrong place.
- The virtual directory URLs on the Exchange server are wrong.
- Authentication is turned off or set the wrong way.
- A damaged Outlook profile, or an expired certificate.
1. Quick checks on the computer
- Restart Outlook, then the computer.
- Hold Ctrl and right-click the Outlook icon in the system tray, and choose Test E-mail AutoConfiguration. It shows which URL Outlook used and where it failed.
- Create a new Outlook profile (Control Panel → Mail → Show Profiles → Add). If the new profile connects, the old one is damaged.
2. Check Autodiscover in DNS
Outlook looks for autodiscover.yourdomain.com. It must point to your public IP address (or be a CNAME to your mail server's name). Check from any computer:
nslookup autodiscover.yourdomain.com
An older style is an SRV record _autodiscover._tcp.yourdomain.com.
3. Test on the Exchange server (Exchange Management Shell)
Test-OutlookConnectivity -RunFromServerDirectly -ProbeIdentity OutlookMapiHttpSelfTestProbe
Test-OutlookWebServices -Identity user@yourdomain.com | Format-List
Read the failing line: it names the URL or the authentication method that does not work.
4. Reset the Autodiscover virtual directory
If the URLs are wrong:
Get-AutodiscoverVirtualDirectory | Format-List Identity, InternalUrl, ExternalUrl
Reset-AutodiscoverVirtualDirectory -Identity "SERVER\Autodiscover (Default Web Site)"
Replace SERVER with your server name. Resetting returns the directory to its default settings, so check the result and the other virtual directories (OWA, EWS, MAPI, OAB) and their URLs too.
5. Check the certificate
The certificate must be valid and include autodiscover.yourdomain.com and your mail name. An expired or mismatched certificate causes constant sign-in prompts.
Still stuck? Open a ticket and tell us whether the web browser works and what Test E-mail AutoConfiguration shows.