logo
search
OneDrive File Issues

How to Fix Cannot Rename an Open or Shared OneDrive File on Mac

Maira MehtabMaira Mehtab Oct 7, 2026 870 views

Question details

The user is unable to rename a OneDrive file on a Mac, which typically happens when the file is currently open, shared, locked, or lacking edit permissions.

How to Fix Cannot Rename an Open or Shared OneDrive File on Mac
Product
OneDrive for Mac
Device & OS
Mac
Scenario
Attempting to rename a synchronized document stored in a local OneDrive folder on a Mac.
Observed behavior
The rename option is either unavailable, greyed out, or fails with an error, preventing the user from changing the file name while it is open or directly from Finder.
Before you start

Ensure you have an active internet connection and that the OneDrive client on your Mac is currently running and fully synced.

Solution 1Recommended

Close the File and Rename via Finder or OneDrive Web

Since open files are often locked by applications or background sync processes, closing the document and renaming it from Finder or the web interface is the most effective solution.

macOS and Microsoft Office applications frequently place a temporary lock on open files to prevent conflicting edits. You must release this lock before the system allows any name changes.

1
Close the application

Completely quit the Office application or any other program that currently has the document open.

2
Wait for synchronization

Check your menu bar and wait a few seconds for the OneDrive client to finish uploading any recent changes.

3
Rename via Finder

Open Finder, navigate to your OneDrive folder, right-click the file, and select 'Rename'.

4
Rename via OneDrive Web (Alternative)

If Finder fails, log in to the OneDrive website in your browser, select the file, and click 'Rename' on the top toolbar.

Close the File and Rename via Finder or OneDrive Web
Tip: Renaming via the OneDrive web interface is highly recommended if local sync issues are causing the rename option to be greyed out in Finder.
Free Microsoft Office alternative

Use WPS Office for Seamless Document Management on Mac

Avoid frustrating file lock issues and heavy subscription fees by switching to WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office, ensuring smooth document editing and seamless cloud saving on your Mac.

  1. 1. Visit the website: Go to the official WPS Office website on your Mac.
  2. 2. Download the installer: Click the free download button for macOS to get the installation package.
  3. 3. Install and edit: Run the installer and open your documents seamlessly without strict file lock issues.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Lightweight installation that runs flawlessly and quickly on all Mac devices.Built-in cloud support for easy file management without sync conflicts.Familiar user interface requires zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Mac say the OneDrive file is locked?

A file may appear locked if another user is actively editing it in a shared folder, or if an application crashed without releasing the file lock properly. Closing the program or waiting for the server to timeout the lock usually resolves this.

Can I rename a OneDrive document while it is open?

Depending on the specific Office application and sync status, renaming an open file is often restricted by macOS to prevent data loss or sync conflicts. It is always safest to close the file first.

What should I do if the rename option is greyed out in Finder?

A greyed-out rename option usually indicates a permission issue or an active sync lock. Verify that the file isn't marked as read-only, ensure you have edit rights from the owner, and try renaming it via the OneDrive web interface instead.