MigrationFox Docs

SharePoint Site Migration

Copy a SharePoint site, or the libraries, lists and pages you pick, to another site in the same tenant or a different one. This page covers what a site migration copies, how content types, views and list version history are handled, and how permissions and user mapping work.

See also: Schema-aware coverage, choosing between the migration options, and True History Mode.

Original authors and dates

A regular site migration keeps each file’s Created and Modified dates, but Created By and Modified By show the migrating account, and copied earlier versions show the migration time. To keep original authors and dates on files, versions and list items, turn on True History Mode. It uses Microsoft’s SharePoint Migration API and needs a destination connected with Sign in with Microsoft.

Start a site migration

  1. In your project, open the Migrate tab and pick the Microsoft 365 tile (or the SharePoint wizard in MigrationFox for Windows).
  2. Choose Full site copy or Content only (see below).
  3. Connect the source and the destination. Sign in with Microsoft is the default; your own app registration is the advanced option. The wizard can add a connection without leaving it.
  4. Browse to the source site and pick the libraries, lists and site pages to copy. Pick the destination site, or create a new one from the wizard.
  5. Set the options (version history, True History Mode, permissions, what to do if an item already exists), review, and start.

Moving many sites? On the Microsoft 365 tile, click Many sites? Import a CSV to create one migration per row with shared options.

Full site copy or Content only

Full site copy rebuilds a whole site at the destination (a new site or one you already have). It brings across every library with its folders and files, every list with its columns and items, site pages with their layout and web parts, site content types and list views, version history (with original authors and dates in True History Mode), and file sharing permissions if you turn them on.

Still in early access (switching on for every account soon): site look and navigation, library settings, permission levels and groups, subsites, and updating links that point at the old site.

Content only moves the libraries, lists and site pages you pick into a site that is already set up. It leaves the destination site’s settings, content types, views and navigation alone.

Content types

With Content types on (on by default for Full site copy), custom site-level content types are copied before any list or library is created, so lists that use them find them at the destination.

What gets copied

What does not

List views

With List and library views on (on by default for Full site copy), each list’s custom views are recreated after its items are in place. View copying is best-effort.

What works

What may not copy

Version history for list items

With Migrate version history on, library files get their earlier versions replayed onto the destination (oldest first, each showing the migration time and account). List items work differently: the regular path can’t write earlier versions of a list item, so MigrationFox stores each item’s history as JSON in an extra column on the destination list.

How it works

  1. Each destination list gets a multi-line text column named Migrated Version History (internal name MigratedVersionHistory).
  2. For each item, MigrationFox reads its earlier versions from the source.
  3. The versions are written into that column as a JSON array. Each entry holds the version ID (v), when it was saved (at), who saved it (by) and the field values at that version (fields).

Reading the history back

Any SharePoint client can read the column. For example, with PnP PowerShell:

Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/hr" -Interactive
$item = Get-PnPListItem -List "Employees" -Id 42
$history = $item["MigratedVersionHistory"] | ConvertFrom-Json
$history | Format-Table v, at, by

Very long histories

If an item’s history JSON passes 900,000 characters, it is cut off at that point and ends with ...[TRUNCATED]. If the versions of one item can’t be read, that item still copies without history and a warning is logged.

In True History Mode, list items keep their real version history with original authors and dates instead.

Site pages

Modern site pages copy with their sections, columns and web parts, as part of Full site copy or when you pick the Site Pages library in Content only. Web parts Microsoft’s page API can’t create (such as Hero) are restored afterwards through SharePoint’s own page API. Web parts that point at the source site (lists, documents, images) may need fixing after the migration. Details: SharePoint site pages.

Permissions and cross-tenant user mapping

With Migrate permissions on, sharing on files and folders is copied: people the item is shared with directly, their access level (view, edit, review), and “anyone” or “people in your organization” links (recreated as new links). Within one tenant, people keep the same identity. Between tenants, add a user mapping so each source user becomes the right destination user.

User mapping format

Paste lines or upload a CSV with a source email and a destination email per line, in the wizard under User mapping (optional, cross-tenant) or once for the whole project on the project’s Connect tab. A header row is optional.

sourceEmail,destEmail
jane.doe@source-tenant.com,jane.doe@dest-tenant.com
raj.patel@source-tenant.com,raj.patel@dest-tenant.com

When a mapping is set, permissions for users who aren’t on it are dropped rather than granted to an outside address. Users are not emailed when access is granted at the destination.

What does not copy

Site-level permission levels, groups with their members, and site and list role assignments are part of the Full site copy early access. Full details: Cross-tenant permissions.

After it finishes

What does not migrate

Related