Best practices for enabling autodiscovery

When you enable autodiscovery to automatically discover the Microsoft Exchange ActiveSync server in your environment, consider the following guidelines:

  • Make sure that Microsoft Exchange Autodiscover is set up correctly. For more information, see the Microsoft documentation for Microsoft Exchange.
  • In an on-premises Microsoft Exchange environment: 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 an on-premises environment that includes mixed Microsoft Exchange Server versions: Make sure that the autodiscover URL routes to the highest version of the CAS servers.
  • In a Microsoft Exchange Online environment: the autodiscover URLs are typically managed by Microsoft, however if your environment migrated your domain to Microsoft Exchange Online, make sure that the domain autodiscover URL routes to Microsoft'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.<domain>/autodiscover/autodiscover.xml or https://autodiscover.<domain>/autodiscover/autodiscover.svc to https://autodiscover-s.outlook.com.
  • In a hybrid environment: User mailboxes can exist on an on-premises Microsoft Exchange Server or Microsoft Exchange Online. Make sure that the autodiscover URL routes to the on-premises Microsoft Exchange Server.
Note: 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.