• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2194
  • Last Modified:

Move Linked Mailbox back to User account Forest

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
mroger_au
Asked:
mroger_au
  • 4
1 Solution
 
suriyaehnopCommented:
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
 
mroger_auAuthor Commented:
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
 
mroger_auAuthor Commented:
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
 
mroger_auAuthor Commented:
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
 
mroger_auAuthor Commented:
Worked it out, tested OK.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now