Exchange 2013 Autodiscover

We are trying to get autodicsover to work with Mobile devices and tablets that use Activesync.  Autodiscover is currently working with Outlook clients; however, the settings will not auto provision on Activesync devices.  Unfortunately, I have been unable to find documentation that clearly explains the process.  

Our setup is described below:
The name that clients use to access the system is  When a user enters their email address and password into the mobile device it doesn't populate any of the settings.  Our email addresses are setup as follows:

I ran through a troubleshooting utility and it looks like Autodiscover is trying to obtain settings from instead of  Seeing that is our web server it is unable to obtain any settings.  

I have a SRV record in our DNS that points to At first, I was receiving a message stating that there were issues resolving this address I also added an A record into our DNS for  This corrected the issues resolving the name; however, it still isn't working.  I have gone through the tests on to determine the steps that are failing.  

I have also tried setting the url by entering the following command:
Set-ActiveSyncVirtualDirectory -Identity "SRVMAIL\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL ""

For clarification, our Exchange 2013 system is configured as follows:
1 single Server withe a machine name of
Clients access the system using a host name of
We have a wildcard SSL certificate for * That certificate has been successfully applied to the Exchange 2013 server.
Our Email address format is:
Our AD username format is: First Initial + Last Name.  For example: jsmith

Lastly, I'm wondering if autodiscover will be able to pull the correct username from AD as our user names are comprised of the first initial and last name which doesn't match the email address.  (jsmith)  I assume yes; however, I would like clarification on this if possible.  

Please advise...
Who is Participating?
Simon Butler (Sembee)Connect With a Mentor ConsultantCommented:
You will find that Autodiscover with mobile devices is very hit and miss, more miss than hit in my experience. That is a fault with the mobile device suppliers and their implementation of ActiveSync.

From memory with Android (I am a Blackberry specialist, so don't do much with Android) the email address is initially populated, then it gets corrected by Autodiscover.

Unfortuantely your best option is to tell users how to do it manually, or at least have those instructions. Autodiscover for ActiveSync is a nice idea, but let down by its implementation.

Simon Butler (Sembee)ConsultantCommented:
To answer the easy question - Autodiscover will find everything from just the email address and the password.

Autodiscover with mobile devices is very hit and miss, because it depends on the implementation of ActiveSync by the device supplier.
SRV records I find are not reliable for mobile devices, so I would remove those and switch to A record exclusively. You are using a wildcard certificate so it should work fine.

Autodiscover goes through a number of URLs, one of which is the root of the domain. As long as there isn't a /Autodiscover directory on the root, it should fail and move on to the next one, which will be

Sort out your DNS to begin with, and check whether there is something in the root. Check it on - as your web host might be hosting something on SSL.

netmaster3620Author Commented:

Thank you for your response.  With the A Record setup, I tested Autodiscover from the following address:

The Autodiscover test completed successfully; however, I noticed that the server name, user name, and domain are not being filled in.  On Android devices, it assumes the username is the same as the email address and it automatically fills in this information.  (For Example: \FirstName.LastName)  On iOS devices it is simply blank.  

Below are the results from the test that I ran on the above mentioned web site.  

ExRCA is attempting to retrieve an XML Autodiscover response from URL for user
       The Autodiscover XML response was successfully retrieved.
      Additional Details
       Autodiscover Account Settings
XML response:
<?xml version="1.0"?>
<Autodiscover xmlns:xsd="" xmlns:xsi="" xmlns="">
<Response xmlns="">
<DisplayName>UsersLastName, UsersFirstName</DisplayName>
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.