OneDrive Error Codes

How to Fix OneDrive for Mac Error 8004de25 When Adding a Second Account

Tauseeq MagsiTauseeq Magsi Nov 3, 2026 870 views

Question details

The user is unable to add a second Microsoft 365 account to the OneDrive app on Mac, encountering error 8004de25 despite both accounts working properly online.

How to Fix OneDrive for Mac Error 8004de25 When Adding a Second Account
Product
OneDrive
Device & OS
Mac
Scenario
Attempting to authorize and sync a second Microsoft 365 account in the OneDrive desktop application.
Observed behavior
The first account authenticates normally, but adding the second account consistently returns error code 8004de25. Both accounts function correctly in Office.com and other web applications.
Before you start

Verify that your Mac is connected to a stable internet network and that you can successfully log into both Microsoft 365 accounts via the OneDrive web portal without encountering any password or security prompts.

Solution 1Recommended

Reset the OneDrive for Mac Application

Resetting the application clears cached credentials and local app data, which can often resolve conflicting authentication states when adding multiple accounts.

macOS can sometimes hold onto conflicting authentication tokens in its cache. Resetting the OneDrive app forces it to rebuild these local configurations from scratch.

1
Quit OneDrive

Click the OneDrive cloud icon in the Mac menu bar, select 'Help & Settings' (the gear icon), and click 'Quit OneDrive'.

2
Locate the OneDrive App

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

3
Run the Reset Script

Navigate to 'Contents' > 'Resources' and double-click the file named 'ResetOneDriveApp.command' or 'ResetOneDriveAppStandalone.command'. Wait for the Terminal window to complete the process.

4
Restart and Re-add Accounts

Open OneDrive from your Applications folder again and try adding your primary account first, followed by the second account to test if error 8004de25 is resolved.

Reset the OneDrive for Mac Application
Free Microsoft Office alternative

Avoid Complex Account Conflicts with WPS Office

If you frequently encounter restrictive authorization errors and syncing issues with Microsoft 365 on your Mac, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for managing your documents, spreadsheets, and presentations without the hassle of tenant conflicts.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free version tailored for macOS.
  2. 2. Install on Your Mac: Open the downloaded file and drag the WPS Office icon into your Applications folder.
  3. 3. Connect Your Cloud Storage: Launch WPS Office and easily connect your preferred cloud drives directly within the app, bypassing strict multi-account tenant restrictions.
Fully compatible with Microsoft Office formats including Word, Excel, and PowerPoint filesAdd and manage multiple cloud storage accounts without complex backend authorization errorsLightweight installation tailored for Mac, ensuring fast performance and low resource usageFamiliar, easy-to-use tabbed interface for seamless document management
microsoft office alternative - wps office

Frequently Asked Questions

Why does error 8004de25 only occur on the Mac app and not on the web?

Web browsers use cookies to isolate authentication sessions, allowing multiple accounts to run simultaneously. The desktop application relies on macOS keychain and native Microsoft tokens, which can conflict if policies restrict multiple active desktop sessions.

Can I use multiple Microsoft 365 accounts from the same organization on one Mac?

While it is technically possible to add a personal and a work account, adding multiple work accounts from the same organization often triggers tenant conflicts or authorization errors like 8004de25 due to strict IT policies.

What does error code 8004de25 actually mean?

Error 8004de25 is a backend authorization error indicating that the application could not successfully validate the credentials or token for the second account with the Microsoft 365 tenant server.