创建用于在迁移管理器中迁移数据内容的用户映射文件Create a user-mapping file for data content migration in Migration Manager

本文介绍如何创建可与迁移管理器一起使用的用户映射文件。This article shows how to create a user-mapping file to use with Migration Manager. 使用迁移管理器将文件共享迁移到 Microsoft 365。Use Migration Manager to migrate your files shares to Microsoft 365.

创建用于数据内容迁移的用户映射文件Create a user-mapping file for data content migration

迁移文件共享时,迁移管理器将使用默认用户映射文件,但你可以选择使用以下准则创建自己的用户映射文件。Migration Manager uses a default user-mapping file when migrating your file shares, however, you can choose to create your own using the following guidelines. 使用任意文本编辑器或 Excel 等应用程序创建 CSV 文件。Use any text editor, or an application like Excel, to create the CSV file.

CSV 文件格式CSV file format

重要

请勿在 CSV 文件中包含标题行。Do not include a header row in your CSV file.

以下示例使用 Excel 创建 CSV 文件。The following example uses Excel to create the CSV file.

  1. 启动 Excel。Start Excel.

  2. 输入用于用户映射的值。Enter the values for your user-mapping.

  • 列 A: 在源位置中,输入用户登录名必需Column A: From the source location, enter the log in name of the user. Required.

  • 列 B: 在目标网站上,输入主体用户名Column B: On the destination site, enter the principal username. 必需。Required.

  • 列 C: 如果目标网站上的主体用户名是一个 Active Directory (AD) 组,请输入 TRUEColumn C: If the principal username on the destination site is an Active Directory (AD) group, enter TRUE. 如果不是 AD 组,请输入 FALSEIf it's not an AD group, enter FALSE. 必需。Required.

  1. 关闭并另存为逗号分隔 (*.csv) 文件。Close and save as a comma-delimited (*.csv) file.

将用户映射文件上传到迁移管理器Upload your user-mapping file to Migration Manager

创建自己的用户映射文件后,将其上传到 SharePoint 管理中心中的迁移管理器。After you create your own user-mapping file, upload it to Migration Manager in the SharePoint Admin Center.

  1. 转到新 SharePoint 管理中心的“迁移管理器”页,然后使用在组织中拥有管理员权限的帐户进行登录。Go to the Migration Manager page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

  2. 选择“全局设置”。Select Global settings.

  3. 选择“所有设置”。Select All settings.

  4. 选择“用户映射文件”,然后选择“选择文件”以浏览到要使用的文件。Select User mapping file, and then select Choose file to browse to the file to use.

  5. 选择“保存”。Select Save.

备注

不能将 AD 组映射到目标网站中的 SharePoint 组。It is not possible to map an AD group to a SharePoint group in the destination site.