Permission & Access Issues

Remove an Old OneDrive Work Folder from a Mac

Huda QurayshiHuda Qurayshi Nov 13, 2026 868 views

Question details

Remove a leftover OneDrive work folder from a Mac after leaving an organization.

Remove an Old OneDrive Work Folder from a Mac
Product
Microsoft OneDrive for Mac
Device & OS
macOS
Scenario
An old work account is no longer needed, but its OneDrive folder remains on the Mac.
Observed behavior
macOS displays a permissions error when the user tries to delete the folder.
Before you start

Confirm that the folder belongs to the old work account and copy any files you are authorized to keep to another location. Check that the old account is unlinked before deleting the folder so your deletion does not sync to OneDrive.

Solution 1Recommended

Unlink the OneDrive account and check folder permissions

Use this method to remove the local folder through Finder after disconnecting the old work account.

1
Unlink the old account

Click the OneDrive cloud icon in the menu bar, open Settings or Preferences, and select the Account tab. Find the old work account and choose Unlink this Mac. If it is no longer listed, confirm that the folder is not syncing with another account.

2
Open folder information

In Finder, locate the old OneDrive work folder, select it, and choose File > Get Info.

3
Check permissions

Expand Sharing & Permissions and check whether your current macOS user has Read & Write access. If necessary, click the lock and authenticate, then change your user's privilege to Read & Write if you are authorized to do so.

4
Delete the folder

Close Get Info, then Control-click the folder in Finder and choose Move to Trash. Empty the Trash when you are sure you no longer need its contents.

Unlink the OneDrive account and check folder permissions
If access is still denied: Deleting a folder can also require permission to modify its parent folder. If the Mac or folder is managed by an organization, contact its administrator rather than trying to bypass restrictions.
Free Microsoft Office alternative

Work with Your Office Files in WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations in a familiar interface. Open compatible Microsoft Office files as you move to a new workspace. WPS Office does not unlink OneDrive accounts or fix macOS folder permissions.

Open and edit compatible Microsoft Word, Excel, and PowerPoint files, including DOCX, XLSX, and PPTX.Work with Office files you are authorized to keep from your old work folder.Use a familiar interface for documents, spreadsheets, and presentations.Get started with a free, lightweight Office alternative.
microsoft office alternative - wps office

Frequently Asked Questions

Will unlinking OneDrive delete my work files from the cloud?

Unlinking disconnects the account from the Mac; it does not itself delete the cloud files. Check the Account tab in OneDrive Settings or Preferences to confirm the old account is unlinked before removing the local folder.

Why can't I delete the folder even though I have Read & Write access?

You may also need permission to modify the folder that contains it. Select the parent folder in Finder, choose File > Get Info, and check Sharing & Permissions. Contact an administrator if the Mac or folder is managed.

Can I recover a folder deleted with sudo rm -rf from the Trash?

No. The command bypasses the Trash and permanently deletes the specified local folder. Verify the full path in Terminal before pressing Return.

What if the old work account no longer appears in OneDrive settings?

Open the OneDrive menu bar icon and check Settings or Preferences > Account. If the account is absent, confirm the folder is not syncing with another account before checking its permissions and deleting it in Finder.