How to Import a Microsoft Lists Template in SharePoint
Question details
The user needs to import a shared Microsoft Lists template (.stp file) into a SharePoint site, which requires administrative configuration.

- 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.
Ensure you have SharePoint Administrator or Global Administrator privileges and have installed the latest SharePoint Online Management Shell on your device.
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.
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).
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.
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.
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.

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. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
- 3. Open Your Files: Launch WPS Office to easily open, edit, and collaborate on any existing Microsoft Office documents.

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.




