Skip to content

Want to filter, watch and bookmark items? Sign in to check out the full ChangePilot feature set.

Plan for change Admin Medium User Low Ask about this change Watch Bookmark Labels

MC1186368 Update to custom scripting governance in App Catalog site

Primary service: SharePoint

ChangePilot summary

  • Custom scripting will be disabled for the tenant-wide App Catalog site to enhance security.
  • Existing custom script customizations will remain unaffected; new script changes will be blocked.
  • Admins should inform App Catalog site owners and helpdesk staff about the change to minimize confusion.
  • Specific sites can temporarily opt out of custom scripting restrictions with PowerShell commands for 24 hours, pending admin approval.
  • Updates to the site property bag will require enabling permissions at the tenant or site level.

History

Recorded changes

No changes recorded since ChangePilot first saw this post.

Microsoft message

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:

Compliance considerations:

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

More information

Details

Preview start
Preview end
Release start
Release end
Action required by
Published by Microsoft

Services

  • SharePoint

Category

  • Plan for change

Microsoft tags

  • Feature Update
  • User Adoption
  • Admin Action
Open in the Microsoft 365 admin center