[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


How to Configure Autodiscover Service for Cross Forest Mailbox Move

Published on
8,319 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

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Join & Write a Comment

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…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month