Sign-in & Login Problems

Fix OneDrive You Are Syncing a Different Account Error on Mac

Emma BrownEmma Brown Nov 2, 2026 871 views

Question details

The user needs to resolve an issue where OneDrive for Mac displays a synchronization account mismatch error after updating the primary email address, which a standard reinstallation did not fix.

How to Fix OneDrive 'You Are Syncing a Different Account' Error on Mac
Product
OneDrive
Device & OS
Mac / macOS
Scenario
Attempting to sign in to the OneDrive application on Mac after changing the Microsoft account's primary email address.
Observed behavior
OneDrive blocks the sign-in process and throws an error stating 'You are syncing a different account'. Reinstalling the application does not clear this error.
Before you start

Before proceeding with the app reset, verify that your new primary email address is fully active by successfully signing into the OneDrive web portal using a private Safari window.

Solution 1Recommended

Reset the OneDrive Application Settings on Mac

Using the built-in reset script clears old cached account credentials and configuration states that persist even after a normal reinstallation.

When you change your primary email address, the OneDrive desktop client often retains the old login identifier in its hidden system packages. Running the dedicated reset command forces the app to wipe the old account data and start fresh.

1
Quit OneDrive

Click on the OneDrive cloud icon in your Mac menu bar, click the gear or settings icon, and select 'Quit OneDrive'.

2
Open Package Contents

Open Finder, go to your 'Applications' folder, locate the OneDrive app, right-click (or Control-click) on it, and select 'Show Package Contents'.

3
Run the Reset Script

Navigate to the 'Contents' folder, then open 'Resources'. Look for the file named 'ResetOneDriveApp.command' (if downloaded from the Mac App Store) or 'ResetOneDriveAppStandalone.command' (if downloaded from the Microsoft website) and double-click it to run.

4
Restart and Sign In

Once the script finishes executing in Terminal, close Terminal. Re-open OneDrive from your Applications folder and complete the setup process using your newly updated primary email address.

Reset the OneDrive Application Settings on Mac
Safe Process: Resetting the OneDrive application will not delete any of your actual files. It simply resets the application's configuration and requires you to re-link your account.
Free Microsoft Office alternative

Experience Seamless Document Editing on Mac with WPS Office

If you are frequently encountering syncing or sign-in problems with Microsoft Office products on your Mac, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for your document, spreadsheet, and presentation needs.

  1. 1. Download the App: Download the free Mac version of WPS Office directly from the official website.
  2. 2. Install and Launch: Follow the straightforward installation wizard to set up the software on your Mac.
  3. 3. Open Your Files: Drag and drop your existing Office files or connect your preferred cloud drive to start working immediately.
Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Easily access and edit files directly from connected cloud services.Lightweight installation perfectly optimized for fast Mac performance.Completely free all-in-one workspace with a familiar, easy-to-use interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive say I am syncing a different account after I reinstall it?

Dragging the OneDrive app to the Trash on a Mac does not delete the hidden configuration files and cached credentials stored in your Library folder. The app continues to read the old account data upon reinstallation.

Will running ResetOneDriveApp.command delete my local files?

No, the reset command only removes the application settings and clears the syncing state. Your local files and cloud files remain completely safe and untouched.

What is the difference between the standard and standalone reset commands?

Use 'ResetOneDriveApp.command' if you originally installed OneDrive via the Mac App Store. Use 'ResetOneDriveAppStandalone.command' if you downloaded the installer package directly from the Microsoft website.

Can I edit my OneDrive files using WPS Office?

Yes. Once your OneDrive account is synced locally to your Mac, or connected as a cloud drive, you can seamlessly open, edit, and save your documents using WPS Office with full format compatibility.