Public mode

No access to your tenant or devices. Every item links to its source. What this means

Some sources, documents or advisories need attention: 272/272 feeds/APIs · 469/469 docs · 8/9 advisories · checked 11:37 UTC Customize Public modeDiscuss ChangeIntel on Discord

Remove Custom Script setting in OneDrive and SharePoint

Microsoft 365 Message Center Archive by Merill Fernando · Microsoft may not have sent this notice to your tenant.

Schedule dates changed in the text

Date phrases in schedule sentences differ between the versions this installation saw
  • Seen 28 Mar 2024 March 2024
  • Seen 27 Mar 2024 mid-November 2024
  • Seen 26 Mar 2024 mid-November 2024 → May 2024, Mid-April 2024
  • Seen 5 Mar 2024 May 2024 → mid-November 2024

Read from date phrases in Microsoft's text, not from notice metadata. A changed phrase can be a moved rollout, a new milestone or just rewording; "What changed" below shows which.

What the notice says

Microsoft’s text, with source markup removed
Updated August 28, 2024: The template “GROUP#0 = Team site” will not be excluded from enforcement. Previously this was part of exempted templates. Thank you for your patience. PowerShell command (DelayDenyAddAndCustomizePagesEnforcement) to delay the change will be fully available by mid- April (Previously March). The enforcement to set NoScriptSite to True for all existing SharePoint sites and OneDrive sites if DelayDenyAddAndCustomizePagesEnforcement is not set to True will start late-April and be completed by early-May (Previously March) There are changes happening to Custom script settings between April and May 2024 (Previously March). The Custom Script setting, which determines if users can execute custom scripts on personal sites and self-service created sites will be removed by early-May (Previously March).This setting is currently located in the SharePoint Admin Center, under Settings -> Classic Settings. A new PowerShell command, "DelayDenyAddAndCustomizePagesEnforcement", has been introduced. This command is available in the SharePoint Online Management Shell version 16.0.24524.12000, or above which allows delay of the change to custom script set on the Tenant until mid-November 2024 (previously May). Note: that while this cmdlet is available in the latest management shell, running the cmdlet will result in an error (The requested operation is part of an experimental feature that is not supported in the current environment) until Mid-April 2024 (Previously March) when the settings are shipped. * False (default) - for site collections where administrators enabled the ability to add custom script, SharePoint will revoke that ability within 24 hours from the last time this setting was changed. * True - All changes performed by administrators to custom script settings are preserved. When the value is set to true, a banner shows in the active sites list of the SharePoint admin center informing that changes to custom scripts are permanent. Set-SPOTenant -DelayDenyAddAndCustomizePagesEnforcement $True Please be aware that the new PowerShell command will only be accessible until mid-November 2024 (previously May). Post that period, on SharePoint sites if administrators wish to continue using features that are only available when unmanaged custom scripts are permitted to run, they will need to re-enable the running of custom scripts every 24 hours. This option does not impact existing custom scripts. The NoScriptSite setting will be configured to True for all existing SharePoint sites and OneDrive sites except for below mentioned sites templates. BLANKINTERNETCONTAINER#0 = Classic Publishing Portal site CMSPUBLISHING#0 = Publishing Site BLANKINTERNET#0 = Publishing Site APPCATALOG#0 = App Catalog CSPCONTAINER#0 = CSP Container The execution of existing scripts in OneDrive and SharePoint sites will remain unaffected. There will not be an option to enable custom script on OneDrive sites once the delay set using DelayDenyAddAndCustomizePagesEnforcement ends in mid-November 2024 (previously May). Customers will retain the ability to permit the execution of custom scripts on specific SharePoint sites using the Set-SPOSite <SiteURL> -DenyAddAndCustomizePages PowerShell command or from the Active sites page in the SharePoint Admin Center. Any modifications made to a site will be automatically reverted to False status within 24 hours, unless the new PowerShell command “DelayDenyAddAndCustomizePagesEnforcement” is used prior to mid-November 2024 (previously May). After mid-November, the 24 hour reversion will occur regardless of this setting.  When this will happen: The Custom Script setting from SharePoint admin center will be removed early-May (Previously March).. The new PowerShell command will be available by mid-April (Previously March). How this will affect your organization: When this Custom Script setting is removed, you will no longer be able to add, modify or remove scripts within OneDrive and SharePoint sites unless administrators temporarily allow that by turning the setting on specific sites. This will not impact the ability to execute existing scripts in OneDrive and SharePoint sites.  What you need to do to prepare: No extensions will be granted beyond the mentioned period. It may be beneficial to inform all site owners about this modification and make necessary updates to your training materials and documentation accordingly. Review the following for additional information: Allow or prevent custom script

What changed

Between archive captures, newest first
  1. Updated August 27,28, 2024: We have updated the content below.The template “GROUP#0 = Team site” will not be excluded from enforcement. Previously this was part of exempted templates. Thank you for your patience. PowerShell command (DelayDenyAddAndCustomizePagesEnforcement) to delay the change …

  2. Updated May 22,August 27, 2024: We have updated the content below for clarity. below. Thank you for your patience. Setting Custom scripts setting for a site in SharePoint tenant admin center will be fully available by early-April (Previously March). PowerShell command (DelayDenyAddAndCustomizePagesEnforcement) to delay the change will be fully available by … - All changes performed by administrators to custom script settings are preserved. When the value is set to true, a banner shows in the active sites list of the SharePoint admin center informing that changes to custom scripts are permanent. Set-SPOTenant -DelayDenyAddAndCustomizePagesEnforcement $True Please be aware that the new PowerShell command will … Classic Publishing Portal site CMSPUBLISHING#0 = Publishing Site BLANKINTERNET#0 = Publishing Site GROUP#0 = Team site APPCATALOG#0 = App Catalog CSPCONTAINER#0 = CSP Container The execution of existing …

  3. The text changed; it is too long to compare word by word here.

  4. The text changed; it is too long to compare word by word here.

  5. Updated March 26,27, 2024: Setting Custom scripts setting for a site in SharePoint tenant admin … delay of the change to custom script set on the Tenant until May 2024.mid-November 2024 (previously May). Note: that while this cmdlet is available in the latest management shell, … be aware that the new PowerShell command will only be accessible until May 2024.mid-November 2024 (previously May). Post that period, on SharePoint sites if administrators wish to continue using … script on OneDrive sites once the delay set using DelayDenyAddAndCustomizePagesEnforcement ends in May 2024.mid-November 2024 (previously May). Customers will retain the ability to permit the execution of custom scripts … 24 hours, unless the new PowerShell command “DelayDenyAddAndCustomizePagesEnforcement” is used prior to May 2024.mid-November 2024 (previously May). After May,mid-November, the 24 hour reversion will occur regardless of this setting.  When this …

  6. Updated March 5,26, 2024: We have extended the support for the newSetting Custom scripts setting for a site in SharePoint tenant admin center will be fully available by early-April (Previously March) PowerShell command until mid-November 2024. Thank you(DelayDenyAddAndCustomizePagesEnforcement) to delay the change will be fully available by mid-April (Previously March) The enforcement to set NoScriptSite to True for your feedback.all existing SharePoint sites and OneDrive sites if DelayDenyAddAndCustomizePagesEnforcement is not set to True will start late-April and be completed by early-May (Previously March) There are changes happening to Custom script settings in March 2024.between April and May 2024 (Previously March). The Custom Script setting, which determines if users can execute custom scripts on personal sites and self-service created sites will be removed.Thisremoved by early-May (Previously March).This setting is currently located in the SharePoint Admin Center, under Settings -> … delay of the change to custom script set on the Tenant until mid-November 2024 (previously May). May 2024. Note: that while this cmdlet is available in the latest management shell, … an experimental feature that is not supported in the current environment) until MarchMid-April 2024 (Previously March) when the settings are shipped. * False (default) - for site collections … SharePoint admin center informing that changes to custom scripts are permanent. Set-SPOTenant DelayDenyAddAndCustomizePagesEnforcement-DelayDenyAddAndCustomizePagesEnforcement $True Please be aware that the new PowerShell command will only be accessible until mid-November 2024 (previously May). May 2024. Post that period, on SharePoint sites if administrators wish to continue using … script on OneDrive sites once the delay set using DelayDenyAddAndCustomizePagesEnforcement ends in mid-November 2024 (previously May). May 2024. Customers will retain the ability to permit the execution of custom scripts … 24 hours, unless the new PowerShell command “DelayDenyAddAndCustomizePagesEnforcement” is used prior to mid-November 2024 (previously May). May 2024. After mid-November 2024, the 24-hourMay, the 24 hour reversion will occur regardless of this setting.  When this will happen: The …

    • Title Remove Custom Script setting in OneDrive and SharePoint web → Remove Custom Script setting in OneDrive and SharePoint
  7. The text changed; it is too long to compare word by word here.

  8. … After May, the 24 hour reversion will occur regardless of this setting.  When[When this will happen:happen:] The Custom Script setting from SharePoint admin center will be removed in March 2024.  The new PowerShell command will be available in March 2024. How[How this will affect your organization:organization:] When this Custom Script setting is removed, you will no longer be … impact the ability to execute existing scripts in OneDrive and SharePoint sites.  What[What you need to do to prepare:prepare:] No extensions will be granted beyond the mentioned period. It may be …

  9. · first version seen

Linked documentation

Microsoft pages the notice links to

The notice links to no Microsoft Learn or Support page that this installation reads.

No related evidence found in this installation's recent collection. This does not establish that no announcement exists.

Not confirmed here

What this page cannot tell you
  • Whether your tenant is affected: this is Microsoft's notice, not a check of your settings.
ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 26 Oct 11:37 UTC · 272 of 272 readable · 270 fully read · documentation 469/469 current