将邮件存储从 Exchange 2010 迁移到 Exchange 2013

将邮件存储从 Exchange 2010 迁移到 Exchange 2013

我有两个域,A.de 和 B.de。它们相互信任已有数年。A 和 B 都使用 Exchange 2010。现在,A.de 开始使用 Exchange2013。现在这两个域应该合并,即 A.de 也应该包含来自 B.de 的所有用户及其邮箱。

因此,我按照 Microsoft 网站上的一些说明进行操作(https://docs.microsoft.com/de-de/exchange/architecture/mailbox-servers/prep-mailboxes-for-cross-forest-moves-in-powershell?view=exchserver-2019#parameter-set-of-the-script) - 右上角有一个小复选标记(“auf englisch lesen” - 用英文阅读)。

因此,我检查了测试用户的所有必需属性。此外,我创建了一个档案,以满足所有必需/必需的属性。(唯一未默认设置的属性是“proxyadsress” - 我也设置了这个属性)。

但是,我仍然收到一条错误消息,即“使用 0 个参数调用“setinfo”时发生异常 - 出现限制违规”。该命令从域 A.de 中的 exchange server2013 运行。

有人知道如何检查、检查发生了什么吗?

    [PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>.\Prepare-MoveRequest.ps1 -Identity [email protected] -RemoteForestDomainController dc2.B.de -RemoteForestCredential $remote -LocalForestDomainController dc3.A.de -LocalForestCredential $local
Appending x500:/o=A/ou=Exchange Administrative Group (xxxxxxxxx)/cn=Recipients/cn=testvorname9 testnachname9cb6 to proxyAddresses of New Object in Local forest.
C:\Program Files\Microsoft\Exchange Server\V15\Scripts\Prepare-MoveRequest.ps1 : Error while creating MEU. Error:Error creating mailuser CN=testvorname9 testnachname9,CN=Users,DC=A,DC=de in local forest or setting its mandatory attributes. Error: Ausnahme beim Aufrufen von "SetInfo" mit 0 Argument(en):  "Es ist eine Beschränkungsverletzung aufgetreten.
"
In Zeile:1 Zeichen:1
+ .\Prepare-MoveRequest.ps1 -Identity [email protected] -RemoteForestDomainCont ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Prepare-MoveRequest.ps1

0 mailbox(s) ready to move.

答案1

您是否输入了正确的 LocalCredentials([电子邮件保护]) 和 RemoteCredentials([电子邮件保护])使用命令“$LocalCredentials = 获取凭证“ 和 ”$RemoteCredentials = 获取凭据“?

在此处输入图片描述

此外,我尝试了以下命令跨林移动并且有效: 在此处输入图片描述

您可以尝试我的命令来移动您的邮箱:

.\Prepare-MoveRequest.ps1 -Identity [email protected] -RemoteForestDomainController dc2.B.de -RemoteForestCredential $RemoteCredentials -LocalForestDomainController dc3.A.de -LocalForestCredential $LocalCredentials

答案2

因此,在调试并仔细查看脚本之后,我对其进行了一些修改,以便在复制/准备过程中可以看到问题发生的位置。

问题在于“UserPrincipalName”(UPN)的副本。如果我跳过脚本中的 UPN 副本,它就会起作用,也就是说,我可以毫无困难地执行它。我想我可以稍后在用户的属性中手动更改 UPN,这意味着我将域 A.de 中用户 test09 的属性更改为 UPN[电子邮件保护]。但是:如果我随后更改 UPN 并按“确定”,则会出现一条错误消息,指出 UPN 在林中必须是唯一的。我认为这也是必需的,因为我将拥有 2 个相同的 UPN[电子邮件保护]- 1x 在域 A.de 中,1x 在域 B.de 中。我想知道脚本实际上为何/如何工作以及 UPN 的预期用途。

相关内容