How to Configure Autodiscover Service for Cross Forest Mailbox Move

Published on
8,148 Points
Last Modified:
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?

Business Scenario:
Source Forest:
Domain: nitingupta.in
Email Address: gupnit@nitingupta.in
Destination Forest:
Domain: newforest.in
Username: gupnit@newforest.in

To move the user gupnit@nitingupta.in 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.

Solution Prerequisites:
A trust between both the forests.
Delegated Exchange Server Administrator role
Membership in the local Administrators group for the target CAS server.

Steps involved:
 - Move the User Mail box (gupnit@nitingupta.in)
 - Configure a mail contact account (gupnit@newforest.in) in the source forest (nitingupta.in) where the mailbox resided prior to the move.
 - Configuring the contact (gupnit@newforest.in) 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 (gupnit@newforest.in) against the new forest.
 - Use Exchange Management Shell command to set the mail contact (gupnit@newforest.in) in the source domain (nitingupta.in):
 - New-MailContact -ExternalEmailAddress 'SMTP:gupnit@newforest.in' -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"> \r\n
< Account>\r\n
< Action>redirectAddr< /Action>\r\n
< RedirectAddr>gupnit@newforest.in\r\n
< /Account>\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)

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Join & Write a Comment

There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month