logo
search
SharePoint Document Issues

How to Fix SharePoint Custom Scripting Automatic Disablement

Maira MehtabMaira Mehtab Sep 27, 2026 869 views

Question details

Administrators need to prevent or manage the automatic disablement of custom scripting on SharePoint sites to maintain migrations, scripts, and templates.

Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Managing tenant and site settings for custom scripts, migrations, and SharePoint Designer access.
Observed behavior
SharePoint custom scripting is automatically disabled on affected sites after 24 hours, disrupting dependent customizations, templates, and migrations.
Before you start

Ensure you have SharePoint Administrator or Global Administrator privileges in Microsoft 365 to modify tenant and site-level scripting policies.

Solution 1Recommended

Re-enable Custom Scripting via SharePoint Admin Center

Use this method to monitor and manually re-enable custom scripting on affected sites before the 24-hour expiration period ends.

Because the custom scripting setting is managed at the site level, administrators must monitor affected sites and re-enable the feature to extend the allowed period.

1
Check Message Center

Log in to the Microsoft 365 admin center and check the Message Center announcements to verify your tenant's current scripting policy rollout status.

2
Open SharePoint Admin Center

Navigate to the SharePoint Admin Center and locate the specific Active Sites where custom scripts, templates, or SharePoint Designer are used.

3
Re-enable Scripting

Select the affected site and adjust the settings to allow custom scripts. Toggling it on again before the 24-hour period expires will extend the period.

24-Hour Limit: Beginning in November 2024, custom scripting may turn off automatically after 24 hours, requiring administrators to monitor and toggle it back on.
Free Microsoft Office alternative

Edit and Manage Documents Seamlessly with WPS Office

While managing complex SharePoint scripting policies can be challenging, creating and editing your daily documents shouldn't be. WPS Office provides a lightweight, highly compatible alternative to Microsoft Office for all your word processing, spreadsheet, and presentation needs.

  1. 1. Download and Install: Visit the official WPS website to download the free office suite for your operating system.
  2. 2. Open Your Files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint documents without worrying about format loss.
  3. 3. Edit and Save: Edit your documents with advanced tools and save them locally or to your preferred cloud storage.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Lightweight design ensures fast loading and smooth editing on any device.Familiar user interface requires zero learning curve for seamless migration.Easily upload and manage documents without relying on complex site customizations or custom scripts.
microsoft office alternative - wps office

Frequently Asked Questions

When does the automatic disablement of SharePoint custom scripting take effect?

The automatic disablement policy began taking effect in November 2024. Once triggered in an affected tenant, custom scripting on sites will turn off automatically after 24 hours.

What features are affected when custom scripting is disabled?

Disabling custom scripting impacts several functionalities, including site migrations, access via SharePoint Designer, custom web templates, list templates, and any scripting-dependent customizations.

Does enabling custom scripting on a parent site automatically apply to subsites?

Custom scripting policies are generally managed at the specific site level. You must configure and monitor the settings for both parent sites and individual subsites depending on your specific tenant architecture.

Can I permanently enable custom scripting on a SharePoint site?

Under the new policy updates rolling out in late 2024, administrators may not be able to permanently enable it through standard UI settings, as it reverts after 24 hours. Automated scheduled scripts are often used as a workaround to re-enable it periodically.