I did many tests and reading and i did not find a clear answer if the "Custom Script" setting inside the sharepoint admin center affect modern sites (Communication or Team sites). for example i did this test:-
- I (as the office 365 and sharepoint admin) create a modern site (communication or team)
- OR any end user directly create a communication modern site or team modern site
- OR and end user create an office 365 group.
the generated sharepoint modern sites will always have custom script disabled. so can i conclude that the "Custom Script" settings inside the sharepoint admin center does not affect modern sites (Communication or Team sites)?and when the setting mentioned "self-service created sites" this does not cover modern site created by end users or created through creating office 365 group? Thanks.