Loading...

Updates to custom scripting in sites and Classic Publishing site creation

Updates to custom scripting in sites and Classic Publishing site creation

Custom scripting will be disabled by default for certain SharePoint Online templates starting September 15, 2025. Users can manage site property bag values without enabling custom scripting. Creation of new classic publishing site collections and activation of publishing features will be restricted. Existing sites remain unaffected. We are implementing the following changes to custom scripting and classic publishing in SharePoint Online. 1. Disablement of custom scripting Custom scripting will be disabled by default (setting DenyAddAndCustomizePages to 1 or $true) for sites created with the following templates: BLANKINTERNETCONTAINER#0 = Classic Publishing Portal Site CMSPUBLISHING#0 = Classic Publishing Site BLANKINTERNET#0 = Classic Publishing Site Blank CSPCONTAINER#0 = SharePoint Embedded Site Refer to this documentation to learn more about the security considerations of ungoverned scripting. 2. Ability to set site property bag valued without requiring custom scripting enablement. Users no longer need to set DenyAddAndCustomizePages to $false or 0 (i.e. enable custom scripting) in a site to manage site property bag values. We have introduced a new AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled setting at the site level and at the tenant level to allow adding/managing site property bag values. Please see documentation here for tenant level setting and here for the site level setting.  3. Classic publishing sites creation and feature activation changes Users will no longer be able to create new classic publishing related site collections or activate publishing features in existing site collections. This applies to both UX and API interactions. Sites collections with the following templates cannot be created: BLANKINTERNETCONTAINER#0 = Publishing Portal Site CMSPUBLISHING#0 = Publishing Site BLANKINTERNET#0 = Publishing Site Blank ENTERWIKI#0 = Enterprise Wiki SRCHCEN#0 = Enterprise Search Center SPSSITES#0 = Site Directory SPSNHOME#0 = News Home Site PRODUCTCATALOG#0 = Product Catalog SPSREPORTCENTER#0 = Report Center SPSTOPIC#0 = Topic Area Template Existing classic publishing enabled site collections are unaffected and can continue regular usage, including creation of sub sites. When this will happen Both changes, the extended custom scripting governance and the new classic publishing restrictions, will take effect starting September 15, 2025. How this will affect your organization When custom scripting is disabled in classic publishing sites, users will no longer […]

The post Updates to custom scripting in sites and Classic Publishing site creation appeared first on M365 Admin.

Published on:

Learn more
Need help with this product?

We can help you with Updates to custom scripting in sites and Classic Publishing site creation

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

M365 Admin
M365 Admin

by João Ferreira

Share post:

Related posts

Microsoft Copilot (Microsoft 365): Local inferencing

Local inferencing expands Microsoft Copilot’s sovereign controls by enabling AI inferencing for supported Copilot interactions to occur within...

11 hours ago

Dynamics 365 Customer Service: Quality evaluation supports knowledge source in criteria

Criteria questions can now use knowledge sources to help evaluate customer interactions. This allows organizations to ground evaluation criter...

11 hours ago

Microsoft Viva: Ability for leaders to publish Power BI reports

Microsoft Viva Insights is extending its report publishing capabilities from analysts to leader personas such as Chief Officers, Managers and ...

11 hours ago

Dynamics 365 Customer Service: Detailed quality evaluation score breakdown

Evaluation details now include a scoring breakdown at the overall, section, and question level. Users can see how the final evaluation score w...

11 hours ago

Dynamics 365 Customer Service: Support Not Applicable answer option for quality evaluation criteria

Criteria questions now support a Not Applicable answer option. When a question is marked as not applicable, it is excluded from scoring instea...

11 hours ago

Dynamics 365 Customer Service: Inactivate quality evaluation records

Quality managers can now inactivate evaluation records that should no longer contribute to scoring or reporting. Inactive evaluations are pres...

11 hours ago

Microsoft Teams: Granular Conditional Access for Teams meetings

Granular Conditional Access for Teams meetings gives organizations greater control over access to sensitive meetings. Administrators can apply...

11 hours ago

Customized PowerBI reports behavior after major report updates

Microsoft Viva Insights customized Power BI reports will remain tied to their original report versions and won’t auto-update with major report...

12 hours ago

Microsoft SharePoint: Changes to the FAQ web part authoring experience

The SharePoint FAQ web part will shift AI-assisted FAQ creation to Copilot in SharePoint, while retaining manual FAQ editing in the web part. ...

12 hours ago

Microsoft 365 Copilot: Federated Copilot connectors support create, update, and delete actions

Microsoft 365 Copilot’s federated connectors will support create, update, and delete actions in third-party services starting October 20...

12 hours ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.