Why isn’t the Autodiscover function working in Outlook on several client computers?
The Autodiscover function in Outlook is not working on several client computers. At the same time, on the server IIS, only one request comes on port 80, while on working computers multiple requests are made, and one of them successfully returns the configuration. Reinstalling Microsoft Office doesn’t solve the problem. Please advise what to pay attention to when troubleshooting this issue? The problem is observed on a very small number of machines.
Additional information: Normal authorization and configuration retrieval occurs when Outlook tries several combinations of domain/login. The domain for login does not use the user@domain format.
When Outlook’s Autodiscover function doesn’t work on multiple computers and only one request reaches the server instead of multiple, this typically indicates issues with DNS resolution, caching, or specific registry settings on those machines. The main causes may include improper DNS service operation, outdated records in the cache, or blocking of specific Autodiscovery methods through registry parameters that prevent the execution of the full request cycle as it occurs on working computers.
Table of Contents
- Main Causes of Autodiscover Malfunction
- Step-by-Step Troubleshooting
- Specific Settings for Individual Machines
- Methods for Solving Authorization Problems
- Common Troubleshooting Errors
- Additional Recommendations
Main Causes of Autodiscover Malfunction
Outlook uses a multi-step process for finding Autodiscover configuration, which on working machines performs several sequential requests. When only one request comes from problematic computers, it indicates a disruption in this process.
Main factors affecting Autodiscover operation:
- DNS resolution issues: On computers with incorrect DNS settings or cached erroneous records, Outlook may fail to complete the full request cycle
- Blocking of search methods: Certain Autodiscover search methods may be disabled through the registry or group policies
- Conflicts with web servers: External web hosting may respond to Autodiscover requests, leading to authentication errors
- Certificate issues: If outdated or incorrect certificates are installed on the computer, this may block some requests
According to Microsoft documentation, Outlook uses four main methods to find configuration, and if one doesn’t work, it moves to the next. On problematic machines, this process breaks at the first step.
Step-by-Step Troubleshooting
To diagnose Autodiscover issues on individual computers, perform the following steps:
1. Check DNS Records
Ensure that the correct Autodiscover DNS records exist for your domain:
- CNAME record:
autodiscover.yourdomain.comshould point toautodiscover.outlook.com - SRV record:
_autodiscover._tcp.yourdomain.comshould correctly point to the Exchange server
On problematic machines, you can use the nslookup command to check DNS resolution:
nslookup autodiscover.yourdomain.com
nslookup -type=SRV _autodiscover._tcp.yourdomain.com
2. Clear DNS and Winsock Cache
On problematic machines, execute:
ipconfig /flushdns
ipconfig /registerdns
netsh winsock reset
3. Check Autodiscover Log
Enable detailed Autodiscover logging in Outlook through the registry editor:
- Open the registry editor (
regedit) - Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover - Create a
DebugLoggingparameter of type DWORD and set its value to 1 - Start Outlook and check the log files in the
%LOCALAPPDATA%\Microsoft\Outlookfolder
As explained in the AC Brown IT article, the Autodiscover process includes several search stages, and logging will help determine at which stage the failure occurs.
Specific Settings for Individual Machines
Since the issue is observed only on a small number of machines, it’s most likely related to unique settings on these computers.
1. Outlook Registry Settings
Check and, if necessary, modify the following registry parameters:
PreferLocalXML: Allows the use of a local configuration fileExcludeExplicitO365Endpoint: Excludes direct requests to Office 365ExcludeHttpRedirect: Excludes HTTP redirectsExcludeHttpsAutodiscoverDomain: Excludes HTTPS requests to the domain
Important: Registry changes should be made with caution. Before making changes, it’s recommended to create a backup of the registry.
2. Hosts File Modification
If Autodiscover for the domain works correctly but there are issues on specific machines, add an entry to the hosts file:
127.0.0.1 autodiscover.yourdomain.com
This will force Outlook to use the local IP address for Autodiscover requests, as described in the Intermedia article.
3. Disable Add-ins
As noted in the Wondershare article, some add-ins may block Autodiscover operation. To check:
- Start Outlook in safe mode:
outlook /safe - If the problem disappears, disable add-ins one by one to identify the conflicting one
Methods for Solving Authorization Problems
Given that normal authorization occurs when trying several domain/login combinations, attention should be paid to the following aspects:
1. Login Formats
Since the domain doesn’t use the user@domain format for login, ensure that:
- Authentication parameters are correctly configured on problematic machines
- Outlook tries different username formats (DOMAIN\user, user@domain, just user)
- In systems with domain authentication, the correct domain prefix is used
2. Check SCP Records
In hybrid environments, domain-joined machines always use SCP records first, unless they’re disabled through the registry or group policies. Check:
- The presence and correctness of SCP records in DNS
- Registry settings that may block SCP usage
As mentioned in the Reddit discussion, this is especially important in hybrid environments.
3. Manual Testing
Use Microsoft’s test tool to check Autodiscover:
Test-OutlookAutodiscover -EmailAddress user@yourdomain.com -AllowRedirection
Common Troubleshooting Errors
When troubleshooting Autodiscover issues on individual machines, the following errors are often made:
1. Ignoring the Multi-Step Process
Users often don’t consider that Outlook performs up to 10 different Autodiscover search methods. If the issue occurs only on one machine, it means a specific step in this process is not being executed.
2. Incorrect Interpretation of Requests
Only one request arrives at the server instead of several, which may indicate:
- Blocking of additional search methods at the client level
- Network settings issues preventing additional requests
- Caching of the first request’s results
3. Neglecting Registry Settings
As described in the Microsoft article, many registry parameters can affect Autodiscover behavior, and their changes are often overlooked during diagnosis.
Additional Recommendations
To finally resolve the issue on individual machines:
1. Network Diagnostics
Check the network settings of problematic machines:
- Absence of proxy servers blocking additional requests
- Correctness of network adapter configuration
- Absence of firewalls blocking ports
2. Office Updates
Ensure that the latest Office updates are installed on problematic machines, as they may contain fixes for Autodiscover operation.
3. Outlook Profiles
Create a new Outlook profile from scratch using manual configuration instead of Autodiscover, then compare the settings with working machines.
4. Group Policies
Check if there are group policies on problematic machines that restrict Autodiscover operation.
As recommended in the Microsoft Learn article, when diagnosing Autodiscover issues, you should always start by checking basic network connectivity and DNS resolution before moving to more complex settings.
Sources
- Microsoft Learn - Issues when using Autodiscover service
- Microsoft Learn - Autodiscover service in Exchange Server
- AC Brown IT - How Does Autodiscover Work?
- Intermedia - Autodiscover Related Issues
- Wondershare - Fix Outlook Autodiscover Problems
- Microsoft Learn - Unexpected Autodiscover behavior
- Reddit - Hybrid exchange issues with Autodiscover
- Microsoft Learn - Troubleshooting Autodiscover Health Set
Conclusion
When resolving Autodiscover issues on individual computers, attention should be paid to the following key points:
- Diagnosis of the multi-step process: Understanding that Outlook uses up to 10 different search methods and determining at which specific stage the failure occurs
- Checking registry and DNS settings: On problematic machines, certain search methods are often blocked through registry parameters or there is incorrect cached information in DNS
- Authentication formats: Considering that normal operation occurs when trying domain/login combinations, it’s important to check the login format settings
- Looking for specific conflicts: Since the issue affects a small number of machines, the cause is most likely in the unique settings of these computers
For an effective solution, it’s recommended to start with basic network diagnostics, check DNS resolution, and clear the cache, then move to analyzing the registry and disabling conflicting add-ins. If this doesn’t help, consider manually creating a profile by specifying all configuration parameters manually.