Autodiscover Not Working For Setting up Office 365 Account

Aftab Alam Aftab Alam Updated On - 31 Jul 2019

When you try to configure a new account of Office 365 in MS Outlook, then the profile is not created automatically. You may face some errors during the setup, like the following one.
Autodiscover cannot process the given e-mail address. Only mailboxes and contacts are allowed.
The cause of the error is following –

  • The email address which you are using for Auto Account Setup is wrong.
  • The updates necessary for the Exchange Online (Office 365) is not installed on MS Outlook you are using.
  • Some essential attributes like proxyAddress, displayName, mailNickname, and the Mail are not set up in the on-premises Active Directory.
  • The CNAME record is not set up correctly, or it is not existing
  • Apart from these errors, you can get multiple symptoms related to the auto to discover issue –

  • Outlook will not connect to the mailbox.
  • Public folders are not accessible.
  • Auto-mapping within a shared mailbox does not work.
  • Sharing invitation will not work.
  • Calendar entries issues.

Verify the Auto discover not working issue

Auto discover is an advantageous feature which lets the user account automatically connect to the Exchange Online. The user profile is automatically configured and requires the least assistance from the user. If you are facing the auto discover error, then you can check the status of the autodiscover using the PowerShell command or MS Outlook.

Using Exchange PowerShell.

Run the following command –
Test-OutlookWebServices -identity: –MailboxCredential (Get-Credential)
The command will check the health of auto discover feature and bring a list of all the related services like – availability service, offline address book, and unified messaging.

Using Outlook

  1. Go to the Outlook application in the application menu, right-click it, and select the option ‘Test Email AutoConfiguration.’
  2. Input the user credentials, check the option of ‘User Autodiscover,’ and click the Test button.
  3. The system will check the connection and provide a ‘succeeded’ message on a clean connection.

Both the methods to check the Autodiscover are quite remarkable. They both tell about the health of Autodiscover, and it is imperative in case of an error or corruption.

Troubleshoot the Autodiscover not working problem.

An administrator can try multiple methods to diagnose and troubleshoot to remove the error related to the autodiscover feature. Let’s see some useful techniques one by one –

  1. CNAME DNS record

    Use the Autodiscover URL and check whether it is working –
    You can visit the URL by logging in to the Outlook Web Apps if the error returns the ErrorCode 600, then you can go ahead to add the CNAME record to the external DNS.

    • Name: autodiscover
    • TTL: 3600
    • RR Type: CNAME
    • Value:
  2. SRV DNS Record
    The second method is to use the SRV DNS record to make the autodiscover feature useful again.

    • Name: _autodiscover._tcp
    • TTL: 3600
    • RR Type: SRV
    • Value: 0 443
  3. XML redirect on root domain

Put the XML redirect file on the web server of the hosting domain. You need to restore autodiscover XML file to the web server hosting to your website.

After placing the file, you can check the auto discover using the MS Remote Connectivity Analyzer.

All the three methods require only some changes in the hosting web server and the autodiscover may start working again.

Many Office 365 users face Auto discover issues after migration to Office 365. Such issues can be fixed by following the above methods. However, if they are facing issues related to migration itself, they can try a professional Office 365 migration tool. Kernel Migrator for Exchange is one such tool which can put you at ease during any Exchange or Office 365 migration.


Kernel Migrator for Exchange saves your time and energy which can be drained in the manual migration. Exchange Migration tool also protects your mailboxes and their data from any possible errors.

Download Now