The Custom Script setting in SharePoint and OneDrive will be removed by early May 2024, with enforcement changes starting late April. A new PowerShell command is available to delay these changes until mid-November 2024. Existing scripts will not be affected, but the ability to add new custom scripts will be restricted.
Applies to: SharePoint Online · OneDrive for Business
Source: mc.merill.net — data via Merill Fernando's open archive (MIT).