Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-07-23
You can use the Autodiscover service to provision mobile phones for users. The Autodiscover service returns an XML file that's used to provision a user's phone when the user's e-mail address and password are supplied. The Autodiscover service returns the address to a Microsoft Exchange Server 2010 Client Access server. By default, the Autodiscover service is enabled. You can use the Shell to enable the Autodiscover service in Microsoft Exchange ActiveSync.
|The ability to use the Autodiscover service depends on the mobile phone operating system that you're using. Not all mobile phone operating systems that support synchronization with Exchange 2010 support Autodiscover. For more information about mobile phone operating systems that support Autodiscover, contact the manufacturer of your mobile phone.|
Looking for other management tasks related to the Autodiscover service? Check out Managing the Autodiscover Service.
Use the Shell to configure the Autodiscover service in Exchange ActiveSync
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Client Access Server settings" entry in the Client Access Permissions topic.
This example configures the Autodiscover service and sets the ExternalURL property.
Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL "https://servername.com/"
This example configures the Exchange ActiveSync server property on the Client Access server.
Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ActiveSyncServer "https://servername.com/"
For more information about syntax and parameters, see Set-ActiveSyncVirtualDirectory.