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:
- Sections, each with a column layout (one-column, two-column, three-column, vertical section)
- Columns inside each section, each with a factor that controls relative width
- Web parts inside each column, each with a strongly-typed ID and a JSON property bag
- Page-level metadata (title, banner image, banner layout, description, promoted state)
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:
- The canvas JSON lives in a hidden column (
CanvasContent1) that the tool may not carry across correctly because it exceeds the list-item field-length thresholds SharePoint imposes - Even if the canvas JSON is copied byte-for-byte, web-part references to lists, libraries, or images include the source site’s URLs and IDs, which do not exist on the destination
- Third-party SPFx web parts reference package IDs that may not be installed on the destination tenant; the web part loads as an error tile
- Page-level properties like promoted state (“Make this a news post”) are not part of the canvas JSON; they are set through a separate publishing API and have to be replayed explicitly
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:
- The web-part type ID (a GUID that identifies which web part it is)
- The instance ID (a unique per-page GUID so the page can reference it internally)
- The properties JSON: all the configuration the user has set via the property pane
- The server-processed content (for text parts, this is the rich text; for image parts, the image reference)
- The column the web part sits in, and its order within that column
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
| Element | Preserved | Notes |
|---|---|---|
| Canvas sections & columns | Yes | Full layout including vertical sections |
| Text web parts | Yes | Rich text and formatting; links inside the text keep their original URLs |
| Image web parts | Yes | The 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 write | Yes | Page re-saved through SharePoint’s page API; source site, web, and list IDs pointed at the destination |
| Title area / banner | Yes | Layout and banner settings |
| Promoted / News post state | Yes | Carried across when the page is created |
| Created, Modified, Author, Editor | Yes | Restored from the source after the page is created |
| Third-party SPFx web parts | Reference only | The solution package must be installed on the destination for the web part to render |
| Page-level approvals / pending drafts | Partial | Current 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:
- Site columns and content types
- Lists and libraries with bound content types
- List items and files
- List views
- Site Pages (including canvas, web parts, publish state)
- 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:
- Page comments and likes. Graph does not currently expose a supported write path for migrating historical page comments. Current comments do not come across.
- Draft versions. Only the current published version of a page is migrated. If a page has an in-progress unpublished draft, that draft is not preserved.
- Page version history. Like list item version history, pages carry a version stack that cannot be replayed through Graph. The current canvas migrates; prior versions do not.
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
- SharePoint Site Migration platform page: the full capability matrix
- SharePoint migration best practices: 2026 edition: sequencing and audit checklist
- Cross-tenant SharePoint permissions without user-mapping hell: the permissions phase
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.