Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Move Linked Mailbox back to User account Forest

Posted on 2012-12-20
5
Medium Priority
?
2,052 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 19

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New style of hardware planning for Microsoft Exchange server.
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

618 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