Permission & Access Issues

Fix Add and Customize Pages Permissions in SharePoint Online

Tauseeq MagsiTauseeq Magsi Nov 22, 2026 868 views

Question details

Enable or find a supported alternative to the Add and Customize Pages permission on a modern SharePoint Online team site.

Fix Add and Customize Pages Permissions in SharePoint Online
Product
SharePoint Online
Device & OS
not provided
Scenario
A global administrator with Full Control wants to customize pages on a modern team site.
Observed behavior
Check Permissions still reports Add and Customize Pages as denied after custom scripting was enabled for more than 24 hours and a site-level PowerShell command was run.
Before you start

Identify the exact site collection URL and your tenant's SharePoint admin URL. Make sure you can connect to SharePoint Online Management Shell with an account that has the required administrative permissions.

Solution 1Recommended

Verify the site-level custom scripting setting

Use SharePoint Online Management Shell to confirm that the command targets the correct site collection and check whether the setting is applied.

1
Connect to the tenant

Open SharePoint Online Management Shell and run Connect-SPOService -Url https://<tenant>-admin.sharepoint.com, replacing <tenant> with your tenant name. Sign in when prompted.

2
Check the site setting

Run Get-SPOSite -Identity https://<tenant>.sharepoint.com/sites/<site> | Select-Object Url,DenyAddAndCustomizePages. Replace the URL with the exact site collection URL and confirm the result identifies the intended site.

3
Apply the setting

If custom scripting is permitted by your organization's policy, run Set-SPOSite -Identity https://<tenant>.sharepoint.com/sites/<site> -DenyAddAndCustomizePages 0 using the same site collection URL.

4
Recheck permissions and policy

Allow time for the change to propagate, rerun Get-SPOSite, and use Site permissions > Advanced permissions settings > Check Permissions to test the affected account. If the setting reverts or access remains denied, review tenant and site policies with your SharePoint administrator.

Verify the site-level custom scripting setting
Modern site limitations: Enabling custom scripting does not guarantee that classic customization options or settings will be available on a modern team site.
Free Microsoft Office alternative

Edit Office Documents with WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations in a familiar interface. It supports common Microsoft Office formats, making it easier to move existing files between applications. It does not change SharePoint permissions or tenant policies.

Edit documents used in your SharePoint workflowsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFamiliar tools for documents, spreadsheets, and presentationsFree and lightweight for everyday editing
microsoft office alternative - wps office

Frequently Asked Questions

Why does Check Permissions still show Add and Customize Pages as denied?

The command may have targeted a different site collection, the change may still be propagating, or a tenant or site policy may restrict custom scripting. Check DenyAddAndCustomizePages with Get-SPOSite and review the applicable policies.

Does Full Control automatically enable custom scripting?

No. Full Control does not necessarily override a site-level custom scripting restriction or tenant policy. Check the site's DenyAddAndCustomizePages setting separately.

How can I verify that I targeted the correct site collection?

Run Get-SPOSite -Identity with the full site collection URL and select Url and DenyAddAndCustomizePages. Confirm that the returned URL matches the site you intend to customize.

What can I use instead of classic scripts on a modern page?

Consider an approved SharePoint Framework solution for modern pages. Ask your SharePoint administrator about deployment through the tenant's app catalog.