Avatar of wayy2be
 asked on

How to attach existing user mailbox to a new user in different domain

I have created a new user in a different domain and need to attach their existing mailbox to this new account in Exchange 2013.  I have disable the user in the other domain.  How do I do this?
ExchangeActive Directory

Avatar of undefined
Last Comment
Jon Doe

8/22/2022 - Mon
Guy Lidbetter

Hi There,

In order to do this you would need to link the mailbox in this way:

Set-Mailbox -Name "Joe Bloggs" -LinkedDomainController "DC01Target" -LinkedMasterAccount TargetDomain\jbloggs -OrganizationalUnit Users -UserPrincipalName joe@yourdomain.com -LinkedCredential:(Get-Credential TargetDomain\Admin01)

Open in new window


Can you not disable the mailbox and reconnect with a different user in the ECP?
Guy Lidbetter

Are the accounts in the same forest?
Your help has saved me hundreds of hours of internet surfing.

Guy Lidbetter

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Why does it take over 24 hours to appear?
Guy Lidbetter

That has to do with the GAL update. Normally the GAL is updated once every 24 hours, and depending on when your Outlook client, also once every 24 hours, it will take some time to appear.

The mailbox itself should be immediately available.

To manually force an update of the default GAL:
Update-GlobalAddressList -Identity "Default Global Address List"

Open in new window

Obviously if you have a custom GAL you can get the name\identity with "Get-GlobalAddressList | FL Name"

To update Outlook, have a look at this useful link which covers Outlook 2007 onwards:
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Jon Doe

You'd have to run Set-AdServerSettings -ViewEntireForest $true to view objects in a different domain. The GAL is updated often, the OAB isn't, the default time for an offline address book update is 5am every day. Outlook in online mode uses the GAL, hence almost immediate updates, while Outlook in cached mode use the OAB with a once in 24 hour default download. If the client downloaded a fresh copy of the OAB at 2pm, the next update will occur at 2pm.