Autodiscover v2 returns InternalURL not ExternalURLs in other site

Applies to: Exchange Server 2019Exchange Server 2016Exchange Server 2013

Symptoms


In a Microsoft Exchange Server deployment, internal URLs are returned by Autodiscover V2 even if your organization is using external URLs. This may prevent Microsoft Teams from synchronizing meeting information and prevents Exchange Online from synchronizing devices using cached Outlook mailboxes.

Cause


This issue is caused by an environment misconfiguration. Different servers may have different URL's to meet site requirements, but all servers internal and external URL's must be configured consistently.

Resolution


Make sure that both internal and external URLs are present and configured consistently on all servers across sites.