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 Purview: Auto-labeling scalability, policy management, and reporting enhancements

Microsoft Purview is improving auto-labeling capabilities to help organizations manage and validate labeling policies at enterprise scale. The...

2 hours ago

Updates available for Microsoft 365 Apps for all channels

We’ve released updates to the following update channels for Microsoft 365 Apps: Current Channel Monthly Enterprise Channel Semi-Annual E...

2 hours ago

Microsoft Purview | Data Lifecycle Management – Graph API Support for archive mailboxes

Microsoft is retiring Exchange Web Services (EWS) in Exchange Online by April 2027 and expanding Microsoft Graph API support for archive mailb...

2 hours ago

[Whiteboard] Legacy Whiteboard migration to OneDrive

Microsoft Whiteboard is migrating from legacy Azure-based storage to OneDrive-backed storage. Migration must be completed by September 25, 202...

2 hours ago

Microsoft Publisher: Reminder that support ends in October 2026

Microsoft Publisher support ends October 1, 2026; it will no longer be available in Microsoft 365 subscriptions. Users should convert or migra...

2 hours ago

[Whiteboard] Standalone app deprecation (Windows, Mobile)

Microsoft will retire standalone Whiteboard apps for Windows, iOS, and Android on October 16, 2026. Users must switch to accessing Whiteboard ...

2 hours ago

Microsoft Entra: Optimized passkey registration campaign experience

Microsoft Entra is enhancing passkey registration campaigns to optimize user experience and increase phishing-resistant authentication adoptio...

2 hours ago

The September 2026 Scan Cab is available

IMPORTANT: This notice only affects environments where Scan Cab is used to check for update compliance. What and why: The September 2026 Scan ...

2 hours ago

Teams admin center device state rules and health alerts retire; use Teams Rooms Pro Management portal

Teams admin center’s device state rules and health alerts will retire by late September 2026. Device health monitoring moves to the Team...

2 hours ago

Build apps in Microsoft Copilot Studio and Copilot Cowork

Microsoft announces a preview of app-building in Copilot Cowork starting September 8, 2026, with Copilot Studio following soon. Users with lic...

2 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.