cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Is there a way to set a sharepoint site as critical so owners cannot delete it?

Hello. I was able to create a site and add users to it through SharePoint http requests. 
I used the request here to create the SharePoint site: https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest
This is how my request looks like:

 

Screenshot 2021-06-07 185940.png

Is there a way to change the site so the site is flagged as critical and owners won't be able to delete? Is this possible through any requests? 
Thank you.

1 REPLY 1
swathirajan
Helper II
Helper II

My idea is, create a custom permissions (that doesn't allow deletion) and add the owners to the custom permission.

 

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,875)