Solved

Move Linked Mailbox back to User account Forest

Posted on 2012-12-20
5
1,782 Views
Last Modified: 2013-01-18
Hi,  I am looking for some assistance with the below scenario.

Forest A - Exchange 2010
Forest B - Exchange 2007

2-Way Forest trust and both forests have separate users in each forest. There are also some linked mailbox's in Forest B with the Master User Account in Forest A.

A PowerShell script is set up for the GAL Sync, and each forest is able to see contacts for each organisation including contacts for the linked mailbox's.

I am having trouble moving the Linked Mailbox from 2007 Forest back to the account forest. Do I need to use the Prepare-MoveRequest.ps1 script or can I do a straight move request?

I have tried running both and I receive errors. I can provide the exact commands I am running after I get an understanding of the exact process I should be using to do this.

Thanks in advance
0
Comment
Question by:mroger_au
  • 4
5 Comments
 
LVL 18

Expert Comment

by:suriyaehnop
ID: 38711796
Let say you which to move User A (Linked Mailbox). Could you verify if mail contact for User A appear in Forest A (where Master reside). I believe there is User A mail contact since GAL Sync.

To move mailbox User A back to Forest A. Try to delete mail contact of User A in Forest A, once confirm done, try to move mailbox again.
0
 

Author Comment

by:mroger_au
ID: 38719445
Thanks, after deleting the Mail Contact I finally worked out the command to move the mailbox back to the 2007 forest.

New-MoveRequest -Identity "user01@foresta.com" -RemoteLegacy 
-RemoteTargetDatabase "MBX\First Storage Group\Mailbox Database" 
-RemoteGlobalCatalog "gc.forestb.com" -RemoteCredential $remote 
-TargetDeliveryDomain forestb.com

Open in new window


You also need to make sure that you can resolve the target server by NETBIOS name as well as FQDN otherwise the command will fail.

Now that the Linked mailbox has moved back I have another problem in that Outlook does not automatically update to the new server. I have run the Export-AutodiscoveryConfig command in both forests and can see the SCP created in ADSIedit.

The Autodiscover appears to work for new accounts if I enter the email address and password and hit next, it doesn't work by automatically detecting the account like it would if the account was in it's own forest.

I also appear to have to remove and re-add the Outlook profile before I can get it to point to the new server for Mailbox Moves cross-forest. Can anyone help with the Outlook Autoconfiguration/Autodiscover?
0
 

Author Comment

by:mroger_au
ID: 38757822
More information found from another Experts Exchange thread.

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_27403059.html

Enable-MailUser -Identity Flo2 -ExternalEmailAddress flo2@domain.com

Copy the following Attributes from the source mailbox using ADSIedit
MSExchMailboxGuid
proxy address


Is anyone able to help me write a powershell script to do this?
0
 

Accepted Solution

by:
mroger_au earned 0 total points
ID: 38773735
I have worked out that after running Enable-MailUser you can use the Prepare-MoveRequest.ps1 script with the -UseLocalObject to use the existing AD account.
0
 

Author Closing Comment

by:mroger_au
ID: 38792349
Worked it out, tested OK.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now