How to Recover or Safely Delete Files Moved by OneDrive on Mac
Question details
The user needs to recover files moved by OneDrive from local Mac folders or safely delete leftover synchronized directories without losing data.

- Product
- OneDrive for Mac
- Device & OS
- macOS
- Scenario
- Managing Desktop and Documents folders affected by the OneDrive Known Folder Backup feature on a Mac.
- Observed behavior
- OneDrive redirects local folders to the cloud, appearing as though files were deleted, and leaves leftover local folders that require careful macOS permission management to remove safely.
Verify that your important files are safely backed up to an external drive or an alternative secure location before modifying any macOS folder permissions or deleting leftover directories.
Verify and Recover Files from OneDrive Online
Ensure your files are safely stored in the cloud before attempting any local deletions on your Mac.
OneDrive's Known Folder Backup feature may redirect your local Mac Desktop and Documents folders to the cloud instead of deleting them. You should verify their existence online first.
Open your web browser and sign in to your OneDrive online account using your Microsoft credentials.
Navigate to the 'My files' section and look for your Desktop and Documents folders to see if your local files were synchronized there.
If you cannot find specific files, click on the 'Recycle bin' located in the left sidebar to ensure they were not accidentally deleted during synchronization.
Select the files or folders you need to recover and click the 'Download' button to save them back to a safe local directory on your Mac.

Safely Delete Leftover Mac Folders Using Permissions
Properly handle macOS ownership and permissions to safely remove leftover OneDrive folders.
Manage Documents Locally Without Forced Cloud Syncing
If you prefer having full control over where your files are saved without unexpected cloud synchronization issues, try WPS Office. It is a highly compatible alternative to Microsoft Office that respects your local Mac storage preferences.
- 1. Download WPS Office for Mac: Visit the official WPS website and download the macOS installation package.
- 2. Install the Application: Open the downloaded file and drag the WPS Office icon to your Applications folder.
- 3. Open and Save Files Locally: Launch WPS Office, open your existing documents, and save them directly to your preferred local Mac folder.

Frequently Asked Questions
Why did my Mac Desktop and Documents disappear after installing Office 365?
The default Office 365 installation includes OneDrive, which may automatically activate the Known Folder Backup feature. This redirects your local Desktop and Documents folders to the cloud to keep them synchronized.
How can I stop OneDrive from syncing my Mac Desktop?
You can open OneDrive Preferences, navigate to the Backup or Manage Backup tab, and deselect the Desktop and Documents folders to stop synchronizing them.
Why do I get a permission error when trying to delete a leftover OneDrive folder?
macOS restricts the deletion of folders if they are locked or if your user account lacks write permissions. You must unlock the folder via the 'Get Info' window and assign yourself Read & Write privileges before moving it to the Trash.
Should I use the sudo command to delete stubborn OneDrive files?
Using the sudo command via Terminal forces deletion and bypasses built-in macOS safety checks. It is highly recommended to use standard permission tools in Finder first, as improper use of sudo can cause system instability.




