Skip to main content
🦉
Message CenterMicrosoft 365 Updates
HomePermissionsTenant FinderPortfolio
🦉
M365 Message Centerby Cengiz YILMAZ

Track the latest updates, features, and announcements for Microsoft 365 services. Comprehensive archive of service updates and important changes.

Quick Links

HomePermissionsTenant FinderPortfolio

Connect

© 2026 M365 Message Center. Created with ❤️ by Cengiz YILMAZ

Data sourced from Microsoft 365 Message Center • Not affiliated with Microsoft

  1. Home
  2. /
  3. MC1186368

Microsoft SharePoint: Update to custom scripting governance in App Catalog site

Plan for Change
Major Change

Message ID

MC1186368
View in Admin Center

Services

SharePoint Online

Summary

Starting mid-January 2026, custom scripting will be disabled by default on the tenant-wide SharePoint App Catalog site to enhance security. App operations remain unaffected, but new custom script changes will be blocked. Admins can temporarily opt out using PowerShell commands and should inform site owners accordingly.

Details

To strengthen security and reduce the risk of ungoverned scripting, Microsoft is expanding the custom scripting governance in the App Catalog site. This change helps ensure a more secure and manageable environment in SharePoint Online.

What will happen:

Custom scripting will be disabled (setting DenyAddAndCustomizePages to 1 or $true) for the tenant-wide App Catalog site using the APPCATALOG#0 template.

When this will happen: Default custom scripting governance on the App Catalog site will take effect starting in mid-January 2026.

Who is affected: Admins managing the SharePoint tenant-wide App Catalog site and content inside.

How this affects your organization:

  • App operations remain unaffected: Uploading, updating, and deploying SharePoint and Office apps will continue to work.
  • Custom script-based changes will be blocked: New changes related to custom scripting in the App Catalog Site will be disabled by default; existing custom scripting related customizations will remain unaffected.

What you can do to prepare:

  • Inform App Catalog site owners and helpdesk staff in your organization of this upcoming change to reduce confusion and support calls.
  • To temporarily opt out of custom scripting governance for a specific site (effective for 24 hours with tenant admin approval), use the following PowerShell command:

Set-SPOSite <SiteURL> -DenyAddAndCustomizePages $false

  • To update the site property bag (by default disallowed when custom script governance is enabled), use the following PowerShell commands to enable it at tenant or site level:

Set-SPOTenant -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled $true
Set-SPOSite <SiteURL> -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled $true

Learn more: 

  • Security considerations of allowing custom script | SharePoint in Microsoft 365 | SharePoint | Microsoft Learn
  • Allow or prevent custom script | SharePoint in Microsoft 365 | SharePoint | Microsoft Learn
  • Overview of the SharePoint Framework | SharePoint | Microsoft Learn

Compliance considerations:

No compliance considerations identified, review as appropriate for your organization.

Timeline

📅
Published
Nov 14, 2025
Message published to Message Center
✏️
Updated
Nov 15, 2025
Message content updated
⚠️
Action Required By
Jan 13, 2026
Action deadline
🏁
End Date
Jun 15, 2026
Message timeline ends

Tags

#Feature update#User impact#Admin impact

Category

📋Plan for Change

Related Messages

Similar updates

MC1188599

Microsoft 365: Modern Access Request and Access Denied web page

Nov 21, 2025
MC1184649●

Microsoft SharePoint: Retirement of IDCRL authentication protocol and enforcement of OpenID Connect and OAuth protocols

Nov 11, 2025
MC1182690

Microsoft SharePoint: eSignature now available in Türkiye

Nov 4, 2025
MC1097272●

Microsoft 365 Upcoming Secure by Default Settings Changes

Jun 17, 2025
MC1089315●

Resharing to external users required after enabling Microsoft SharePoint integration with Microsoft Entra B2B

Jun 6, 2025