Permission & Access Issues

Fix Unavailable Form Web Parts in SharePoint Online

Tauseeq MagsiTauseeq Magsi Nov 18, 2026 869 views

Question details

The user needs access to Form Web Parts in a classic SharePoint list after enabling custom scripts.

Fix Unavailable Form Web Parts in SharePoint Online
Product
SharePoint Online
Device & OS
not provided
Scenario
A user is trying to customize a classic list form with web parts.
Observed behavior
Form Web Parts is disabled because of insufficient permission. After a site-level change, the button becomes available, but the user cannot find the Media and Content category or the Web Parts gallery.
Before you start

Confirm the target site URL and ask a SharePoint administrator to check the custom script policy and your site permissions. Custom scripts can introduce security risks, so the administrator should verify that enabling them is permitted by your organization.

Solution 1Recommended

Enable custom scripts for the specific SharePoint site

Use SharePoint Online Management Shell to apply the setting to the target site without waiting for the admin center change to propagate.

1
Open the management shell

Ask a SharePoint administrator to install the latest SharePoint Online Management Shell and open it.

2
Connect to the tenant

Run Connect-SPOService -Url https://tenant-admin.sharepoint.com, replacing tenant with your Microsoft 365 tenant name, and sign in when prompted.

3
Enable scripts for the site

Run Set-SPOSite -Identity https://tenant.sharepoint.com/sites/siteName -DenyAddAndCustomizePages 0, replacing the URL with the target site URL.

4
Verify the setting and form

Run Get-SPOSite -Identity https://tenant.sharepoint.com/sites/siteName | Select-Object DenyAddAndCustomizePages. Then refresh the classic list and check whether Form Web Parts is available.

5
Check for missing web parts

In the classic form or page editor, select Add a Web Part and look for Media and Content. If it or the Web Parts gallery is missing, ask a site administrator to check your permissions and which web parts are available in that site and editing context.

Enable custom scripts for the specific SharePoint site
A site setting may not resolve every missing option: Enabling custom scripts can make Form Web Parts available, but it does not guarantee that a particular category or gallery will appear. Organization policies and site configuration can also affect availability.
Free Microsoft Office alternative

Work with Office files in WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations in a familiar interface. Its Office format support makes moving everyday files straightforward, though it does not change SharePoint settings or enable SharePoint web parts.

Edit documents and spreadsheets used alongside SharePoint workflowsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFamiliar interface for an easier transition from Microsoft OfficeFree and lightweight for everyday office work
microsoft office alternative - wps office

Frequently Asked Questions

How long does a SharePoint admin center custom script change take?

The change may take up to 24 hours. A SharePoint administrator can instead use Set-SPOSite with -DenyAddAndCustomizePages 0 to enable scripts for a specific site.

Who can run the SharePoint Online Management Shell commands?

A SharePoint administrator can connect to the tenant admin URL with Connect-SPOService and apply the site-level setting with Set-SPOSite.

Why is Media and Content still missing after Form Web Parts is enabled?

Enabling custom scripts does not guarantee that every web part category is available. Check Add a Web Part in the classic editor, then ask a site administrator to review permissions and the site's web part availability.

Where can I check the site's custom script setting?

In SharePoint Online Management Shell, an administrator can run Get-SPOSite -Identity <SiteURL> | Select-Object DenyAddAndCustomizePages, replacing <SiteURL> with the target site URL.

Can WPS Office enable SharePoint Form Web Parts?

No. Form Web Parts and custom script settings are managed in SharePoint Online. WPS Office can be used separately to work with compatible Office files.