How to Configure the Autodiscover Service for Multiple Forests

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

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.

Procedure

To use the Exchange Management Shell to configure the Autodiscover service for multiple forests

  1. 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
    
  2. 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.

For More Information

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