Best practice: Enabling autodiscovery
When you enable autodiscovery to automatically discover the
Microsoft Exchange ActiveSync
server in your environment, consider the following guidelines:- Make sure thatMicrosoft ExchangeAutodiscover is set up correctly. For more information, see theMicrosoftdocumentation forMicrosoft Exchange.
- In aMicrosoft Exchangeenvironment: Make sure that the autodiscover URL routes to one of the Exchange client access server (CAS) servers. If your environment uses a load balancer, make sure that the Auto Discover URL routes to the load balancer and then route it to your group of CAS servers.
- In a mixedMicrosoft Exchangeenvironment (for example,Microsoft Exchange Server2016 and 2019) environment: Make sure that the autodiscover URL routes to the latest version of the CAS servers (for example, theMicrosoft Exchange Server2019).
- In a cloud-basedMicrosoft Exchangeenvironment: the autodiscover URLs are typically managed byMicrosoft, however if your environment migrated your domain to a cloud-basedMicrosoft Exchange, make sure that the domain autodiscover URL routes toMicrosoft's autodiscover URL (for example, https://autodiscover-s.outlook.com). In the DNS admin portal, make sure a CNAME record is created and that it redirects https://autodiscover.<mydomain>/autodiscover/autodiscover.xml to https://autodiscover-s.outlook.com.
- In a cloud-basedMicrosoft Exchangehybrid environment: mailboxes can exist in both on-premisesMicrosoft Exchangeand cloud-basedMicrosoft Exchange. Make sure that the autodiscover URL routes to the on-premisesMicrosoft Exchange Server.
All autodiscover URLs must be whitelisted on
BlackBerry UEM
. For more information on how to use third-party tools to test autodiscover, see KB 40351.