logo
search
SharePoint Document Issues

How to Import a Microsoft Lists Template in SharePoint

Aamir Naveed AkramAamir Naveed Akram Oct 7, 2026 869 views

Question details

The user needs to import a shared Microsoft Lists template (.stp file) into a SharePoint site, which requires administrative configuration.

How to Import a Microsoft Lists Template in SharePoint
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Importing and using a shared .stp list template file to create a new list in a SharePoint site.
Observed behavior
The .stp template does not appear in the List Template Gallery by default because custom scripts and list templates are disabled on the site.
Before you start

Ensure you have SharePoint Administrator or Global Administrator privileges and have installed the latest SharePoint Online Management Shell on your device.

Solution 1Recommended

Enable Custom Scripts and Upload the .stp Template

Use the SharePoint Online Management Shell to enable custom scripts, which allows you to upload and apply custom .stp list templates.

By default, modern SharePoint sites do not allow custom scripts, which hides the List Template Gallery. Administrators must override this setting using PowerShell before the template can be uploaded and applied.

1
Enable custom scripts via PowerShell

Open the SharePoint Online Management Shell as an administrator and run the command: Set-SPOSite <SiteURL> -DenyAddAndCustomizePages 0 (replace <SiteURL> with your actual SharePoint site URL).

2
Access the List Template Gallery

Navigate to your SharePoint site in a web browser, click the gear icon to open 'Site Settings', and select 'List templates' under the Web Designer Galleries section.

3
Upload the .stp file

Click the 'Files' tab on the ribbon, select 'Upload Document', and choose your .stp template file from your computer to add it to the gallery.

4
Create a list using the template

Go to 'Site contents', select 'New' > 'App' (or select Apps), and click the link to switch to the classic experience. Search for your uploaded template name and click it to create your new list.

Enable Custom Scripts and Upload the .stp Template
Administrator Privileges Required: Standard site owners cannot run the Set-SPOSite command. You must contact your IT administrator if you lack the required SharePoint Admin roles.
Free Microsoft Office alternative

Looking for a Lightweight Alternative for Document Management?

While SharePoint handles list templates and intranet sites, WPS Office provides a seamless, free alternative for your everyday document, spreadsheet, and presentation needs with full Microsoft format compatibility.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
  3. 3. Open Your Files: Launch WPS Office to easily open, edit, and collaborate on any existing Microsoft Office documents.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation with a familiar, easy-to-navigate user interface.Built-in PDF editing, conversion tools, and rich document templates.Free to use, enabling seamless migration from other office suites.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the 'List templates' option missing from my SharePoint Site Settings?

The 'List templates' option is hidden on modern SharePoint sites because custom scripting is disabled by default. An administrator must enable custom scripts using the Set-SPOSite PowerShell command to make the gallery visible.

Can I import a list template without SharePoint admin rights?

No, if custom scripts are not already enabled on the site, you cannot enable them or access the List Template Gallery without SharePoint Administrator or Global Administrator privileges.

How do I switch to the classic experience to find my template?

When you navigate to 'Site contents' and click to add an App, look for a 'classic experience' link typically located at the top or bottom of the App page. Clicking it will load the legacy view where custom .stp templates are displayed.