Configure Autodiscover DNS During an Exchange Hybrid Migration
Question details
Determine where to point the Autodiscover DNS record during a gradual Exchange hybrid migration.

- Product
- Microsoft Exchange Server and Exchange Online
- Device & OS
- not provided
- Scenario
- Some mailboxes have moved to Exchange Online while others remain on the on-premises Exchange environment.
- Observed behavior
- Autodiscover should provide appropriate client configuration for both migrated and non-migrated users.
Identify the public Autodiscover record for your email domain and the external hostname or IP address used by your on-premises Exchange Client Access endpoint. Confirm that the endpoint is reachable over HTTPS and has an appropriate trusted certificate.
Keep Autodiscover pointed to on-premises Exchange
Use this configuration during a gradual hybrid migration so that on-premises Exchange can direct clients to the appropriate mailbox location.
Open your public DNS provider's management console and locate the A record or CNAME for autodiscover.yourdomain.com.
Confirm that an A record points to the public IP address of the on-premises Exchange Client Access endpoint, or that a CNAME points to its fully qualified hostname.
If the record is incorrectly pointed elsewhere, edit it in the DNS console to use your on-premises endpoint. Do not change it to autodiscover.outlook.com solely because some mailboxes have moved to Exchange Online.
Use nslookup for autodiscover.yourdomain.com to check the public DNS result, then use the Microsoft Remote Connectivity Analyzer to test Autodiscover for representative on-premises and migrated mailboxes.

Organize Your Exchange Migration Plan in WPS Office
WPS Office is a free, lightweight alternative for working with migration plans and checklists. Its familiar interface and Microsoft Office format compatibility make it easy to move existing documents and spreadsheets into your workflow. It does not configure Exchange or fix Autodiscover.

Frequently Asked Questions
Should I point Autodiscover to Exchange Online as soon as I migrate some mailboxes?
Generally, no. During a gradual hybrid migration, keep the public Autodiscover record pointed to the on-premises Exchange Client Access endpoint so it can direct clients to the appropriate mailbox location.
Can I use a CNAME for the Autodiscover record?
Yes. In your public DNS console, configure the Autodiscover CNAME to point to the fully qualified hostname of the on-premises Exchange Client Access endpoint.
How can I test whether Autodiscover is working?
Check the public DNS result with nslookup, then run an Autodiscover test in the Microsoft Remote Connectivity Analyzer for both an on-premises mailbox and a migrated mailbox.
Do internal Outlook clients always use the public Autodiscover record?
No. Domain-joined clients may use an Active Directory service connection point. Check your internal discovery configuration separately if internal and external clients behave differently.




