Teams uses virtual folders to represent the teams and channels. Teams are folders that contain contact groups, while Channels are folders of conversations.
The hierarchy of a typical Team looks like this:
Depending on the situation, there are two ways to filter Teams. Both options use Regex to define the Teams to be included or excluded from the migration. The examples below will use the diagram above to show the format needed. The actual names from the Source environment will need to be used. Filters are entered in the Advanced Options for the project. For more information on additional Folder filtering options, see How do I filter a folder?
Note: Filtering uses the MailNickName rather than the DisplayName.
Option One: Inclusive Filter
This filter migrates only the specific Teams listed. This is the best option for migrating select Teams inside a project in batches or when only a small number of the overall Teams in a tenant need to be migrated.
- To migrate only a specific Team, use the format below for your filter:
- To migrate a single specific Team Channel, use this format:
- To migrate several specific Team Channels, use this format:
^(?!team1/Channel 1|team1/Shared Documents/Channel 1)
- To migrate two or more Teams, set up the filter like this:
- For the above filter, just add another pipe (|) before each additional Team name.
Option Two: Exclusive Filter
This filter is used to exclude specific Teams from the overall migration. This is the best option for when there are just a couple of teams inside of an organization that are not going to be migrated.
- To skip a specific Team enter this folder filter format:
- To skip a specific Channel use this format for the filter:
(^team1/Channel 1|team1/Shared Documents/Channel 1)
Note: The “General Channel” cannot be skipped. If a filter is entered for the General channel, the filter will be ignored by the system.
- To skip multiple Teams or Channels, use the same format as above, but use a pipe delimiter to separate the team names: