0

one of the most confusing topics in sharepoint online is to understand how the "Custom Script" setting works. let me start from this link which i read Enabling scripting capabilities, where i mentioned that the custom script setting inside the SP center admin will only affect classic sites, here is a quote from the link:-

The solution below will enable scripting capabilities on all Classic SharePoint sites, and it will It takes about 24 hours for this change to take effect.

so i have these questions:-

  1. Q1. so can i conclude that the "custom script" setting at the SP center admin will not affect modern sites, even if these modern sites are self-service created sites? as per my test also, if i enable custom script inside the SP admin center , and end users or SP admin created modern sites, then these sties will have custom scripting disabled. i check the custom script status by running this command Get-SPOSite -Identity $Url -Detailed | select DenyAddAndCustomizePages?

  2. Q2. inside the settings there are 2 check-boxes one for Self-Service created site while the other is for personal sites? so what are the differences? are the self-service sites, site created by end users? while personal sites are the onedrive sites?

  3. Q3. in our case we are preventing end users from creating sites as follow:- enter image description here

but end user can still create modern sites if they know the url or if they create office 365 groups.. But these self-service sites will always have their custom script disabled by default , regardless of what we specify inside the SP center admin settings, is this correct?

  1. Q4. if the personal sites refer to OneDrive sites, then are the OneDrive sites considered as modern sites or as classic sites? and how i can check this?

marked as duplicate by Trevor Seward, Gaurravs, MHeld, Mohamed El-Qassas MVP Mar 9 at 10:14

This question was marked as an exact duplicate of an existing question.

  • This is a duplicate of your previous question. Please edit your previous question rather than creating a new one. – Trevor Seward Mar 8 at 3:55