SharePoint Document Issues

How to Move a Modern SharePoint Online List Between Sites

Adam DavisAdam Davis Nov 2, 2026 869 views

Question details

The user needs to move a modern SharePoint Online list to a different site, but the option to save the list as a template is missing from the list settings.

How to Move a Modern SharePoint Online List Between Sites
Product
SharePoint Online
Device & OS
not provided
Scenario
Migrating or copying an existing modern list from a source SharePoint site to a destination SharePoint site.
Observed behavior
The "Save list as template" option is hidden because modern SharePoint sites block custom scripts by default, preventing straightforward template exporting.
Before you start

Ensure you have SharePoint Administrator privileges and the latest version of the SharePoint Online Management Shell installed on your computer.

Solution 1Recommended

Enable Custom Scripts and Transfer via List Template

Use the SharePoint Online Management Shell to unblock custom scripts, restoring the missing template option so you can export and import the list.

Modern SharePoint sites disable custom scripting by default to enhance security. Temporarily enabling it via PowerShell allows you to access the legacy 'Save list as template' feature.

1
Connect to SharePoint Admin Center

Open the SharePoint Online Management Shell as an administrator and connect to your organization's admin center using the Connect-SPOService command.

2
Enable custom scripts for the source site

Run the command: Set-SPOSite -SiteURL <SiteURL> -DenyAddAndCustomizePages 0 (replacing <SiteURL> with your actual source site URL) to allow custom scripts.

3
Save the list as a template

Navigate to your source list in a web browser, click the Gear icon > List Settings, and select 'Save list as template' under Permissions and Management.

4
Download and upload the template

Go to the Site Settings > List Template Gallery on the source site, download the generated .stp file, and then upload this file to the List Template Gallery of your destination site.

5
Add the list to the destination site

On the destination site, go to Site Contents, click 'New' > 'App', and search for your uploaded template name to create the new list.

Enable Custom Scripts and Transfer via List Template
Re-enable Security Settings: Once the list has been successfully moved, it is highly recommended to run the same PowerShell command but change the value from 0 to 1 to re-block custom scripts for security purposes.
Free Microsoft Office alternative

Manage Exported SharePoint Data Easily with WPS Office

While moving lists inside SharePoint requires administrative PowerShell commands, analyzing your SharePoint list data offline shouldn't be complicated. Export your list to Excel and use WPS Office, a free and lightweight alternative to Microsoft Office, to seamlessly manage, edit, and share your data.

  1. 1. Export SharePoint List: In your SharePoint list, click 'Export' from the top command bar and select 'Export to Excel'.
  2. 2. Open in WPS Spreadsheet: Launch WPS Office, select Spreadsheets, and open the downloaded Excel or CSV file.
  3. 3. Edit and Analyze: Use WPS Spreadsheet's built-in formulas, pivot tables, and charting tools to manage your list data locally.
Fully compatible with Microsoft Excel (.xlsx) formats exported directly from SharePoint.Free, lightweight, and fast-loading alternative to Microsoft Office.Familiar tabbed user interface ensures a zero learning curve.Seamlessly analyze offline data without needing complex admin privileges.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the 'Save list as template' option missing in SharePoint Online?

By default, Microsoft disables custom scripting on modern SharePoint sites to enhance security and prevent unauthorized code execution. Disabling custom scripts automatically hides the 'Save list as template' option.

Do I need administrator rights to run the SharePoint Online Management Shell?

Yes, you must have SharePoint Administrator or Global Administrator privileges in your Microsoft 365 environment to run the Set-SPOSite command and modify script settings.

Can I include the existing list data when saving it as a template?

Yes. When you click 'Save list as template', there is a checkbox labeled 'Include Content'. Checking this will copy the data over, provided the data size does not exceed the SharePoint list template threshold (usually 50 MB).

How long does it take for the PowerShell script change to take effect?

In most cases, running the Set-SPOSite command to unblock custom scripts takes effect immediately. If the option does not appear right away, try refreshing your browser or clearing your cache.