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 moreWe 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.
Related posts
Microsoft SharePoint: Organization-wide page templates
SharePoint introduces organization-wide page templates managed centrally in the brand center site, enabling consistent, reusable page creation...
Microsoft Dataverse – Plug-in trace log column access update
Starting January 5, 2027, we’re restricting access to three columns in the Plug-in Trace Log table: Message Block, Configuration and Sec...
Users in 100,000 person events can raise their hand
Users in events with up to 100,000 attendees can now raise their hand to ask questions live, with organizers enabling mic and camera access. R...
Microsoft Teams mobile: Take notes with Facilitator for in-person conversations, now with speaker attribution
Microsoft Teams mobile now includes Facilitator for in-person note-taking with speaker attribution, capturing discussions into notes, summarie...
Access denied reporting for SharePoint security policies
SharePoint Advanced Management expands access denied reporting beyond Restricted Access Control, enabling admins to identify denied actions, a...
Updates available for Microsoft 365 Apps for Current Channel
We’ve released updates to the following update channel for Microsoft 365 Apps: Current Channel When this will happen: We’ll be gra...
Content Provenance Enhancements for AI Generated Text
Microsoft has introduced content provenance enhancements in Office to increase transparency for AI-generated and AI-modified text. These featu...
Microsoft Viva Glint: Customize Teams survey notifications
Microsoft Viva Glint admins can soon customize Microsoft Teams survey notifications, including title, message, and button label, with live pre...
Microsoft 365 Copilot: New language preference setting for Voice conversations
Microsoft 365 Copilot will introduce a new voice setting allowing users to select their preferred spoken language for voice conversations. Thi...
Microsoft eCDN: Update legacy Silent Test runners to use runner keys
Legacy Microsoft eCDN Silent Test runners must use tenant-specific runner keys by January 18, 2027, to enhance security. This affects script-b...