在混合部署的本地组织和 Exchange Online 组织之间移动邮箱Move mailboxes between on-premises and Exchange Online organizations in hybrid deployments

只要具备了基于 Exchange 的混合部署,您可以选择将内部部署 Exchange 邮箱移动到 Exchange Online 组织或将 Exchange Online 邮箱移动到 Exchange 组织。当您在内部部署和 Exchange Online 组织间移动邮箱时,使用迁移批处理执行远程邮箱移动请求。这个方法不必创建用户邮箱和导入用户信息就可以移动现有邮箱。这个方法与将内部部署 Exchange 组织中的用户邮箱迁移到 Exchange Online 作为 Exchange 完整迁移到云中的一部分不同。在本话题中讨论的邮箱移动在内部部署 Exchange 和 Exchange Online 组织间的长期共存关系中是管理的 Exchange 管理的一部分。With an Exchange-based hybrid deployment, you can choose to either move on-premises Exchange mailboxes to the Exchange Online organization or move Exchange Online mailboxes to the Exchange organization. When you move mailboxes between the on-premises and Exchange Online organizations, you use migration batches to perform the remote mailbox move request. This approach allows you to move existing mailboxes instead of creating new user mailboxes and importing user information. This approach is different than migrating user mailboxes from an on-premises Exchange organization to Exchange Online as part of a complete Exchange migration to the cloud. The mailbox moves discussed in this topic are part of administrative Exchange management in a longer-term coexistence relationship between on-premises Exchange and Exchange Online organizations.

有关将本地 Exchange 组织迁移至 Exchange Online 的详细信息,请参阅将多个电子邮件帐户迁移至 Office 365 的方法For more information about migrating on-premises Exchange organizations to Exchange Online, see Ways to migrate multiple email accounts to Office 365.

重要

必须在内部部署和 Exchange Online 组织间配置一个混合部署以完成本话题中的邮箱移动过程。有关混合部署的更多信息,请参阅 Exchange Server 混合部署。 > > 你需要确保本地的 Skype for Business 2015、Skype for Business Online 和 Exchange Online 全部符合"混合部署先决条件"中指定的要求,然后才能将已启用统一消息 (UM) 的邮箱移动到 Exchange Online。有关如何将本地 UM 邮箱策略映射到 Exchange Online 中的策略的信息,请参阅 Set-UMMailboxPolicyYou must have configured a hybrid deployment between your on-premises and Exchange Online organizations to complete the mailbox moves procedures in this topic. For more information about hybrid deployments, see Exchange Server Hybrid Deployments. > > Before you move Unified Messaging-enabled (UM) mailboxes to Exchange Online, you need to make sure that on-premises Skype for Business 2015, Skype for Business Online, and Exchange Online, all meet the requirements specified in Hybrid deployment prerequisites. For information on how to map your on-premises UM mailbox policies to policies in Exchange Online, see Set-UMMailboxPolicy.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:用 10 分钟的时间来配置迁移批处理,但是完成迁移的总时间取决于每个迁移批处理所包括的邮箱数量。Estimated time to complete: 10 minutes to configure the migration batch, but total time to complete the migration depends on the number of mailboxes included in each migration batch.

  • 您必须先获得权限,然后才能执行此过程或多个过程。若要查看所需的权限,请参阅 Recipients permissions主题中的"邮箱移动和迁移权限"部分。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mailbox Move and Migration Permissions" section in the Recipients permissions topic.

  • 在您的内部部署和 Exchange Online 组织间配置混合部署。Hybrid deployment is configured between your on-premises and Exchange Online organizations.

  • 如果您运行的是 Exchange 2013,确保已在您的内部部署 Exchange 2013 客户端访问服务器上启用了邮箱复制服务代理 (MRSProxy)。If you're running Exchange 2013, make sure the Mailbox Replication Proxy Service (MRSProxy) is enabled on your on-premises Exchange 2013 Client Access servers.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.

步骤 1:创建迁移终结点Step 1: Create a migration endpoint

在 Exchange 混合部署中执行场内传输和场外传输远程移动迁移前,建议您创建 Exchange 远程迁移终结点。迁移终结点包含运行 MRS 代理服务的内部部署 Exchange 服务器的连接设置,这需要从 Exchange Online 执行远程移动迁移和执行远程移动迁移到 Exchange Online。Prior to performing on-boarding and off-boarding remote move migrations in an Exchange hybrid deployment, we recommend that you create Exchange remote migration endpoints. The migration endpoint contains the connection settings for an on-premises Exchange server that is running the MRS proxy service, which is required to perform remote move migrations to and from Exchange Online.

步骤 2:启用 MRSProxy 服务Step 2: Enable the MRSProxy service

如果没有启用内部部署 Exchange 2013 客户端访问服务器上的 MRSProxy 服务,则按照 Exchange 管理中心 (EAC) 中的步骤操作:If the MRSProxy service isn't already enabled for your on premises Exchange 2013 Client Access servers, follow these steps in the Exchange admin center (EAC):

  1. 打开 EAC 中,然后导航到服务器 > 虚拟目录Open the EAC, and then navigate to Servers > Virtual Directories.

  2. 选择客户端访问服务器,然后选择EWS虚拟目录,并单击编辑编辑图标Select the Client Access server, and then select the EWS virtual directory and click EditEdit icon.

  3. 选择启用 MRS 代理复选框,然后单击保存Select the MRS Proxy enabled check box, and then click Save.

步骤 3:使用 EAC 移动邮箱Step 3: Use the EAC to move mailboxes

您可以在 Exchange 服务器上的 EAC 中的Office 365选项卡上使用远程移动迁移向导,可以将内部部署组织中的现有用户邮箱移动到 Exchange Online 组织或移动到 Exchange Online 邮箱内部部署组织。选择以下过程之一:You can use the remote move migration wizard on the Office 365 tab in the EAC on an Exchange server to either move existing user mailboxes in the on-premises organization to the Exchange Online organization or to move Exchange Online mailboxes to the on-premises organization. Choose one of the following procedures:

将内部部署邮箱移动到 Exchange OnlineMove on-premises mailboxes to Exchange Online

可以使用 Exchange 服务器上的 EAC 中的Office 365选项卡上的远程移动迁移向导将内部部署组织中的现有用户邮箱移动到 Exchange Online 组织。请按照下列步骤:You can use the remote move migration wizard on the Office 365 tab in the EAC on an Exchange server to move existing user mailboxes in the on-premises organization to the Exchange Online organization. Follow these steps:

  1. 打开 EAC 中,然后导航到Office 365 > 收件人 > 迁移Open the EAC, and then navigate to Office 365 > Recipients > Migration.

  2. 单击添加添加图标,然后选择迁移到 Exchange OnlineClick AddAdd Icon, and then select Migrate to Exchange Online.

  3. 选择迁移类型页上,选择远程移动迁移,然后单击下一步On the Select a migration type page, select Remote move migration and then click Next.

  4. 选择用户页上,单击添加添加图标选择内部部署用户移动到 Office 365 和单击添加,然后单击确定。单击下一步On the Select the users page, click AddAdd Icon and select the on-premises users to move to Office 365 and click Add and then click OK. Click Next.

  5. Enter Windows 用户帐户凭据页上的本地管理员 name文本字段中输入的本地管理员帐户名和输入此帐户在本地管理员的关联的密码密码文本字段。例如,"corp\administrator"和密码。单击下一步On the Enter the Windows user account credential page, enter the on-premises administrator account name in the On-premises administrator name text field and enter the associated password for this account in the On-premises administrator password text field. For example, "corp\administrator" and a password. Click Next.

    备注

    如果您已经创建了一个迁移终结点,那么就会收到此步骤的终结点确认提示。如果您创建了两个或多个迁移终结点,那么您必须在迁移终结点下拉菜单中选择一个终结点。If you've already created a migration endpoint, you'll receive an endpoint confirmation prompt for this step. If you've created two or more migration endpoints, you must choose an endpoint from the migration endpoint drop-down menu.

  6. 确认迁移终结点页上,确认向导确认的迁移终结点时,列出了内部部署 Exchange 服务器的 FDQN。例如,"mail.contoso.com"。单击下一步On the Confirm the migration endpoint page, verify that the FDQN of your on-premises Exchange server is listed when the wizard confirms the migration endpoint. For example, "mail.contoso.com". Click Next.

    备注

    当选择将多个邮箱移动到 Exchange Online 时,Exchange 服务器上的 MRSProxy 服务会自动限制邮箱移动请求。完成邮箱移动操作的总时间取决于选定邮箱的总数、邮箱大小和 MRSProxy 的配置。若要了解有关自定义 MRSProxy 的详细信息,请参阅Message ThrottlingThe MRSProxy service on the Exchange servers automatically throttles the mailbox move requests when you select multiple mailboxes to move to Exchange Online. The total time to complete the mailbox move depends on the total number of mailboxes selected, the size of the mailboxes, and the configuration of the MRSProxy. To learn more about customizing the MRSProxy, see Message Throttling.

  7. 移动配置页上,在新迁移批处理名称文本字段中输入的迁移批次的名称。使用向下箭头下箭头图标以选择目标传递域的迁移到 Office 365 邮箱。在大多数混合部署中,这是用于 Exchange Online 组织邮箱的主 SMTP 域。例如,contoso.mail.onmicrosoft.com。确认移动主邮箱以及存档邮箱选项处于选中状态,然后单击下一步On the Move configuration page, enter a name for the migration batch in the New migration batch name text field. Use the down arrow Down Arrow Icon to select the Target delivery domain for the mailboxes that are migrating to Office 365. In most hybrid deployments, this is the primary SMTP domain used for the Exchange Online organization mailboxes. For example, contoso.mail.onmicrosoft.com. Verify that the Move primary mailbox along with archive mailbox option is selected, and then click Next.

  8. 启动批处理页上,选择至少一个收件人的接收批处理完成报告。确认自动启动批处理选项处于选中状态,然后选择自动完成迁移批处理复选框。单击新建On the Start the batch page, select at least one recipient to receive the batch complete report. Verify that the Automatically start the batch option is selected, and then select the Automatically complete the migration batch check box. Click New.

将 Exchange Online 邮箱移至内部部署组织Move Exchange Online mailboxes to the on-premises organization

可以使用 Exchange 服务器上的 EAC 中的Office 365选项卡上的远程移动迁移向导将内部部署组织中的现有用户邮箱移动到 Exchange Online 组织:You can use the remote move migration wizard on the Office 365 tab in the EAC on an Exchange server to move existing user mailboxes in the on-premises organization to the Exchange Online organization:

  1. 打开 EAC,并导航到Office 365 > 收件人 > 迁移Open the EAC and navigate to Office 365 > Recipients > migration.

  2. 单击添加添加图标,然后选择从 Exchange Online 的迁移Click AddAdd Icon, and then select Migrate from Exchange Online.

  3. 选择用户页上,选择选择要移动的用户,然后单击下一步On the Select the users page, select Select the users that you want to move and then click Next.

  4. 选择用户页上,单击添加添加图标,然后选择 Exchange Online 用户移到内部部署组织,单击添加,然后单击确定。单击下一步On the Select the users page, click AddAdd Icon and then select the Exchange Online users to move to the on-premises organization, click Add and then click OK. Click Next.

  5. 确认迁移终结点页上,确认向导确认的迁移终结点时,列出了内部部署 Exchange 服务器的 FDQN。例如,"mail.contoso.com"。单击下一步On the Confirm the migration endpoint page, verify that the FDQN of your on-premises Exchange server is listed when the wizard confirms the migration endpoint. For example, "mail.contoso.com". Click Next.

    备注

    当选择将多个邮箱移动到 Exchange Online 时,Exchange 服务器上的 MRSProxy 服务会自动限制邮箱移动请求。完成邮箱移动操作的总时间取决于选定邮箱的总数、邮箱大小和 MRSProxy 的属性。若要了解有关自定义 MRSProxy 的详细信息,请参阅Message ThrottlingThe MRSProxy service on the Exchange servers automatically throttles the mailbox move requests when you select multiple mailboxes to move to Exchange Online. The total time to complete the mailbox move depends on the total number of mailboxes selected, the size of the mailboxes, and the properties of the MRSProxy. To learn more about customizing the MRSProxy, see Message Throttling.

  6. 移动配置页上,在新迁移批处理名称文本字段中输入的迁移批次的名称。然后在目标传递域的迁移到 Office 365 邮箱字段中输入目标传递域。在大多数混合部署中,这是用于在本地和 Exchange Online 组织的邮箱的主 SMTP 域。例如,contoso.com。On the Move configuration page, enter a name for the migration batch in the New migration batch name text field. Then enter the target delivery domain in the Target delivery domain for the mailboxes that are migrating to Office 365 field. In most hybrid deployments, this is the primary SMTP domain used for both on-premises and Exchange Online organization mailboxes. For example, contoso.com.

  7. 选择是否还移动所选用户的存档邮箱并输入数据库名称您想要在目标数据库文本字段中移动到此邮箱。例如,邮箱数据库 123456789。单击下一步Choose whether to also move the archive mailbox for the selected user and enter the database name you'd like to move this mailbox to in the Target database text field. For example, Mailbox Database 123456789. Click Next.

  8. 启动批处理页上,选择至少一个收件人的接收批处理完成报告。确认自动启动批处理处于选中状态,然后选择自动完成迁移批处理复选框。单击新建On the Start the batch page, select at least one recipient to receive the batch complete report. Verify that Automatically start the batch is selected, and then select the Automatically complete the migration batch check box. Click New.

步骤 4:删除已完成的迁移批处理Step 4: Remove completed migration batches

在邮箱移动完成后,我们建议删除已完成的迁移批处理,以在相同的用户再次移动时将错误的可能性降到最低。After your mailbox moves have completed, we recommend removing the completed migration batches to minimize the likelihood of errors if the same users are moved again.

若要删除已完成的迁移批处理,请执行下列操作:To remove a completed migration batch:

  1. 打开 EAC,并导航到Office 365 > 收件人 > 迁移Open the EAC and navigate to Office 365 > Recipients > Migrations.

  2. 单击已完成的迁移批次,,然后单击删除删除图标Click a completed migration batch, and then click DeleteDelete icon.

  3. 在删除警告确认对话框中,单击On the deletion warning confirmation dialog, click Yes.

步骤 5:为 Web 上的 Outlook 重新启用脱机访问Step 5: Re-enable offline access for Outlook on the web

当不能连接到网络时,Web 上的 Outlook 中的脱机访问(以前称为 Outlook Web App)允许用户访问他们的邮箱。如果你将 Exchange 邮箱迁移到 Exchange Online,用户需要重置浏览器中的脱机访问设置以脱机使用 Web 上的 Outlook。有关在 Web 上的 Outlook 中脱机访问、支持脱机访问的浏览器和如何打开的详细信息,请参阅脱机使用 Outlook Web AppOffline access in Outlook on the web (formerly called Outlook Web App) lets users access their mailbox when they're not connected to a network. If you migrate Exchange mailboxes to Exchange Online, users have to reset the offline access setting in their browser to use Outlook on the web offline. For more information about offline access in Outlook on the web, the browsers that support it, and how to turn it on, see Using Outlook Web App offline.

您如何知道操作成功?How do you know this worked?

当在内部部署和 Exchange Online 组织间移动现有用户邮箱时,成功完成远程移动向导初步表示,移动邮箱按预期完成。When you move existing user mailboxes between the on-premises and Exchange Online organizations, the successful completion of the remote move wizard will be your first indication that moving the mailbox will complete as expected.

由于邮箱移动过程将花费几分钟才能完成,您还可以验证移动是否正常工作,可以通过打开 EAC,然后选择Office 365 > 收件人 > 迁移显示的移动状态远程移动向导中选择的邮箱。状态的值时正在同步期间在邮箱移动和它的已完成邮箱已成功移动到的本地或 Exchange Online 组织。Because the mailbox move process takes several minutes to complete, you can also verify that the move is working correctly by opening the EAC and selecting Office 365 > Recipients > Migration to display the move status for the mailboxes selected in the remote move wizard. The value of the Status is Syncing during the mailbox move, and it's Completed when the mailbox has successfully moved to either the on-premises or Exchange Online organization.

邮箱移动完毕之后,您可以检查位于 Exchange Online 组织的内部部署远程邮箱已成功移动通过验证邮箱属性。若要执行此操作,导航到收件人>在 EAC 中的内部部署组织或 Exchange Online 组织的邮箱。用户邮箱应为内部部署邮箱在 Exchange Online 邮箱和用户显示的Office 365 邮箱类型After the mailbox move has completed, you can check that the remote mailbox located on the on-premises or Exchange Online organization has been successfully moved by verifying the mailbox properties. To do this, navigate to Recipients > Mailboxes in the EAC for either the on-premises organization or Exchange Online organization. The user mailbox should show a Mailbox Type of Office 365 for Exchange Online mailboxes and User for on-premises mailboxes.

您也可以运行 Exchange 命令行管理程序中的以下 cmdlet 来确认迁移批处理的状态。You can also run the following cmdlet in the Exchange Management Shell to verify the status of the migration batch.

Get-MigrationBatch -Identity <batch name>

有疑问吗?请在 Office 365 论坛中寻求帮助。若要访问论坛,必须使用已拥有对基于云的服务的管理员访问权限的帐户进行登录。请访问以下论坛:Office 365 论坛Having problems? Ask for help in the Office 365 forums. To access the forums, you'll need to sign in using an account that's granted administrator access to your cloud-based service. Visit the forums at: Office 365 Forums