Outlook Autodiscover connecting to local Exchange Server Instead of Office 365
I have recently performed a migration to Office 365, when trying to setup Outlook on one of my local machines it kept connecting to my local on-premises exchange server instead of using the DNS records for my domain. This is due to the fact that Outlook Autodiscover tries to connect using Service Connection Point (SCP) before using the Autodiscover DNS records for the domain. I have resolved this by adding my Office 365 DNS records in to my local DNS server, I have also had to add the following registry entry on the specific client machine to bypass Service Connection Point.
Note – Always remember to backup the registry to make sure you can revert the changes if required.
Outlook 2016 –
Add DWORD – ExcludeScpLookup
Value Data – 1
The machine will now use the Autodiscover DNS records that I configured earlier on my local DNS server.