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 mail.company.com
. 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: FirstName.LastName@company.com
I ran through a troubleshooting utility and it looks like Autodiscover is trying to obtain settings from company.com
instead of mail.company.com
. Seeing that company.com
is our web server it is unable to obtain any settings.
I have a SRV
record in our DNS
that points to mail.company.com
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 autodiscover.company.com
. This corrected the issues resolving the name; however, it still isn't working. I have gone through the tests on https://www.testexchangeconnectivity.com
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 "https://mail.company.com/"
For clarification, our Exchange 2013 system is configured as follows:
1 single Server withe a machine name of srvmail.xxx.local
Clients access the system using a host name of mail.company.com.
We have a wildcard SSL certificate for *company.com. That certificate has been successfully applied to the Exchange 2013 server.
Our Email address format is: FirstName.LastName@company.com
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.