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

Power Pages: Power Pages Copilot – Use Power Pages MCP server capabilities

Power Pages MCP server enables makers to expose site data and operations through a secure, standardized interface compatible with AI clients. ...

17 hours ago

Power Pages: Administration and governance – Manage external authentication providers with granular controls

Power Pages now lets you manage external authentication providers with environment-level governance controls and optional site-level exception...

17 hours ago

Power Pages: Administration and governance – Configure site analytics and server logging

Gain insights into your Power Pages site with integrated telemetry and analytics. Use Application Insights to monitor page views, form interac...

17 hours ago

Power Automate: Desktop flows – Export work queue items to CSV

You can now export work queue items directly from the Automation Center portal. A new option available in the Work Queues experience lets you ...

17 hours ago

Power Apps: Model-driven apps – Use row summaries in US Government clouds

Row summaries are expanding to supported US Government clouds, giving users in regulated environments access to AI-generated insights that hel...

17 hours ago

Microsoft Viva: Conversation Analytics

Conversation analytics updates are coming to Microsoft Viva Engage, giving communicators richer signals to understand how audiences engage wit...

17 hours ago

Microsoft Teams: Explicit consent for recording & transcription in one-to-one PSTN calls

Microsoft Teams will support explicit consent for participants connected through the public switched telephone network (PSTN) in one-to-one ca...

17 hours ago

Microsoft 365: [Education] Provide a Copilot starter prompt in Teams and LMS Assignments

Educators can provide a Copilot starter prompt from Student AI Guidelines in Teams and LMS Assignments. Students open Copilot with the educato...

17 hours ago

Teams admin center – Intelligent insights for meeting quality

AI-powered meeting quality insights in Teams admin center provide proactive detection of issues by analyzing historical data, highlighting hot...

17 hours ago

Microsoft Teams: Loop meeting notes stored in the meeting organizer’s OneDrive

Non-channel Microsoft Teams meeting notes, including Loop and Facilitator notes, will be stored in the meeting organizer’s OneDrive for Busine...

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