Skip to content
← Back to Blog

MIGRATION · April 14, 2026 · Updated November 6, 2026 · 8 min read

Migrating SharePoint Site Pages: why canvas layout matters

The first time someone migrates a SharePoint site with a tool that treats pages as list items, they get a surprise on Monday morning. The page is there. The URL resolves. The text shows up. But the layout is flat, the image web parts are gone, the Highlighted Content rollups are empty, and the custom SPFx hero web part renders as a gray error box. The migration technically succeeded. The page is technically broken.

This post explains why modern SharePoint pages break under naive migration, what the Graph pages API actually returns, and how MigrationFox’s SharePoint Site Migration preserves canvas layout and web-part configuration across tenants. Sections, web-part property bags, the title area, and news-post state are all carried across.

What a modern SharePoint page actually is

In classic SharePoint, a page was basically an HTML document stored in the Pages library. You could almost get away with reading the .aspx file, copying the body, and pasting it into a new file on the destination. It was ugly, but it roughly worked.

Modern pages (everything created since the SitePages content type replaced the classic Wiki Page model) are not HTML documents. They are structured canvas layouts backed by a JSON schema. A page has:

When you open a page in the browser, SharePoint deserializes that structure, looks up each web part by its type ID, and renders it. The HTML you see in devtools is the output of rendering, not the source of truth. The source of truth is the canvas JSON.

Why list-item migration breaks pages

A lot of generic migration tools treat the Site Pages library the same way they treat any document library: enumerate items, copy files, done. For document library files that approach is fine: a PDF is a PDF and its bytes are self-contained.

For a Site Pages library it fails in several ways at once:

What the user sees: a list of files in the destination Site Pages library that look right in the file listing but render as rubble when opened. And because list-item migration “succeeded”, there is nothing in the migration log pointing at the problem.

The right way: Graph Pages API

Microsoft exposes the canvas model through the Graph pages endpoint under /sites/{site-id}/pages. A GET returns the full page object, with the canvas structure as a typed JSON tree rather than an opaque HTML blob. For each web part it returns:

A POST to /sites/{site-id}/pages with the same structure creates a new page on the destination, with the same canvas layout, the same web parts, and the same properties. Followed by POST to .../publish and optionally .../promoteToNewsPost, and the page is live.

The Graph Pages API is the right abstraction for modern pages in the same way that contentTypes is the right abstraction for schema. Treating pages as list items is treating structured data as if it were a string.

How MigrationFox walks a page

For each page in the source Site Pages library, the flow looks close to this:

1. GET /sites/{source-site}/pages/{page-id}
2. Read the canvas sections, columns, web parts, and title area
3. Create the page on the destination through the Graph pages
   API with the same layout, web parts, and news-post state
4. If Graph had to leave a web part out, re-save the page
   through SharePoint's own page API with the full source
   canvas, pointing source site, web, and list IDs and URLs
   at the destination
5. Publish the page
6. Restore the source Created, Modified, Author, and Editor
   values on the page

Step 4 exists because the Graph pages API does not accept every web part. Rather than drop those web parts silently, the engine writes the source canvas through SharePoint’s page API instead. In that path, web parts that reference data by ID (a Highlighted Content web part rolling up “the last five documents from the Policies library” holds the GUID of the source library) are pointed at the destination library with the same name, which means the list has to exist on the destination first. That is why schema before items, items before pages is the phase order. If a page could not be restored completely, the job log names the page and what changed.

Cross-tenant URL caveats

Even with perfect canvas preservation, cross-tenant page migration has a class of reference that you cannot transparently fix: explicit hyperlinks in text web parts that point at full source-tenant URLs.

A rich-text web part might contain something like <a href="https://acme.sharepoint.com/sites/hr/handbook/welcome.aspx">Read the handbook</a>. That URL lives inside the text of the web part, not as a typed reference. The destination tenant is newcompany.sharepoint.com, so after a cross-tenant move the link still points at the old tenant.

Plan for this explicitly: before cutover, search the source pages for links to the source tenant’s hostname, and give content owners a list to fix on the destination. Automated rewriting of rich-text bodies is risky because some of those links are deliberate (to the old tenant during a transition, or to a page someone kept on purpose).

What actually gets preserved

ElementPreservedNotes
Canvas sections & columnsYesFull layout including vertical sections
Text web partsYesRich text and formatting; links inside the text keep their original URLs
Image web partsYesThe web part keeps its image reference. Images stored in the site’s libraries (such as Site Assets) come across when you migrate those libraries
Web parts Graph cannot writeYesPage re-saved through SharePoint’s page API; source site, web, and list IDs pointed at the destination
Title area / bannerYesLayout and banner settings
Promoted / News post stateYesCarried across when the page is created
Created, Modified, Author, EditorYesRestored from the source after the page is created
Third-party SPFx web partsReference onlyThe solution package must be installed on the destination for the web part to render
Page-level approvals / pending draftsPartialCurrent published version migrates; draft workflow state does not

The SPFx package problem

Custom SPFx web parts are the one category a migration cannot complete on its own, and it is worth being honest about why.

An SPFx web part is a packaged solution (.sppkg) that has to be uploaded to the destination tenant’s App Catalog and then deployed to the sites that use it. That is a tenant-admin action in a system the migration does not write to. The page migrates with the web-part reference intact; if the package is installed on the destination, the web part renders on first load. If it is not, the web part shows as an error tile until it is.

MigrationFox does not check which SPFx packages are installed on the destination. Before cutover, have the tenant admin compare the source and destination App Catalogs and install any custom solutions the source pages use.

The migration order, with pages included

Site Pages are the penultimate phase in a clean SharePoint site migration, after items but before permissions:

  1. Site columns and content types
  2. Lists and libraries with bound content types
  3. List items and files
  4. List views
  5. Site Pages (including canvas, web parts, publish state)
  6. Permissions: applied against the cross-tenant UPN mapping

Pages come after items because a web part that references list X needs list X to exist on the destination when the page is written. Pages come before permissions because the permissions replay is the last thing to touch the site, and all content should exist before it starts locking things down.

Known gaps to plan around

A few page-related capabilities are not preserved by Graph-based migration. Plan around them:

For most migrations, these gaps are acceptable. For records-retention use cases where the page history is itself a regulated artifact, treat SharePoint pages the same way you would treat list items with version-history requirements: capture the history as a sidecar on the source before migration, and keep it queryable.

Related reading

Get started

Start with a pilot: create a free account at app.migrationfox.com/register and migrate one representative site, pages included, before the real cutover. If you want a read-only check first, with the Tenant Suite or Consultant Pro, Migration Rehearsal counts the pages and flags content-type, path, and permission problems on the site before anything is written.

Migrate pages as pages, not as list items

Free account. 2 GB of credits, no credit card.

Start Free →