Help · Files: OneDrive, SharePoint and file servers

Migrating SharePoint

Copy SharePoint libraries, folders and files into the new tenant, move whole sites, and handle sites that belong to a Microsoft 365 group.

Last updated

A SharePoint migration copies libraries, folders and single files into a library or folder you pick in the new tenant, with their dates, authors, version history (if the batch keeps it), the library's own columns, and permissions on anything that has its own. It works between tenants, or within one tenant (pick the same connection on both sides).

The screenshots show the demo's Lakeside Veterinary Group, moving into North Shore Animal Health's tenant.

Before you start #

  • Both tenants are connected to the customer. See Connecting a customer's Microsoft 365 tenant.
  • The SharePoint certificate is added under Tenant → Microsoft 365 apps. It's needed to keep authors, versions and permissions, and to make whole sites. The batch page warns you if it's missing.
  • People are in the new tenant, for permissions and authors to land on the right accounts. The email migration usually comes first.

1. Create the migration and a batch #

  1. Open the customer and click New migration.
  2. Pick the source and destination, tick SharePoint, click through to Review and click Create migration.
  3. Type a Batch name and click Next: what it copies.

The Add to batch panel opens. You can add more any time from the batch page with Add to batch.

2. Pick libraries and folders #

The panel has two trees: 1. What to copy (the old tenant's sites) on the left, and 2. Where it goes (the new tenant's sites) on the right.

  1. On the left, open a site and tick a library, or open a library and tick folders or files. Everything inside something ticked comes with it.
  2. On the right, open a site and pick the library, or a folder in it, where they go. Use + New library on a site, or New folder here in a library, to make one.
  3. Click Add … to batch.
Add to batch: what to copy on the left, where it goes on the right

Repeat for the next set of libraries and their destination: a batch can hold many copies, each to its own place.

Tip

Tick Show people's OneDrives on the left to pick a folder out of someone's OneDrive and copy it into a site.

Copies that overlap #

If you tick a folder whose library is already in the batch, going to the same place, the panel warns you before you add it. If the batch already has overlapping copies, the batch page lists them, with Remove the extra copies. Nothing is lost: the bigger copy takes their files. Run together, overlapping copies get in each other's way and are much slower.

3. Move a whole site #

To move a site as a whole, hover over it in the left tree and click Move whole site. The right side then shows what that does for that kind of site.

A communication site, or a team site without a group:

  • If no site is at the same address in the new tenant, Mygration makes one there, with the same title, description, language and time zone. Type an Owner in the new tenant (SharePoint needs one), then click Make the site and add … libraries.
  • If a site is already at that address, its libraries are copied into it: click Add … libraries. Libraries it hasn't got are made.

Turn on Copy site members in the batch's Settings to add the old site's Owners, Members and Visitors to the new site when the batch runs. Leave it off when copying into a site that has its own people.

A Microsoft 365 group's team site comes with its group, so the group moves first:

  1. Migrate the group in a Groups migration, or a Teams migration if it has a team. See Migrating groups and Migrating Teams. The new tenant makes its site.
  2. Come back to Move whole site once the group is in the new tenant (a few minutes after its batch runs). Click Copy … libraries into its new site.

A team's channel files are already there from its Teams migration, so they aren't copied twice.

A private or shared channel's site moves with its team, in a Teams migration.

Note

Pages, navigation, the theme, and lists other than document libraries aren't copied.

4. Check the settings #

Open the batch's Settings tab before the first run: What's copied (see File filters), How files go up (leave it on Automatically (recommended)), Take out what's deleted, Copy permissions and Copy site members.

5. Scan, then start #

Before the first run, the batch page offers Check before copying. Click Scan. It reads everything picked, copying nothing, and lists:

  • exact file counts and sizes,
  • paths that would be over SharePoint's 400 characters where they're going, and
  • names SharePoint refuses, such as CON, PRN, AUX, NUL, COM1 or LPT1, or names with _vti_ in them.

Rename those in the source, or copy into a shorter path, then click Start.

A SharePoint batch after its run

Each copy's row shows its status and how it went up. Click one to see its folders, what was kept and the files that failed, with why. Retry failed runs again only the copies that had failures.

Later runs and checking #

  • Run again copies only what's new or changed since the last run, and follows renames and moves. Run it once more shortly before the switch.
  • Check copies reads every file again in the source and compares it with its copy. The result goes in the batch report.
  • Settings → Run automatically runs the batch on a schedule until a time you pick.

What isn't copied #

  • Sharing links for the whole organisation or anyone: counted, to share again. People a link was shared with by name get its access directly.
  • Pages, navigation, themes, and lists other than document libraries.

Next steps #