Email Migration

Configure Autodiscover DNS During an Exchange Hybrid Migration

John WilsonJohn Wilson Nov 27, 2026 868 views

Question details

Determine where to point the Autodiscover DNS record during a gradual Exchange hybrid migration.

Configure Autodiscover DNS During an 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.
Before you start

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.

Solution 1Recommended

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.

1
Find the public DNS record

Open your public DNS provider's management console and locate the A record or CNAME for autodiscover.yourdomain.com.

2
Check the record target

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.

3
Update only if necessary

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.

4
Verify DNS and client access

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.

Keep Autodiscover pointed to on-premises Exchange
Allow for DNS caching: If you change the record, cached DNS responses may persist until their time-to-live expires. Internal clients may use different discovery paths, including a service connection point.
Free Microsoft Office alternative

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.

Track mailbox migration stages and DNS checks in a spreadsheetOpen and edit Microsoft Word and Excel formats, including DOCX and XLSXUse a familiar interface to work with existing Office filesWork with a free, lightweight office suite
microsoft office alternative - wps office

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.