I am having an issue completing a move request in a cross-forest migration. I was able to perform the Prepare move request and now trying to complete it with the following command and results:
Import-Csv users.csv | New-MoveRequest -Remotelegacy -TargetDatabase Mailbox Database Name -baditemlimit 100 -acceptlargedataloss -RemoteGlobalCatalog SourceDomainName.local -TargetDeliverydomain TargetDomainName.local verbose
An Active Directory Error 0x51 occurred when trying to check the suitability of server "FQDN". Error: Active Directory response: The LDAP server is unavailable.
I have found many references to the AD error 51 and tried a lot of the fixes to no avail. There is a 2 way trust, an AD account with permissions to complete the task, all pre-reqs met, etc. I don't know where to continue to resolve this error
as all of the articles and such I have found for assistance have not pointed me in the right direction. Any suggestions would be greatly appreciated.
Cross Forest Migration 2007 to 2013 error New-MoveRequest
August 25th, 2015 11:39am
I don't see where you're passing credentials to the other forest's Exchange server, is there a reason for that?
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 12:40pm
No there isn't any reason for that. However it prompts me for credentials, which I input then receive the error.
August 25th, 2015 3:07pm
Generally I believe you should use this syntax:
$Cred = Get-Credential New-MoveRequest ... -RemoteHostName webmail.sourcecompany.com -RemoteCredential $CredWhere the ellipsis is the rest of your parameters
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 3:25pm
Thanks for the reply, I am familiar with setting the credentials. I was able to successfully perform both my Prepare-MoveRequest and New-MoveRequest scripts when performing the steps on my Exchange 2010 server. So the above script ran when going
from 2007 to 2010. I am going to test if I can no migrate from the 2010 server to the 2013 server.
August 25th, 2015 3:46pm
I think that for RemoteGlobalCatalog parameter you need to specifies FQDN of GC server not
just remote domain name
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 5:07pm