How to Configure Autodiscover for Exchange ActiveSync
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
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.
Note
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.
Before You Begin
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.
Procedure
To use the Exchange Management Shell to configure Autodiscover in Exchange ActiveSync
Run one of the following commands:
Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL "https://servername.com/Microsoft-Server-ActiveSync"
or
Set-ActiveSyncVirtualDirectory -Identity "COMPUTERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ActiveSyncServer "https://servername.com/"
For more information about syntax and parameters, see Set-ActiveSyncVirtualDirectory.
For More Information
For more information about Autodiscover, see Managing the Autodiscover Service.