This article informs about changes to how custom script settings are managed in SharePoint.
What Changed?
Microsoft has removed the ability for administrators to control the default behavior for custom scripts on self-service and personal sites (OneDrive). This change occurred as of July 22nd, 2024.
What Does This Mean for You?
Previously, administrators could allow or prevent users from running custom scripts on these types of sites. After this change, administrators will no longer be able to set the default behavior. However, there is a temporary workaround using PowerShell.
How Does This Impact Classic Apps?
This change may cause issues with classic SharePoint apps rely on custom scripts to function.
What are Your Options?
- Review Microsoft's Documentation: A detailed explanation of the changes and the temporary workaround using PowerShell can be found in the official Microsoft article: Allow or prevent custom script.
- Migrate to Modern SharePoint: Consider migrating your Classic apps and experiences to Modern SharePoint. Modern SharePoint offers a more secure and future-proof platform that does not rely on custom scripts.
We recommend reviewing the Microsoft documentation and considering your migration options to ensure a smooth transition after this change.