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

wayy2be
wayy2be used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Commented:
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

Author

Commented:
Can you not disable the mailbox and reconnect with a different user in the ECP?
Top Expert 2015

Commented:
Are the accounts in the same forest?
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Yes
Top Expert 2015
Commented:
Just run
Disable-Mailbox MailboxName
Connect-mailbox -identity MailboxName -User NewAccount

Author

Commented:
Why does it take over 24 hours to appear?
Top Expert 2015

Commented:
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:
http://help.unc.edu/help/exchange-how-to-update-the-global-address-book-in-outlook/

Commented:
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial