2

When settings up a new mobile device to sync with an exchange server, it seems to prompt for an e-mail address and password and tries to detect the server settings on its own. Is there a protocol that it uses to do this... and if so where can I find more information about this?

Brett G
  • 2,033
  • 2
  • 28
  • 45

1 Answers1

7

This only works with Exchange 2007 and its called the Autodiscover Service. Basically you need to create an SRV DNS record for your email domain name, that points back to your external facing Exchange server, which will have the autodiscover.xml file configured.

You will also need an SSL certificate on your server from an authority that is trusted by your mobile device, e.g. Verisign. You could use a self issued certificate but you would then have to install it on the mobile device before running the setup wizard, which kind of defeats the purpose.

The SRV record should look something like this:

_autodiscover._tcp IN SRV 0 0 443 owa.mydomain.com 

Then Outlook 2007 SP1+ and Windows Mobile 6.1 can autoconfigure with just an email address and password.

Microsoft whitepaper on the Exchange Autodiscover Service.

JS.
  • 3,901
  • 22
  • 18
  • It looks like autodiscover only works with Windows Mobile 6.1 and later. Do you know how the pre-autodiscovery phones did their "auto configuration"? – Brett G Aug 20 '09 at 15:02
  • I belive this only worked for a few well known email providers, like gmail and hotmail. http://blogs.msdn.com/outlook_mobile/archive/2008/04/14/faq-gmail.aspx – JS. Aug 20 '09 at 15:38
  • Good call... I read somewhere else that microsoft had a 3rd party database with a list of settings for major providers – Brett G Aug 20 '09 at 21:09