How to Prevent Users from Deleting Files in a Shared OneDrive Folder
Question details
The user wants to grant collaborators edit access to a shared folder without giving them permission to delete the files inside.

- Product
- Microsoft OneDrive / SharePoint
- Device & OS
- not provided
- Scenario
- Sharing a project folder with multiple users and needing to protect critical files from being accidentally or intentionally deleted while still allowing edits.
- Observed behavior
- Standard OneDrive sharing permissions only offer basic 'Can edit' (which includes deletion rights) or 'Can view' options, lacking a dedicated 'edit without delete' restriction.
Verify whether you are using a personal OneDrive account or OneDrive for Business, as advanced custom permissions are only available through SharePoint integrations in business or enterprise plans.
Use a SharePoint Document Library for Custom Permissions
Since standard OneDrive sharing does not support 'edit without delete' rights, utilizing a SharePoint document library allows administrators to create granular custom permission levels.
Modern OneDrive interfaces do not natively allow you to restrict deletion while simultaneously granting edit access. To achieve this, you need to use SharePoint (which powers OneDrive for Business on the backend) to create and assign a custom permission level.
Go to your SharePoint site, click on the gear icon (Settings) in the top right corner, select 'Site permissions', and then click on 'Advanced permissions settings'.
In the advanced settings ribbon, click on 'Permission Levels', then select the standard 'Edit' permission level to view its details.
Scroll to the bottom of the Edit permissions page and click the 'Copy Permission Level' button to use it as a baseline.
Name the new permission level (e.g., 'Edit without Delete'). In the list of list permissions, uncheck both 'Delete Items' and 'Delete Versions'. Click 'Create' at the bottom of the page.
Return to your document library, break permission inheritance if necessary, and assign this newly created 'Edit without Delete' permission level to your shared users.

Review Standard OneDrive Sharing Options
If you are using a personal account or cannot use SharePoint, you must choose from the available standard permissions in OneDrive as a compromise.
Enhance Your Document Collaboration with WPS Office
While configuring your cloud storage permissions, consider using WPS Office for a seamless document creation and editing experience. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office that comes with built-in cloud collaboration features.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the downloaded file and follow the on-screen prompts to complete the quick installation.
- 3. Sign In and Collaborate: Open WPS Office, sign in to access your free WPS Cloud storage, and start collaborating on documents with secure sharing links.

Frequently Asked Questions
Why is there no 'Edit but not delete' permission in standard OneDrive?
Microsoft designed standard OneDrive for straightforward file sharing where 'Edit' implies full control over the file, including the ability to delete or rename it. For granular permissions like preventing deletion, Microsoft requires the use of SharePoint's advanced permission settings.
Can I switch to the classic OneDrive interface to change permissions?
Microsoft has largely phased out the classic OneDrive interface. While older tutorials might suggest switching to classic mode to access advanced permissions, modern administrative control over document libraries must now be handled directly through the SharePoint interface.
Does view-only access prevent users from downloading files?
By default, users with view-only access can still download copies of the files. However, when sharing a file in OneDrive, you can explicitly toggle on the 'Block download' option in the link settings to prevent users from downloading or printing the document.




