|
NOTE: These prerequisites are generic to all M365 Groups. See Teams - Prerequisites for prerequisites about M365 Groups that linked to Teams. |
Verify the following requirements are met before migrating Microsoft M365 Groups. If these actions are not performed, discovery, provision and migration tasks will fail or some data might be lost!
The following consents must be granted before M365 Groups migration can be started
- Migration - Basic
- Migration - Mailbox Migration
- Migration - SharePoint - Minimal for the source tenant, and Migration - SharePoint - Full for the source and target tenants. Migration - SharePoint is a legacy permission set and should be replaced with either the Minimal or Full permission sets.
- Migration - Teams - Minimal for the source tenant, and Migration - Teams - Full for the source and target tenants. Migration - Teams is a legacy permission set and should be replaced with either the Minimal or Full permission sets.
|
TIP: If the consents are not granted or expired, Discover Groups action is disabled and the following notification is displayed: Grant admin consent to the following Migration sub modules on the Tenants page for both source and target tenants: Basic, SharePoint, and Teams. Open the Tenants page and grant the necessary Required Consents and Permissions so that the product can access the source and target tenants. You will be redirected to the Microsoft web site for granting admin consent. Once admin consent is granted, you can start discovering Teams. |
- Accounts must be matched or migrated before migrating groups.
- Images, media files and documents referenced in one-on-one or group chats are stored in your OneDrive for Business folder. They must be migrated using the On Demand Migration for OneDrive service, before you migrate the chats.
Required permissions
See the On Demand Migration - Permissions Reference Guide for details.
Temporary Migration Manager accounts
- It is recommended to create or use source and target temporary Migration Manager accounts.
- The temporary Migration Manager accounts should be granted the Global Administrator or Teams Administrator role on the tenants for which these account are used. The temporary Migration Manager accounts in the source and target tenant should have Teams license from the Microsoft 365 admin center.
- Do not change your temporary Migration Manager accounts before completing the migration project.
- You must remove the source and target temporary Migration Manager accounts for safety reasons after the migration is completed. These accounts can be removed from teams as described in Finalizing the Migration.
The target temporary Migration Manager account is used in (but not limited to) the following scenarios:
- It creates and owns the provisioned target M365 Groups.
- It is added to all target teams and Microsoft 365 Groups as a member and an owner.
- It is used to perform the M365 Groups migration.
In this topic:
Discovering all groups
This is the simplest approach which uses the Discover Groups tasks to inspect the source tenant and discover all the Microsoft 365 Groups.
To start the Discover Groups task:
- Log in to Quest On Demand and choose an organization if you have multiple organizations.
- From the navigation pane, click Migration to open the My Projects list.
- Create a new project or open an existing project.
- Click the Teams tile, or click Open from the Teams tile to open the Teams dashboard.
- Click Discover M365 Groups from the Groups tile in the Teams dashboard
- or -
Select the M365 Groups tab and select List View if not already selected. Then click Discover Groups > Discover All from the Actions menu.
- The New Groups Discovery Task wizard opens.
- Step 1: Discovery Options
![](/zh-cn/technical-documents/image/b6e58367-7709-4b03-a4a6-5bdf3718395b)
- Click Next.
- Step 2: Notification
- Send notification email once the task is completed - select this option to send a notification email when a discovery task completes.
- Only in a case of failure - select this option to send the email if the discovery task fails to complete successfully.
- Recipients - enter the email address of the recipients of this email. You can specify multiple recipient email addresses separated by semicolon.
- Click Next.
- Step 3: Schedule
- Choose from one of three options to schedule the task. The scheduler will be activated only after you complete the task wizard.
- Run now - task runs immediately.
- Run later - task must be started manually.
- Schedule - task will be started at a future date and time entered in the corresponding calendar field.
- Click Next.
- Step 4: Summary
- Verify the task specifications as described below:
- Name - name of the task. You can specify a custom name. The default name is Discover Groups.
- Source tenant - name of the source tenant in this project.
- Target tenant - name of the target tenant in this project.
- Scheduled start - date and time when the task will start. Now indicates that the task will start immediately.
- Click Back to revise or review a previous step or click Finish to complete the task wizard and start the task as scheduled.
Discovering Groups from a File
When you have a large set of groups but you want to migrate a subset of those groups, you can start the discovery process by using a CSV file. The CSV file lets you specify the groups that you want to discover and ignore the rest. This is a two-step process:
Step 1: Preparing the CSV file
- Log in to the Microsoft 365 admin center (https://admin.microsoft.com) with the credentials of your source tenant administrator.
- From the navigation pane, click Active groups.
- Select the Microsoft 365 tab in the Active Groups page.
- Click Export and then click Export groups in this list. A Groups.csv file will be downloaded to your computer.
![](/zh-cn/technical-documents/image/42335d45-c585-483d-af1e-0216349a09c5)
- Edit the CSV and retain the groups you want to discover that are not associated with Teamsand delete the rest. You can filter that data based on the Has Teams column to get a list of groups that are not associated with teams. If you retain a row that references a group associated with a team, the group will be ignored during discovery. Then retain the Group ID and Group name columns.
![](/zh-cn/technical-documents/image/75021dd5-41c9-4eeb-b8bb-89ebe590f900)
- Save the CSV file. You may rename the file if needed.
Step 2: Starting the Discover Groups Task
- Log in to Quest On Demand and choose an organization if you have multiple organizations.
- From the navigation pane, click Migration to open the My Projects list.
- Create a new project or open an existing project.
- Click the Teams tile, or click Open from the Teams tile to open the Teams dashboard.
- Click the M365 Groups tab and select List View if not already selected. Then click Discover Groups > Discover from file from the Actions menu.
- The New Groups Discovery Task wizard opens.
- Step 1: Discovery Options
![](/zh-cn/technical-documents/image/add178bd-57f9-4b3e-9fdb-5278ef7c5385)
- Click Browse and select the CSV that contains the Group IDs and Group names of the groups that you want to discover.
- Click Next.
- Step 2: Schedule
- Choose from one of three options to schedule the task. The scheduler will be activated only after you complete the task wizard.
- Run now - task runs immediately.
- Run later - task must be started manually.
- Schedule - task will be started at a future date and time entered in the corresponding calendar field.
- Click Next.
- Step 3: Summary
- Verify the task specifications as described below:
- Name - name of the task. You can specify a custom name. The default name is Discover Groups.
- Source tenant - name of the source tenant in this project.
- Target tenant - name of the target tenant in this project.
- Scheduled start - date and time when the task will start. Now indicates that the task will start immediately.
- Click Back to revise or review a previous step or click Finish to complete the task wizard and start the task as scheduled.
Reviewing the Groups Discovery Task
- Open the Tasks tab.
- Select the task that you want to review. The default name is Discover.
- In the task details pane that opens, the information presented is as described below:
- Type - Type of the task. The type is discovergroups.
- Created - Date and time when the task was created.
- Modified - Date and time when the task was last updated.
- State - State of the task.
- Last Operation - The action that was most recently performed in this task.
- Schedule - Date and time when the task started. Now indicates that the task started immediately after the task was created.
- Events (number) - Number indicates the count of events that the task encountered. The values indicate the type of the events and the event count for each type.
![](/zh-cn/technical-documents/image/2a76ac6d-69e5-4a67-a483-ce14c5f8786a)
- If you selected the option to collect statistics in the New Groups Discovery Task wizard, you will see and additional task for Collect Plan and Task statistics for Groups. Click the task to view the corresponding details in the details pane.
Reviewing the Groups Discovery Task Events
- Open the Tasks tab.
- Select the task that you want to review.
- In the task details pane that opens, click Events (number). The Events tab opens with a filtered list of events for the selected task.
- Select an event that you want to review. In the event details pane that opens, the information presented is as described below:
- Object - Name of the group.
- Task - Name of the task.
- Time - Date and time when the event occurred.
- Category - Type of task. the value is Application.
- Source - Name of the On Demand Migration service.
![](/zh-cn/technical-documents/image/f6800666-17e6-493d-90d2-ba3220ba13ce)
Every team is associated with a Microsoft 365 Group, but there are groups that are not associated with teams. In this topic, the term team means a Microsoft Team and includes its associated group, and the term group means a Microsoft 365 Group that is not associated with a team.
|
NOTE: This topic explains the process to discover both teams and groups. If you want to discover only teams, see Discovering Teams. If you want to discover only groups that are not related to teams, see Discovering Groups. |
In this topic:
Discovering all teams and groups
This is the simplest approach which uses the Discover tasks to inspect the source tenant and discover all the teams.
To start the Discover task:
- Log in to Quest On Demand and choose an organization if you have multiple organizations.
- From the navigation pane, click Migration to open the My Projects list.
- Create a new project or open an existing project.
- Click Teams from the project tiles, or click Open from the Teams tile to open the Teams dashboard.
- Click Discover > Discover All from the Teams dashboard.
- The New Teams & Groups Discovery Task wizard opens.
- Step 1: Discovery Options
![](/zh-cn/technical-documents/image/0ea36710-aefd-450d-8544-d0d7a527efe6)
![](/zh-cn/technical-documents/image/e20a1fe2-f342-4891-b4a7-b7f5bf2faf41)
|
NOTE: The Azure AD administrator account will be added to the discovered Teams and Groups. |
- All Teams - select this option to discover all Microsoft Teams.
- All Groups - select this option to discover all Microsoft 365 Groups without Teams.
- All Teams and Groups - select this option to discover Microsoft 365 Groups and Teams.
- Click Next.
- Step 2: Notification
- Send notification email once the task is completed - select this option to send a notification email when a discovery task completes.
- Only in a case of failure - select this option to send the email if the discovery task fails to complete successfully.
- Recipients - enter the email address of the recipients of this email. You can specify multiple recipient email addresses separated by semicolon.
- Click Next.
- Step 3: Schedule
- Choose from one of three options to schedule the task. The scheduler will be activated only after you complete the task wizard.
- Run now - task runs immediately.
- Run later - task must be started manually.
- Schedule - task will be started at a future date and time entered in the corresponding calendar field.
- Click Next.
- Step 4: Summary
- Verify the task specifications as described below:
- Name - name of the task. You can specify a custom name. The default name is Discover.
- Source tenant - name of the tenant where the statistics will be collected.
- Target tenant - name of the target tenant in this project.
- Scheduled start - date and time when the task will start. Now indicates that the task will start immediately.
- Click Back to revise or review a previous step or click Finish to complete the task wizard and start the task as scheduled.
Discovering teams and groups from a file
This step is required if you plan to discover teams and groups using a CSV file. When you have a large set of teams and groups but you want to migrate a subset of the objects, the CSV file lets you specify the teams and groups that you want to discover and ignore the rest. You can then use this file in the New Teams & Groups Discovery Task as described in this topic to discover the teams from the source tenant.
Step 1: Preparing the CSV file
- Log in to the Microsoft 365 admin center (https://admin.microsoft.com) with the credentials of your source tenant administrator.
- From the navigation pane, click Active groups.
- Select Microsoft 365 tab in the Active Groups page
- Click Export and then click Export all groups. A Groups.csv file will be downloaded to your computer.
![](/zh-cn/technical-documents/image/f4488729-2bcc-4845-8cf6-488de0f013bd)
- Edit the CSV file and retain the Group ID and Group name columns. Then retain the teams and groups you want to discover and delete the rest.
![](/zh-cn/technical-documents/image/7934aa34-f5d5-4fcc-821e-8c763af2d171)
- Save the CSV file. You may rename the file if needed.
Step 2: Starting the Discover Task
- Log in to Quest On Demand and choose an organization if you have multiple organizations.
- From the navigation pane, click Migration to open the My Projects list.
- Create a new project or open an existing project.
- Click Teams from the project tiles, or click Open from the Teams tile to open the Teams dashboard.
- Click Discover > Discover from file from the Teams dashboard.
- The New Teams & Groups Discovery Task wizard opens.
- Step 1: Discovery Options
![](/zh-cn/technical-documents/image/6ac50e0b-9c2b-48e2-8588-ab03bf5053b6)
- Click Browse and select the CSV that contains the Group IDs and Group names of the teams that you want to discover.
- Click Next.
- Step 2: Notification
- Send notification email once the task is completed - select this option to send a notification email when a discovery task completes.
- Only in a case of failure - select this option to send the email if the discovery task fails to complete successfully.
- Recipients - enter the email address of the recipients of this email. You can specify multiple recipient email addresses separated by semicolon.
- Click Next.
- Step 3: Schedule
- Choose from one of three options to schedule the task. The scheduler will be activated only after you complete the task wizard.
- Run now - task runs immediately.
- Run later - task must be started manually.
- Schedule - task will be started at a future date and time entered in the corresponding calendar field.
- Click Next.
- Step 4: Summary
- Verify the task specifications as described below:
- Name - name of the task. You can specify a custom name. The default name is Discover.
- Source tenant - name of the tenant where the statistics will be collected.
- Target tenant - name of the target tenant in this project.
- Scheduled start - date and time when the task will start. Now indicates that the task will start immediately.
- Click Back to revise or review a previous step or click Finish to complete the task wizard and start the task as scheduled.
Reviewing the Discover Task
- Open the Tasks tab.
- Select the task that you want to review. The default name is Discover.
- In the task details pane that opens, the information presented is as described below:
- Type - type of the task. The type is discoverteams.
- Created - date and time when the task was created.
- Modified - date and time when the task was last updated.
- State - state of the task.
- Last Operation - the action that was most recently performed in this task.
- Schedule - date and time when the task started. Now indicates that the task started immediately after the task was created.
- Events (number) - number indicates the count of events that the task encountered. The values indicate the type of the events and the event count for each type.
![](/zh-cn/technical-documents/image/ea1bc2be-7615-4904-9726-13b3f7c0c94f)
- If you select the options to collect statistics in the New Teams & Groups Discovery Task wizard, you will see additional tasks: Collect Plan and Task statistics for Teams and Groups and Collect Message statistics for Teams. Click each task to view the corresponding details in the details pane.
Reviewing the Discover Task Events
- Open the Tasks tab.
- Select the task that you want to review.
- In the task details pane that opens, click Events (number). The Events tab opens with a filtered list of events for the selected task.
- Select an event that you want to review. In the event details pane that opens, the information presented is as described below:
- Object - name of the team or group discovered.
- Task - name of the task.
- Time - date and time when the event occurred.
- Category - type of task. the value is Application.
- Source - name of the On Demand Migration service
![](/zh-cn/technical-documents/image/f3443ad6-3d28-4345-bc73-b63d9d511494)
Migrating large numbers of groups requires careful planing. The groups could belong to different offices and geographical locations or sensitive departments. Migrating groups of Finance or Legal departments require special care. Organize the groups into collections to make large group lists more manageable.
Working with the Collection Dashboard
The Collection Dashboard shows the collection-specific summary, allows you to see group added to it, create tasks for them, and monitor the progress of tasks.
- To view the collection dashboard for an existing collection
- Log in to Quest On Demand and choose an organization if you have multiple organizations.
- From the navigation pane, click Migration to open the My Projects list.
- Create a new project or open an existing project.
- From the project dashboard, click Open in the Teams tile to open the Teams migration workspace.
- From the top-right corner of the migration workspace, click Select Collection and then select the collection to view. The collection Dashboard is displayed.
- Click the M365 Groups tab. You will see the list of groups that belong to the collection.
- To see the tasks for collection-specific accounts, use the corresponding tile on the collection Dashboard or open the Tasks tab.
- To see the events related to the collection, use the corresponding widget on the collection Dashboard or open the Events tab.
- To rename or delete the collection, click the corresponding buttons in the menu.
- To return to the project dashboard, click the project name in the navigation bar.
Creating a Collection manually
- From the project dashboard, click Open in the Teams tile to open the Teams dashboard.
- From the top-right corner of the migration workspace, click Select Collection > + New Collection
- Enter a collection name and click Save to add this collection to the project.
Adding groups to Collections
You can add groups to collections in several ways:
To add selected groups to a new collection:
- From the project dashboard, click Open in the Teams tile to open the Teams dashboard.
- Click the M365 Groups tab and select List View if not already selected.
- Select the groups you want to add to the collection.
- From the actions toolbar, click New Collection. The New Collection dialog opens.
![](/zh-cn/technical-documents/image/28ae20f5-98c4-48b5-aa0f-b6d3b8d52c06)
- Enter a collection name in the Collection name field and click Save to add the selected groups to the collection.
To add selected groups to an existing collection:
- From the project dashboard, click Open in the Teams tile to open the Teams dashboard.
- If you need to create a new collection:
- From the top-right corner of the migration workspace, click Select Collection > + New Collection
- Enter a collection name and click Save to add this collection to the project.
- Click the M365 Groups tab.
- Select the groups you want to add to an existing collection.
- From the actions toolbar, click Add To Collection. The Add to existing collection dialog opens.
![](/zh-cn/technical-documents/image/f6d1d4e1-754a-46b1-976f-2119e8bea04e)
- Select a collection from the Collection name dropdown and click Save to add the selected groups to the collection.
To add groups from a CSV file to a new or existing collection from the M365 Groups tab:
This is a two-step process as described below to add teams to an existing collection from the M365 Groups tab:
Step 1: Prepare the CSV file
|
NOTE: CSV file names with non-ASCII characters are not supported. Teams in the CSV that have not been discovered cannot be added to a collection. |
Use the format shown below to prepare the CSV file. The minimal set of columns required are shown.
|
TIP: You can export the selected groups to a CSV file and then add the Collection column and retain the Source MailNickname column. All other columns in the exported CSV file will be ignored so you can remove those columns if you want. |
- Collection - Column header for the collection name
- Source MailNickname - Email alias of the M365 group. You can get the Source MailNickname property of the teams when you export groups to a CSV file. Source MailNickname values are case-sensitive.
Step 2: Import the CSV file
- Log in to Quest On Demand and choose an organization if you have multiple organizations.
- From the navigation pane, click Migration to open the My Projects list.
- Create a new project or open an existing project.
- Click the Teams tile, or click Open from the Teams tile to open the Teams migration workspace.
- Open the M365 Groups tab.
- From the actions toolbar, click More > Import Collections. The Import Collections from File dialog opens.
- Select Teams/M365 groups from the Specify kind dropdown.
- Click Browse and select the CSV file. The selected CSV file name appears.
- Click Import.
|
NOTE: If a collection in the CSV does not exist, a new collection will be created with the name specified in the CSV. |
To add groups from a CSV file to an existing collection from the Teams Collection dashboard:
This is a two-step process as described below:
Step 1: Prepare the CSV file
|
NOTE: CSV file names with non-ASCII characters are not supported. Groups in the CSV that have not been discovered cannot be added to a collection. |
Use the format shown below:
![](/zh-cn/technical-documents/image/50b106ff-24f5-4e95-bbc9-5ff480f497e1)
MailNickName - Email alias of the M365 group. You can get the MailNickName property of the groups when you export groups to a CSV file. MailNickName values are case-sensitive.
Step 2: Import the CSV file
- From the project dashboard, click Open in the Teams tile to open the Teams migration workspace.
- From the top-right corner of the migration workspace, click Select Collection and then select the collection.
- Click Fill From File from the Teams collection Dashboard menu. The Fill from File dialog opens.
- Click Browse and select the CSV file that you created.
- Click Populate to add the groups from the file to the collection.
Removing Groups from Collections
- From the project dashboard, click Open in the Teams tile to open the Teams migration workspace.
- From the top-right corner of the migration workspace, click Select Collection. Then select a collection to open the collections dashboard.
- Select the M365 Groups tab. From the Groups list view, select the groups that you want to remove from the collection.
- From the actions toolbar, click Remove from Collection.
- In the confirmation dialog click Remove to remove the selected groups from the collection.
- To return to the Teams migration workspace, click the collection dropdown at the top-right corner of the page, and select Show All.