
Hi @David Bair,
By default, any changes to custom script settings for a specific site only last for a maximum of 24 hours. This new set of capabilities enabled by end of June 2024.
If you run the cmdlet Set-SPOTenant -DelayDenyAddAndCustomizePagesEnforcement $True
, you could temporarily circumvent the 24-hour reset setting . This parameter will be available until November 2024. After that date, it will no longer be possible to prevent SharePoint in resetting custom script settings to its original value for all sites.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.