logo
search
Uninstall & Reinstall Issues

How to Safely Remove OneDrive Files Before Reinstalling on Mac

Algirdas JasaitisAlgirdas Jasaitis Sep 25, 2026 869 views

Question details

The user needs the correct procedure to safely remove OneDrive-related files on a Mac to perform a clean reinstallation without affecting other Microsoft applications.

How to Safely Remove OneDrive Files Before Reinstalling on a Mac
Product
Microsoft OneDrive
Device & OS
macOS Sonoma
Scenario
Reinstalling OneDrive and clearing associated cache files after an application or system reset.
Observed behavior
The user is seeking to identify exactly which files to delete to ensure a clean slate for OneDrive, avoiding the unnecessary removal of files required by other Microsoft 365 apps.
Before you start

Ensure all your important local files are fully synced to the cloud or backed up to an external drive, and verify that you have your Microsoft 365 account credentials ready before unlinking.

Solution 1Recommended

Unlink and Remove Specific OneDrive Files

This is the safest method to remove OneDrive without disrupting other Microsoft 365 apps like Word or Teams.

Do not delete every file containing the word 'Microsoft' from your Library. You only need to target specific OneDrive container files to ensure a clean reinstallation.

1
Unlink your Mac

Click the OneDrive cloud icon in the top menu bar, go to Settings (gear icon) > Preferences > Account, and click 'Unlink this Mac'.

2
Quit the application

Click the OneDrive cloud icon again, select the Settings gear icon, and choose 'Quit OneDrive'.

3
Move OneDrive to Trash

Open Finder, navigate to the Applications folder, locate the OneDrive app, and drag it to the Trash.

4
Remove residual Library files

In Finder, press Command + Shift + G, type '~/Library/Containers/' and delete the 'com.microsoft.OneDrive-mac' folder. Also check '~/Library/Group Containers/' and remove any folder specifically named 'UBF8T346G9.OneDriveStandaloneSuite' or similar.

Unlink and Remove Specific OneDrive Files
App Store vs. Standalone Versions: The exact folder names in your Group Containers may vary slightly depending on whether you downloaded OneDrive from the Mac App Store or directly from the Microsoft website.
Free Microsoft Office alternative

Try WPS Office for a Lightweight Mac Experience

If you are experiencing persistent issues with Microsoft 365 installations or excessive cache files on your Mac, consider switching to WPS Office. It provides a lightweight, all-in-one suite that is highly compatible with Microsoft formats without the heavy background syncing.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer specifically designed for macOS.
  2. 2. Install the Application: Open the downloaded .dmg file and drag the WPS Office icon into your Applications folder.
  3. 3. Launch and Enjoy: Open WPS Office from Launchpad, sign in to activate your free cloud storage, and seamlessly open your existing Office documents.
Highly compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight installation that saves precious Mac storage space.Built-in cloud storage options without complex unlinking or cache issues.Familiar user interface for seamless migration from MS Office.
microsoft office alternative - wps office

Frequently Asked Questions

Do I need to uninstall all Microsoft apps to fix a OneDrive issue?

No. Unless you are also experiencing crashes or sync issues with Word, Excel, or Teams, you only need to remove the OneDrive application and its specific 'com.microsoft.OneDrive' container files.

What happens to my local files when I unlink OneDrive on my Mac?

Unlinking simply disconnects your Mac from the cloud. Your files remain safe online, and any files you previously marked as 'Always keep on this device' will stay in your local OneDrive folder.

How do I find the hidden Library folder on macOS Sonoma?

Open Finder, click 'Go' in the top menu bar, hold down the 'Option' key on your keyboard, and click 'Library' when it appears in the dropdown menu.

Why did a business installation include OneDrive without a separate download?

Microsoft 365 Education and Enterprise packages often bundle all core applications (Word, Excel, Teams, OneDrive) into a single unified installer, meaning installing the suite automatically installs and configures OneDrive.