Ideally the modern Outlook setup process uses a DNS CNAME for autodiscover.outlook.com.
Due to changes, out of the hands of my web hosting provider (due to cPanel updates), my DNS record started to produce re-directs, preventing automated setup.
My hosting provider was informative, helpful and accommodating but unfortunately not able to address a cPanel bug (feature?) that might have repercussions for other customers on their shared hosting.
Due to this cPanel bug my DNS record for https://noxcivis.com/autodiscover/autodiscover.xml redirects to https://cpanelemaildiscovery.cpanel.net/autodiscover/autodiscover.xml, at a hosting level, with no possibility for me to override it at DNS or elsewhere.
This results in the following web page being served, at which point Outlook no longer continues to try any other autodiscovery methods and just fails with an error.
To resolve this I performed the following steps…
Add the highlighted registry key, changing the “noxcivis.com” to your domain.
(Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover and value C:\Autodiscover\Autodiscover.xml)
Create the file C:\Autodiscover\Autodiscover.xml with the following contents…
<?xml version=”1.0″ encoding=”utf-8″ ?>
Add an account in Outlook
(After pressing Connect you may get a password prompt to authenticate to Outlook)