Last updated on: 2019-03-26
Authored by: Ari Antwine
If you are having issues setting up Microsoft® Exchange mailboxes on your domain in Outlook® 2016 or later, you might be experiencing issues related to your Autodiscover record. This article outlines the symptoms for this problem and suggested solutions.
If Outlook prompts you with the error
cannot connect to server automatically, Outlook is unable to automatically configure an Exchange mail account by using Autodiscover.
When Outlook sends a request to the server for email, it checks for open connections in the following order:
It checks for an internal server on your network.
It checks the website server for the domain and then checks the following URLs:
It checks your Domain Name Service (DNS) for an Autodiscover record.
For Outlook to successfully connect to your Exchange account, it must fail to connect on steps 1 and 2, to proceed to step 3. See Outlook 2016 implementation of Autodiscover to learn more about the full path that Autodiscover takes with Outlook 2016 and later.
To verify that Autodiscover is the root cause of this issue, perform an auto-configuration from the affected computer. You can use this test to confirm that the path that Outlook is taking from your computer to your Exchange server is not obstructed. See Test Autodiscover functionality in Outlook for details about performing the auto-configuration test.
https://autodiscover.yourdomain/autodiscover/autodiscover.xml with your domain, and enter the URLs sequentially into a web browser search bar to test for any of the following errors:
This site can’t be reached: ERR_CONNECTION_TIMED_OUT
Autodiscover and Autoconfig support is disabled.
This site can’t be reached DOMAIN.com took too long to respond.
Important: You must test both URLs for errors because Autodiscover performs a lookup on both of them. Additionally, the errors you can receive that are not the required
404 are not limited to those examples.
When Outlook receives the responses listed above, it has established a connection with that server but does not progress to the server that your Exchange mailbox is hosted on. This situation causes Outlook to produce the error
cannot connect to server automatically. To summarize, Outlook is not able to retrieve your mail because something is blocking its path to your Exchange server.
https://autodiscover.yourdomain/autodiscover/autodiscover.xml must produce a standard
404 error for Autodiscover to establish the correct connection to your Exchange server, which means that Outlook gets no response when Autodiscover attempts a connection to those servers. After you have set up these URLs correctly, the browser says something like
404: this page doesn't exist or
server cannot be found with no additional information on the page. After Autodiscover fails to connect to those servers, it proceeds to the next steps in the process, and then finds the CNAME entry in your public DNS.
To resolve this issue, you must reach out to your website host and request that they configure both
https://autodiscover.yourdomain/autodiscover/autodiscover.xml to produce a
https://autodiscover.yourdomain/autodiscover/autodiscover.xml produce a certificate error, this response also prevents Autodiscover from connecting to your Exchange server. Your website host must address certificate errors.
GoDaddy® cPanel users may see the following error when attempting a connection to
autodiscovery must be provided a valid email address
GoDaddy cPanel customers have resolved this issue by changing their email routing from Local to Remote Mail Exchanger. See the following instructions from GoDaddy to make that change at: Changing your email destination with cpanel Shared Hosting
What does my email have to do with my website or web host?
Why can’t Rackspace do this for me?
I can’t contact my web host currently. How can I just access my email?
Why can’t I just set it up manually, like on Outlook 2013?
©2020 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License