Solution:
Root Cause: AutoDiscover XML Query Timeout on Root Domain Web Servers
When Outlook loads a profile, it queries the Exchange AutoDiscover service to locate mailboxes. The default AutoDiscover lookup order forces Outlook to test multiple endpoints sequentially: 1) SCP (Active Directory), 2) HTTPS Root Domain (
https://domain.com/Autodiscover), 3) HTTPS AutoDiscover Domain (
https://autodiscover.domain.com), 4) HTTP Local Redirect. If a company's web hosting server at
https://domain.com drops AutoDiscover requests silently without returning an error, Outlook waits for full TCP timeouts (up to 30 seconds per hop), locking profile initialization.
Diagnostic Verification:
Test AutoDiscover endpoints via PowerShell: Test-NetConnection -ComputerName "domain.com" -Port 443
If the connection succeeds but does not host AutoDiscover XML services, Outlook is stalling on root domain queries.Step-by-Step Fix:
1Configure Registry to Exclude Root Domain AutoDiscover Lookup:
Press Win + R, type regedit, and navigate to: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
2Add Exclusion DWORD Keys:
Create DWORD (32-bit) ExcludeHttpsRootDomain and set Value data to 1.Create DWORD (32-bit) ExcludeHttpRedirect and set Value data to 0 (or 1 if redirection is unused).For pure Microsoft 365 cloud environments, add DWORD ExcludeExplicitO365Endpoint set to 0 and ExcludeScpLookup set to 1 (if no on-prem Exchange exists).3Relaunch Outlook to test direct Microsoft 365 AutoDiscover routing.
Prevention & Long-Term Monitoring:
Ensure public DNS records contain proper CNAME entries pointing autodiscover.yourdomain.com to autodiscover.outlook.com.