Share via


Configure the Autodiscover Service for Multiple Forests

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

You can use the Shell to configure the Autodiscover service when your Microsoft Exchange deployment has two or more trusted forests.

To configure the Autodiscover service when your deployment has two or more trusted forests, you must update Active Directory so that users who are running Microsoft Office Outlook 2007 or Outlook 2010 in one forest can access the Client Access servers in the remote (or target) forest to use the Autodiscover service. To do this, you run the Export-AutodiscoverConfig cmdlet in each forest that contains the Client Access servers that provide the Autodiscover service against the target forests. This configures the service connection point (SCP) information for the Autodiscover pointer in Active Directory.

Looking for other management tasks related to the Autodiscover service? Check out Managing the Autodiscover Service.

Use the Shell to configure the Autodiscover service for multiple forests

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Autodiscover service virtual directory settings" entry in the Client Access Permissions topic.

The procedures in the following examples must be performed on an Exchange 2010 Client Access server in the source forest.

This example retrieves the credentials from the Client Access server in the target forest. Use the target server's credentials to run the cmdlet Export-AutodiscoverConfig.

$a = Get-Credential

This example updates a service connection point for an Autodiscover service pointer on the Client Access server in the source forest for the target Exchange forest.

Export-AutoDiscoverConfig -DomainController <FQDN> -TargetForestDomainController <String> -TargetForestCredential $a -MultipleExchangeDeployments $true

For more information about syntax and parameters, see Export-AutoDiscoverConfig.

Other Tasks

After you configure the Autodiscover service for multiple forests, you may also want to:

 © 2010 Microsoft Corporation. All rights reserved.