How to Configure Autodiscover for Exchange ActiveSync
Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2008-03-04
Microsoft Exchange Server 2007 introduces a new service that makes it easier to provision devices for end users. The Autodiscover service provisions a user's device when the user's e-mail address and password are supplied. The Autodiscover service returns the address to a computer that is running Exchange 2007 that has the Client Access server role installed. By default, the Autodiscover service is enabled. This topic explains how to use the Exchange Management Shell to enable the Autodiscover service in Microsoft Exchange ActiveSync. You cannot configure the Autodiscover service for Exchange ActiveSync by using the Exchange Management Console.
|The ability to use Autodiscover depends on the mobile device operating system that you are using. Not all mobile device operating systems that support synchronization with Exchange Server 2007 support Autodiscover. For more information about operating systems that support Autodiscover, contact the manufacturer of your device.|
To perform this procedure, the account you use must be delegated the following:
Exchange Server Administrator role and local Administrators group for the target server
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
Run one of the following commands:
Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL "https://servername.com/Microsoft-Server-ActiveSync"
Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ActiveSyncServer "https://servername.com/"
For more information about syntax and parameters, see Set-ActiveSyncVirtualDirectory.