logo
search
Permission & Access Issues

How to Fix Cannot Rename or Delete Files in SharePoint Online

Olivia MillerOlivia Miller Sep 27, 2026 871 views

Question details

The user is unable to rename or delete files and folders after copying them to a SharePoint Online document library.

How to Fix Cannot Rename or Delete Files in SharePoint Online
Product
SharePoint Online
Device & OS
not provided
Scenario
Attempting to manage, rename, or delete files that have been uploaded or copied to a document library.
Observed behavior
Files and folders act as read-only, preventing the user from applying new names or deleting the items from the library.
Before you start

Verify that you are logged into the correct Microsoft account with access to the SharePoint site, and ensure no other users currently have the file open.

Solution 1Recommended

Verify Permissions and Rename Directly in SharePoint Online

Check your access level in the web interface and modify the file directly to bypass local synchronization restrictions.

Often, files cannot be renamed or deleted from a synced local folder due to background sync locks or restricted inheritance policies. Performing the action directly on the SharePoint web interface is the most reliable way to confirm and utilize your permissions.

1
Open the Document Library

Log in to SharePoint Online through your web browser and navigate to the document library containing the locked file.

2
Select the Item

Hover over the file or folder you want to rename or delete and check the circular selection box to its left.

3
Check Permissions in the Information Pane

Click the 'Details' (i) icon in the upper right corner of the screen. Scroll down the pane to the 'Has access' section to verify if you have at least 'Edit' permissions.

4
Rename or Delete

If you have Edit permissions, hover over the file name at the top of the details pane to rename it, or click the 'Delete' button in the top command bar.

Verify Permissions and Rename Directly in SharePoint Online
Requesting Access: If you only have 'View' permissions, you must ask a SharePoint administrator to review library permissions, check for broken inheritance, and grant you Edit access.
Free Microsoft Office alternative

Manage and Edit Your Documents Seamlessly with WPS Office

While resolving complex SharePoint permissions, you still need a reliable office suite for local document editing. WPS Office is a highly compatible, free alternative to Microsoft Office, letting you create and edit your essential files effortlessly before uploading them to the cloud.

Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight installation that runs smoothly on almost any device.Familiar user interface requires no learning curve for Office users.Allows you to rename and manage local files easily before uploading them to collaborative platforms.
microsoft office alternative - wps office

Frequently Asked Questions

Why are my SharePoint files opening as read-only?

Files may open in read-only mode if the document library requires files to be checked out, if the file is currently locked by another user editing it, or if your account has only been granted 'View' permissions.

How can I check if a SharePoint policy is preventing file deletion?

Certain Retention Policies or eDiscovery holds set by administrators can prevent files from being deleted or modified. Only a SharePoint or Global Administrator can review and adjust these compliance policies in the Microsoft Purview compliance portal.

Does syncing SharePoint with OneDrive affect my ability to rename files?

Yes, local sync clients can sometimes lock files if a background sync is pending or stuck. If you cannot rename a synced file in File Explorer, try pausing the OneDrive sync or performing the action directly in the SharePoint web interface.