Error moving remote mailbox to 2010

Status
Not open for further replies.
P

Peter Taps

Folks,
I am testing "New-MoveRequest" command to move an account from remote Exchange 2007 SP2 box into Exchange 2010 box.
Let's say the old domain name (Exchange 2007 SP2) is oldcompany.com and the new domain name (Exchange 2010) is newcompany.com. Both the domains are within the same physical network.
I created a mailbox called "test" under new and old domains. Individually, both the mailboxes are working fine (sending/receiving emails).
Now, following the Technet example for remote move, I tried the following commands from Exchange 2010 Management Shell.
> $cred = Get-Credentials old-company\Administrator
> New-MoveRequest -Identity test@newcompany.com -RemoteLegacy -TargetDatabase 'Mailbox Database 11223344' -RemoteGlobalCatalog 192.168.15.3 -RemoteCredential $cred -TargetDeliveryDomain mail.newcompany.com
However, when I execute this, the error I get is "You must use RemoteTargetDatabase parameter for remote push move requests."
I don't understand this. I am using the example exactly the way Technet documentation mentions http://technet.microsoft.com/en-us/library/dd876952.aspx. Moreover, from the documentation, RemoteTargetDatabase must be used when moving data from local server to remote server. My case is the other way.
Note that I am using 192.168.15.3 instead of mail.oldcompany.com because the DNS server of the new domain does not have any knowledge about oldcompany.com. However, I don't think this would be a problem.
I would appreciate it if someone can enlighten me on what is it that I am doing wrong.
Thank you in advance for your help.
Regards,
Peter
 
J

Johan Veldhuis [MVP]



Peter,

The problem is that you have both a mailbox in the source and target forest. When using the command it looks for several values on the AD object of the user to check if all settings needed are there. To test a migration like this you will need to migrate the user using ADMT to the new forest. After that use the script on this site: http://eightwone.wordpress.com/2010/02/04/cross-forest-mailbox-move/ to prepopulate the values of the user. After that you can use the command which you already tried.

Regards,

Johan

Exchange-blog: www.johanveldhuis.nl
 
D

David Bolton



These are the steps I use in our cross-forest domain migration. Make sure you have the prepare-moverequest.ps1 script installed (look for it microsoft's website).

1. Open Exchange Management Shell as administrator on the 2010 Exchange domain.

2. Change directory to where the Prepare-MoveRequest.ps1 file is located (C:\PrepareMoveRequest).

3. Set variables: $Remote = Get-Credential (enter OLDDOMAIN\Administrator), and $Local = Get-Credential (enter NEWDOMAIN\Administrator).

4. Enter (example) .\Prepare-MoveRequest.ps1 -Identity "CN=Test User, OU=Technology Services,DC=old,DC=domain,DC=com " -RemoteForestDomainController dc1.olddomain.com -RemoteForestCredential $Remote -LocalForestDomainController dc1.newdomain.com-LocalForestCredential $Local –TargetMailUserOU "OU=Migrated Users,DC=newdomain,DC=com" –UseLocalObject

5. Next, enter:

New-MoveRequest –Identity “CN=Test User,OU=Migrated Users,DC=newdomain,DC=com” –RemoteLegacy –TargetDatabase “EX1-MDB02” –RemoteGlobalCatalog dc1.oldomain.com -RemoteCredential $Remote –TargetDeliveryDomain “newdomain.com”

This works well very well for me so far...
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
L Error when moving user mailboxes: The property value is invalid. Exchange Server Administration 4
K Error moving mailbox back to Exchange 2003 from Exchange 2010. Exchange Server Administration 5
M Outlook 2010 Beta: Error When Moving Email from Inbox to Personal Folders Using Outlook 0
J Error when moving messages from one IMAP folder to another. Using Outlook 2
V Error moving one mailbox from Exchange 2003 to 2010 Exchange Server Administration 5
K error moving meeting Room mailboxes Exchange Server Administration 7
S Error when moving emails from Inbox to Personal Folder Using Outlook 1
E Complite error on SaveAsFile method Outlook VBA and Custom Forms 1
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
D Outlook VBA error extracting property data from GetRules collection Outlook VBA and Custom Forms 10
A Unable to save recurring Meeting to Documents folder due to error Using Outlook 2
M Compile error: User-defined type not defined Outlook VBA and Custom Forms 0
R Error when trying to forward current email item Outlook VBA and Custom Forms 7
M ERROR: None of your email accounts could send to this recipient Using Outlook 2
J OLADD.FAE Error When Exporting Contacts Using Outlook 6
C Send/receive error 80040119 Using Outlook 2
W error with the permission for the file Outlook VBA and Custom Forms 0
L Outlook 2019 MAC sync error after working for 4 hours Using Outlook 1
A Run time error 424. object required in outlook 2013 Outlook VBA and Custom Forms 10
M error code 0x8DE00006 Using Outlook 1
M Desktop Version Of Outlook Generating Error Using Outlook 4
M Send/Receive error 0x800CCC0F Using Outlook 0
T Outlook 2016 CSV Translator Import Error Using Outlook 6
ManaarZakaria I'm afraid of this issue, cause of strange error Exchange Server Administration 2
P Suppress dialog box on email check error? Using Outlook 5
vodkasoda Object could not be found Error in Outlook 2007 Outlook VBA and Custom Forms 5
S VBA Macro - Run-time error '424': object required - Help Please Outlook VBA and Custom Forms 3
avant-guvnor Outlook.Application now produces error Outlook VBA and Custom Forms 5
P Run Time Error 91 when linking contact to task in VBA Outlook VBA and Custom Forms 1
N Error 0x80090326 when trying to setup IMAP account on Outlook.com Using Outlook.com accounts in Outlook 1
N Saving And Deleting Outlook Attachments with Unknown Error Message Outlook VBA and Custom Forms 1
Dennis Gaudenzi Your setup couldn't be started because of an unexpected error (mapi 0x80040604) Using Outlook 14
M Outlook 2013 fails to start -- missing WindowsCodecs.dll error Using Outlook 3
Steshelter ICloud Unexpected Error Using Outlook 5
Rupert Dragwater "there was an error reading this theme" Using Outlook 3
A Error: The name cannot be matched to a name in the address list Using Outlook.com accounts in Outlook 0
S Error using AddressEntry.GetContact - need help Outlook VBA and Custom Forms 2
J Outlook - 2013 - Error msg when copying folders from Online Archives to another user's mailbox Using Outlook 0
Vijay Error in rule- Run a script Using Outlook 1
B Automation error running VB macro code Outlook VBA and Custom Forms 8
J Object Variable or With Block Not Set Error in Outlook 2016 and not Outlook 2013 Outlook VBA and Custom Forms 3
R Macro to copy email to excel - Runtime Error 91 Object Variable Not Set Outlook VBA and Custom Forms 11
Diane Poremsky The Attachment Size Exceeds the Allowable Limit Error New Slipstick.com Articles 0
Diane Poremsky RMS Error: System clock has been tampered with New Slipstick.com Articles 0
Diane Poremsky Error Opening Outlook and Control Panel's Mail Applet New Slipstick.com Articles 0
K Error: Paper Size Invalid Using Outlook 0
M Error 0x 800CCC92 Using Outlook 0
Diane Poremsky Cannot start Microsoft Office Outlook Error Message New Slipstick.com Articles 0
S Autosave attachments error using Len Outlook VBA and Custom Forms 2
J Error 75 Outlook VBA and Custom Forms 4
Similar threads


















































Top