Removing Custom Scripting on SharePoint Sites

Copper Contributor

Hello everyone,

Are they really removing custom scripts on classic SharePoint Sites?

Could someone help me understand the following message from the M365 message center?
Are they planning to remove the Custom Scripts setting only from the Admin Center and keep the possibility to enable it via PowerShell, or will they block running custom scripts on classic pages completely? 

"Message Summary

In the SharePoint admin center, there is a Custom Script setting that controls whether users can run custom scripts in OneDrive and SharePoint sites. This setting will be removed in March 2024.

By removing this setting, Administrators will no longer be able to control the default behavior on self-service created sites or personal sites. However, customers will still be able to temporarily enable the ability to run custom script by using PowerShell, as described in the articles mentioned below.

By removing this setting, administrators will no longer be able to add, modify or remove scripts. This will not impact the ability to execute existing scripts in OneDrive and SharePoint sites. 

When this will happen:

This setting will be removed in March 2024.

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 site collections using PowerShell. This will not impact the ability to execute existing scripts in OneDrive and SharePoint sites. 

What you need to do to prepare:

This setting will be removed by default in March 2024, but you can request an extension within the SharePoint admin center. This will keep the setting available until June 2024.

Review the following for additional information: Allow or prevent custom script"

VladSchiop_0-1707806958000.png

 

 

This is what confuses me:
"However, customers will still be able to temporarily enable the ability to run custom script by using PowerShell, as described in the articles mentioned below."

Is this going to affect custom actions on classic pages?

Thank you very much.

1 Reply

I just opened a case with Microsoft Unified support, the overview is very confusing.  It would be helpful to have examples of scripts that are impacted as well as the process to update a script.  Finally, a sample script to report on the impacted sites would have been a nice touch.