Restrict users from Deletion

I have a SharePoint file library. There are couple of flows that triggers when users add file to this library.

Right now users can delete file from this library. How can I restrict users from deleting?
3 Replies
best response confirmed by Juan Carlos González Martín (MVP)



There is no SharePoint default permission level which allows add/edit but not delete existing files.



You need to create a custom Permission level in SharePoint. This will be a copy of your existing permission level minus Delete Items permission. Follow below steps to achieve this:


  1. Click Site settings > (Go to top level site settings) > Users and Permissions > Site permissions.
  2. Click Permission Level, and we can customize a new permission level based on the existing ones.
  3. Open the Edit permission level, and click Copy Permission Level on the bottom.
  4. Give the name for the new permission level, and uncheck the Delete Items options. You can also remove other permissions that are unnecessary, such as Delete Versions.
  5. Click Create to create the permission level.
  6. Use this permission level to assign the permissions to users

ReferenceSharePoint online site permissions add but not delete 

Please click Mark as Best Response if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

@ganeshsanap I set up a custom permissions site and only check marked the: Edit Items  -  Edit items in lists, edit documents in document libraries, and customize Web Part Pages in document libraries. The delete options are not check marked. This still gives users the option to delete webparts, unfortunately. Is there anything I'm doing wrong or is this just a Microsoft bug?

@JennaB460 This is expected behavior as you are having permissions to edit the pages (items/documents).

Adding/removing web parts on a site page is part of editing pages.

Please consider giving a Like if my post helped you in any way.