Configure Exchange Online Autodiscover DNS for Outlook
Question details
An administrator needs to configure Outlook clients and Autodiscover DNS for a custom domain during an Exchange Online migration.

- Product
- Microsoft Exchange Online and Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Migrating Exchange 2007 mailboxes to Exchange Online and planning Outlook profile configuration for a custom domain.
- Observed behavior
- The administrator needs the correct Autodiscover DNS target, guidance on internal and external DNS, and an alternative to specifying an Exchange Online server name in a PRF file.
Identify the custom email domain, its public DNS provider, and any internal DNS zone that serves the same domain. Check the migration plan before changing Autodiscover, especially if some mailboxes are still on-premises.
Create the Exchange Online Autodiscover DNS record
Use this setup to direct Autodiscover requests for the custom domain to Exchange Online when the migration plan calls for the change.
Sign in to the DNS provider hosting the custom domain and open its DNS records or zone editor.
Create a CNAME with the host or alias autodiscover and the target autodiscover.outlook.com. For example, autodiscover.abc.com points to autodiscover.outlook.com.
If internal clients use a separate DNS zone for the domain, open that zone in your internal DNS manager and configure the corresponding Autodiscover record when required by your migration design.
Use a DNS lookup tool such as nslookup to check autodiscover.abc.com from external and relevant internal networks. Then add the account in a supported Outlook client and test automatic configuration.

Configure Outlook without a hard-coded Exchange Online server
Use Autodiscover instead of a PRF file that requires a fixed Exchange server name.
Work with Office documents in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for an easier transition. It does not configure Exchange Online DNS or replace the Outlook Autodiscover setup.

Frequently Asked Questions
What is the Autodiscover record for a custom domain?
Create a CNAME for autodiscover.yourdomain.com that points to autodiscover.outlook.com when your migration plan calls for directing Autodiscover to Exchange Online.
Do I need to add the record to internal DNS too?
If internal clients use a separate DNS zone for the custom domain, check that zone in your internal DNS manager. Add the corresponding record when required so internal clients receive the intended Autodiscover result.
Can I put an Exchange Online server name in an Outlook PRF file?
Do not hard-code an Exchange Online server name in a PRF file. Server identifiers can vary by user and change over time; use Autodiscover to configure a supported Outlook client instead.
Does Outlook 2007 work with Exchange Online Autodiscover?
Outlook 2007 supports Autodiscover, but it is no longer supported for Exchange Online and does not meet current authentication requirements. Upgrade to a supported Outlook version before connecting.
When should I change Autodiscover during a migration?
Follow the guidance for your migration method. If mailboxes remain on-premises, changing the record prematurely can affect discovery for those users, so check the coexistence design before updating DNS.




