Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-05-30

This topic explains how to use the Exchange Management Shell to configure site affinity for the Autodiscover service on the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed. You can configure the Autodiscover service to use site affinity to specify Active Directory sites that are preferred for clients to connect to a particular instance of the Autodiscover service. For more information about how to use site affinity with the Autodiscover service, see Deployment Considerations for the Autodiscover Service. Configuring the Autodiscover service to use site affinity is achieved by using the Set-ClientAccessServer cmdlet.

Before You Begin

To perform this procedure, the account you use must be delegated the Exchange Server Administrator role and membership in the 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 site affinity for the Autodiscover service

  • Run the following command:

    Copy Code
    Set-ClientAccessServer -Identity "ServerName" -AutodiscoverServiceInternalURI "https://internalsitename/autodiscover/autodiscover.xml" AutodiscoverSiteScope "SiteName"
    

For more information about syntax and parameters, see Set-ClientAccessServer.

For More Information

For more information about the Autodiscover service, see the following topics: