One can enable/disable custom scripts on modern sites using the below powershell cmdlet
Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0
There is no equivalent of this in O365 cli.
Thank you for reaching out! Have you tried using:
spo site classic set --noScriptSite true
Apologies, my bad. The command you provided worked just fine. Might I suggest to capture/link to the corresponding SPO Powershell equivalent for commands in the O365 CLI documentation so that it is easier to search. Thanks.
Thank you for confirming it's working for you 馃憤 Appreciate your suggestion. Have a great day!
Most helpful comment
Apologies, my bad. The command you provided worked just fine. Might I suggest to capture/link to the corresponding SPO Powershell equivalent for commands in the O365 CLI documentation so that it is easier to search. Thanks.