ShareMaster is shaped by your feedback. Tell us what to build next →
  1. Home
  2. Documentation
  3. Microsoft Teams

Copy a team

Team, channels, people, posts and Planner

Copy a Microsoft Team to another tenant, or within one tenant: the team, its settings, its channels and their files, its owners and members, its private and shared channels with their people, and, as you choose, its posts and replies, its picture, tags and other settings, its Planner plans and its channel tabs. Private chats are not copied by this version.

Makes changes. It creates teams and channels at the destination. It never changes or deletes anything at the source, and never deletes a team anywhere. The one exception: a channel whose folder cannot be found under its name (renamed, or never opened) is asked of Teams, which can make an empty folder for it at the source.

What does it do?

  • Which teams to copy, or which of their channels, picked from the source tenant's teams, and whether each goes into a new team or a team already at the destination.
  • Whether a team of that name is already at the destination, checked before anything runs, and what is done with it.
  • What was created, what was skipped and why, and whether the destination matches the source, in a report you can save.

How it runs

  1. Connect both tenants. The source first, then the destination. On a copy within one tenant the same account can be used for both, without signing in twice.
  2. Pick teams or channels. The source tenant's teams, searchable, with Select all. Open a team with Channels to tick single channels instead of the whole team.
  3. Choose where they go. As a new team: it keeps its name in another tenant; within one tenant it is called '<name> (copy)', and you can change it. A team of that name already at the destination is shown. Or into an existing team, picked from the destination's teams: the channels it is missing are added and nothing in it is changed or removed.
  4. Set options. A team already there is skipped, or has its missing channels added (nothing in it is changed or removed). Pick the owner of each new team from the destination's people. Choose whether people, private and shared channels are copied, and whether a private channel's people may join a private team. Choose whether posts and replies, the team's settings and Planner are copied too.
  5. Match the people. Each person at the source is copied as the destination account you pick from a list. Only an account with exactly the same sign-in name is picked for you; anyone left as 'Not copied' is named in the report. With posts, the people who posted are listed too, each matched by sign-in name, then email, then display name, with the rule shown; anyone matched by nobody has their posts put in as the new team's owner, starting 'Originally by' and their name.
  6. Check first, then run. Both ends are read and checked on the run screen before anything is created, and you choose whether to run. Each team is created, then its channels, then the destination is compared with the source.
  7. Run it again before you switch over. From History, Run again on a finished copy brings across what changed since: channels added at the source, new files, posts after the last one copied, new people, plans, tasks and tabs. Nothing in the copy is overwritten or removed; a file someone edited in the copy is left as it is, and posts or tasks changed at the source since the copy are named in the report.
  8. Tell people. When the copy has finished, tell the people who will use the new team where it is. Someone already in the team is never added again, so nobody's role is changed.

How does it sign in?

  • Copy a team - source: Cert authentication reads every channel, private ones included. App authentication reads only the private channels your account is a member of, and the preflight lists what that leaves out.
  • Copy a team - source: Offers App authentication or Cert authentication.
  • Copy a team - source: User authentication is not offered: Every Teams call is Microsoft Graph (/groups, /teams, the channel and member endpoints, POST /teams, POST /teams/{id}/channels), and Graph is bearer-only.
  • Copy a team - destination: Cert authentication is worth the setup here: it creates the team without adding your own account to it, and the file copy runs much faster on it.
  • Copy a team - destination: Offers App authentication or Cert authentication.
  • Copy a team - destination: User authentication is not offered: Every Teams call is Microsoft Graph (/groups, /teams, the channel and member endpoints, POST /teams, POST /teams/{id}/channels), and Graph is bearer-only.

What will it not do?

  • Guests are not invited into the destination. Each is named in the report.
  • Which other teams a shared channel is shared with is not copied: Microsoft offers no way to do it from outside Teams. Each is named in the report.
  • Posts need the destination connected with a certificate: Microsoft allows the import only to an app. They go in at about one or two a second per channel, so a busy team can take hours; the check before the run counts them.
  • An imported post cannot be removed except by deleting its channel, so posts go into a channel already at the destination only when you choose that.
  • Edits to a post, its edit history, who read it and system messages (such as someone joining) are not copied. Videos and Loop components in a post are named, not copied.
  • A sensitivity label is set only when the destination is signed in as an administrator; with a certificate the report names the label for you to set.
  • Planner: premium plans are not reachable through Microsoft's Planner API. Who created or completed a task, and task comments, are not copied.
  • Tabs: websites, Word, Excel, PowerPoint and PDF files and document libraries are pointed at the copy; a Planner tab becomes a link to the copied plan. Forms, Stream, Power BI, OneNote, SharePoint page and list tabs, and an app's own tabs, are named in the report, not made.
  • Private chats are not copied. A file over 2 GB is copied with its current version only, and the report names it.
  • A team that already exists at the destination is skipped unless you choose to add its missing channels.

See every feature