Export (0) Print
Expand All

How to Configure the Autodiscover Service for Cross Forest Moves

 

Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007

Topic Last Modified: 2007-01-09

This topic explains how to use the Exchange Management Shell to configure your Microsoft Exchange deployment to handle mailboxes that are moved from one forest to another for the Autodiscover service.

For a cross-forest mailbox move, the two forests must be trusted. For the Autodiscover service to handle this move, you must configure a mail contact in the original forest where the user's mailbox resided.

When you configure a mail contact, the user will authenticate to the original forest where the mailbox resided, and the user will receive a redirect that uses the new e-mail address. The client will then try to contact the Autodiscover service by using the new e-mail address against the new forest.

For example, mail1.contoso.com and mail2.contoso.com are separate, trusted forests and the mailbox for a user is kwekua@mail1.contoso.com. This user originally resided in the forest named mail1.contoso.com and was moved to the forest named mail2.contoso.com.

For this example, you have to set a contact in mail1.contoso.com by using the following command in the Exchange Management Shell:

New-MailContact -ExternalEmailAddress 'SMTP:kwekua@mail2.contoso.com' -Name 'Kweku Ako Adjei' -Alias 'kwekua' -OrganizationalUnit 'mail1.contoso.com/Users' -FirstName 'Kweku' -Initials '' -LastName 'Ako Adjei'

After you configure the contact, when the user connects to mail1.contoso.com and uses the mail1.contoso.com credentials, the following request is sent to the Outlook 2007 client:

<?xml version="1.0" encoding="utf-8" ?>\r\n

<Autodiscover xmlns="http://schemas.contoso.com/exchange/autodiscover/outlook/requestschema/2006">\r\n

<Request>\r\n

<EMailAddress>kwekua@mail1.contoso.com</EMailAddress>\r\n

<AcceptableResponseSchema>http://schemas.contoso.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>\r\n

</Request>\r\n

</Autodiscover>

The Outlook 2007 client will receive the following redirect response from mail1.contoso.com:

<?xml version="1.0" encoding="utf-8"?>\r\n

<Autodiscover xmlns="http://schemas.contoso.com/exchange/autodiscover/responseschema/2006"><Response xmlns="http://schemas.contoso.com/exchange/autodiscover/outlook/responseschema/2006a">\r\n

<Account>\r\n

<Action>redirectAddr</Action>\r\n

<RedirectAddr>kwekua@mail2.contoso.com</RedirectAddr>\r\n

</Account>\r\n

</Response></Autodiscover>

The user will then be able to connect to the Autodiscover service by using this new e-mail address in the mail2.contoso.com forest.

To perform the following procedures, 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 Microsoft Exchange Server 2007, see Permission Considerations.

  • Run the following command:

    New-MailContact -ExternalEmailAddress 'SMTP:kwekua@mail2.contoso.com' -Name 'Kweku Ako Adjei' -Alias 'kwekua' -OrganizationalUnit 'mail1.contoso.com/Users' -FirstName 'Kweku' -Initials '' -LastName 'Ako Adjei'
    

For more information about syntax and parameters, see New-MailContact.

To ensure that you are reading the most up-to-date information and to find additional Exchange Server 2007 documentation, visit the Exchange Server TechCenter.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft