SOLVED

SharePoint Custom Scripts on personal sites and self-service created sites

%3CLINGO-SUB%20id%3D%22lingo-sub-1383486%22%20slang%3D%22en-US%22%3ESharePoint%20Custom%20Scripts%20on%20personal%20sites%20and%20self-service%20created%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383486%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wanted%20to%20know%20if%20disabling%20custom%20scripts%20in%20SharePoint%20will%20impact%20any%20scripts%20(PowerShell%20or%20GraphAPI)%20that%20are%20used%20to%20upload%20content%20to%20SharePoint%20or%20to%20get%20any%20documents%20uploaded%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3EBhavpreet%20Bains%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1383486%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1384823%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Custom%20Scripts%20on%20personal%20sites%20and%20self-service%20created%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1384823%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F45180%22%20target%3D%22_blank%22%3E%40Bhavpreet%20Bains%3C%2FA%3E%26nbsp%3BDisabling%20custom%20script%20will%20not%20have%20any%20impact%20on%20the%20powershell%20script%20or%20graph%20api%20till%20they%20are%20not%20referred%20in%20the%20page(unless%20you%20use%20graph%20api%20in%20form%20of%20scripts%20on%20the%20page).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20disabling%20restricts%20in%20any%20form%20of%20script%26nbsp%3B%3CSPAN%3Einject%20process%20on%20the%20page.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHope%20this%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hello,

 

I wanted to know if disabling custom scripts in SharePoint will impact any scripts (PowerShell or GraphAPI) that are used to upload content to SharePoint or to get any documents uploaded?

 

Thank you.

Bhavpreet Bains 

1 Reply
Highlighted
Solution

@Bhavpreet Bains Disabling custom script will not have any impact on the powershell script or graph api till they are not referred in the page(unless you use graph api in form of scripts on the page).

 

This disabling restricts in any form of script inject process on the page.

 

Hope this helps.