Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2008-04-08
This topic explains how to use the Exchange Management Shell to configure the Autodiscover service when your Exchange deployment has two or more trusted forests.
If your Exchange deployment has two or more trusted forests, you must update the Active Directory directory service so that users who are running Microsoft Office Outlook 2007 in one forest can access the Client Access servers in the remote (or target) forest to use the Autodiscover service. To do this, run the Export-AutodiscoverConfig cmdlet in each forest that contains the Client Access servers that are providing the Autodiscover service against the target forests. This will configure the service connection point (SCP) information for the Autodiscover pointer in Active Directory.
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.
To use the Exchange Management Shell to configure the Autodiscover service for multiple forests
On an Exchange 2007 Client Access server in the source forest, run the following command to retrieve the credentials that you will use to run the Export-AutodiscoverConfig cmdlet:
$a = Get-Credential
On an Exchange 2007 Client Access server in the source forest, run the following command:
Export-AutoDiscoverConfig -DomainController <FQDN> -TargetForestDomainController <String> -TargetForestCredential $a -MultipleExchangeDeployments $true
For more information about syntax and parameters, see Export-AutoDiscoverConfig.