logo
search
Security Policy Errors

How to Manage Custom Script Settings in OneDrive and SharePoint

Kushani NimanthikaKushani Nimanthika Sep 25, 2026 868 views

Question details

Administrators need to know how to manage custom script settings and whether specific PowerShell policies remain permanent after recent rollouts.

How to Manage Custom Script Settings in OneDrive and SharePoint
Product
Microsoft SharePoint and OneDrive
Device & OS
not provided
Scenario
Configuring tenant security policies and managing unmanaged scripts during a Microsoft rollout.
Observed behavior
Microsoft is changing how custom scripts work, creating uncertainty about whether the DelayDenyAddAndCustomizePagesEnforcement setting requires periodic renewal.
Before you start

Ensure you have Global Administrator or SharePoint Administrator privileges in Microsoft 365 to view or modify tenant-level script policies.

Solution 1Recommended

Verify Current Policy via Microsoft 365 Support

Because custom script behavior depends on Microsoft's rollout schedule and your tenant configuration, opening a service request is the most reliable way to confirm your organization's policy.

Microsoft frequently updates security policies for SharePoint and OneDrive. Contacting support ensures you receive accurate information specific to your tenant's rollout phase.

1
Access the Admin Center

Log in to the Microsoft 365 admin center using your administrator credentials.

2
Navigate to Support

Click on 'Support' in the left-hand navigation pane and select 'Help & support' or 'New service request'.

3
Submit a Request

Describe your query regarding the DelayDenyAddAndCustomizePagesEnforcement setting and ask the support team to confirm the current custom script policy for your tenant.

Verify Current Policy via Microsoft 365 Support
Tenant Specifics: Support teams have access to backend configurations that determine exactly when and how the custom script deprecation impacts your specific environment.
Free Microsoft Office alternative

Looking for a Simpler Office Solution?

If managing complex tenant policies and PowerShell scripts in Microsoft 365 is slowing you down, consider WPS Office as a lightweight, user-friendly alternative for everyday document creation and sharing.

  1. 1. Download the Installer: Visit the official WPS website and download the free installation package.
  2. 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
  3. 3. Start Creating: Open WPS Office to immediately start working with your documents without complex administrative setups.
Highly compatible with Microsoft Word, Excel, and PowerPoint formatsNo complex tenant administration or PowerShell scripting requiredFree, lightweight, and easy to deploy across devicesFamiliar user interface for seamless and quick migration
microsoft office alternative - wps office

Frequently Asked Questions

What is the DelayDenyAddAndCustomizePagesEnforcement setting?

It is a PowerShell parameter used by administrators to delay or manage Microsoft's enforcement of restrictions on custom scripts (AddAndCustomizePages) within SharePoint sites.

Will my custom script settings remain permanent?

The permanence depends on Microsoft's current rollout plan. Many tenants find that the setting must be re-enabled periodically as enforcement policies are updated.

Who has permission to change custom script settings in Microsoft 365?

Only users assigned the Global Administrator or SharePoint Administrator roles can modify custom script policies and apply PowerShell changes to a tenant.