When we move user mailboxes across Forests, there are certain tasks that we need to perform to make sure that users will be able to use the Autodiscover service after mailboxes have been moved from one forest to another. We will discuss the configuration required for Autodiscover Service for Cross Forest Moves. What is involved in Autodiscover Service configuration?
Email Address: email@example.com
To move the user firstname.lastname@example.org from Source Forest (nitingupta.in) to the destination Forest (newforest.in) and make sure that Autodiscover service will be able to handle this movement and be able to work for this scenario.
A trust between both the forests.
Delegated Exchange Server Administrator role
Membership in the local Administrators group for the target CAS server.
- Move the User Mail box (email@example.com)
- Configure a mail contact account (firstname.lastname@example.org) in the source forest (nitingupta.in) where the mailbox resided prior to the move.
- Configuring the contact (email@example.com) in Source forest (nitingupta.in), results in the user authenticating to original forest (nitingupta.in), redirection using the new e-mail address. Outlook 2007 client will try to contact Autodiscover service using the new email address (firstname.lastname@example.org) against the new forest.
- Use Exchange Management Shell command to set the mail contact (email@example.com) in the source domain (nitingupta.in):
- New-MailContact -ExternalEmailAddress 'SMTP:firstname.lastname@example.org'
-Name 'Nitin Gupta' -Alias 'gupnit' -OrganizationalUnit 'nitingupta.in/Users' -FirstName 'Nitin' ' -LastName 'gupnit'
- After configuration of contact profile in Outlook 2007, when the user connects to nitingupta.in and uses the nitingupta.in credentials, Outlook 2007 client receives a redirect response from nitingupta.in, that would look something like this
< ?xml version="1.0" encoding="utf-8"?>\r\n
< Autodiscover xmlns="http://schemas.nitingupta.in/exchange/autodiscover/responseschema/2006
< Action>redirectAddr< /Action>\r\n
< /Response>< /Autodiscover>
Voila!!. The user will then be able to connect to the Autodiscover service by using this new e-mail address in the newforest.in forest.
Overview of the Autodiscover Service
Nitin Gupta (gupnit)