OneDrive File Issues

How to Reset OneDrive on Mac to Unlink an Old Work Account

Jason MillerJason Miller Nov 3, 2026 869 views

Question details

The user needs to remove an old OneDrive for Business account from their Mac, but cannot unlink it normally because they are unable to sign in to access the app's Preferences menu.

How to Reset OneDrive on Mac to Unlink an Old Work Account
Product
Microsoft OneDrive
Device & OS
Mac
Scenario
Trying to remove or unlink a former employer's inactive OneDrive account while keeping other active personal and business accounts running normally.
Observed behavior
The inactive account continuously prompts for login and appears in an error state in the Mac menu bar. There is no option to unlink it without signing in first.
Before you start

Before resetting the OneDrive application, ensure you know the login credentials for your active personal and business accounts, as you will need to sign back into them after the reset.

Solution 1Recommended

Reset the OneDrive App via Package Contents

Use the built-in reset command within the OneDrive application package to clear all linked accounts and start fresh.

Because OneDrive requires you to be logged in to access the standard 'Unlink this Mac' option, a deactivated work account can become stuck. Running the built-in reset script forces OneDrive to clear all account configurations without deleting your actual files.

1
Quit OneDrive

Click on the OneDrive icon in the top menu bar and select 'Quit OneDrive' to close the application completely.

2
Access Application Package

Open Finder, go to your Applications folder, right-click on the OneDrive app, and select 'Show Package Contents'.

3
Locate the Reset Script

Navigate to the 'Contents' folder, and then open the 'Resources' folder.

4
Run the Reset Command

Find and double-click on 'ResetOneDriveApp.command' or 'ResetOneDriveAppStandalone.command' to execute the reset script.

5
Restart and Sign In

Launch OneDrive again from your Applications folder. Sign in with your active accounts, and be sure to select your previous synchronization locations when prompted.

Reset the OneDrive App via Package Contents
Reusing Sync Locations: By selecting your previous synchronization folders, OneDrive will merge the data rather than re-downloading unchanged files, saving you significant time and bandwidth.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

If you frequently work with cloud documents and want to avoid complex account management issues, WPS Office provides an excellent, free alternative to Microsoft Office. It integrates smoothly with local files and offers built-in cloud synchronization in a highly familiar user interface.

  1. 1. Download and Install: Download WPS Office for Mac from the official website and follow the easy installation prompts.
  2. 2. Sign In: Open the application and create a free account to access robust cloud storage features.
  3. 3. Edit Your Files: Open any existing Word, Excel, or PowerPoint files natively and start editing without formatting loss.
Fully compatible with Microsoft Office file formats like .docx, .xlsx, and .pptx.Built-in WPS Cloud for easy and reliable document synchronization without multiple conflicting instances.Lightweight design that consumes fewer system resources on your Mac.Completely free to download and use with a highly familiar user interface.
microsoft office alternative - wps office

Frequently Asked Questions

Will resetting OneDrive delete my local files?

No, running the reset command only clears the app's settings and unlinks your accounts. Your locally synced files remain safely stored on your Mac's hard drive.

Why can't I just unlink the account from OneDrive Preferences?

OneDrive requires you to be actively signed in to access the Preferences menu. If an account has been deactivated by a former employer, you cannot sign in to reach the 'Unlink this Mac' option.

How do I stop OneDrive from opening automatically on Mac?

You can manage auto-start applications by going to the Apple Menu > System Settings > General > Login Items, and removing OneDrive from the list of items that open at login.