logo
search
OneDrive Error Codes

How to Fix OneDrive for Mac Error 8004DEED or 8004DED2

Algirdas JasaitisAlgirdas Jasaitis Oct 21, 2026 868 views

Question details

The user is unable to sign into OneDrive on a Mac using an external work account, encountering error codes 8004DEED or 8004DED2, primarily due to account conflicts or missing multifactor authentication methods.

How to Fix OneDrive for Mac Error 8004DEED or 8004DED2
Product
Microsoft OneDrive for Mac
Device & OS
macOS
Scenario
Attempting to sync a client's SharePoint document library on a Mac using a guest or external professional account.
Observed behavior
OneDrive fails to sign in with error 8004DEED or 8004DED2, often compounded by the inability to authenticate due to a lost Microsoft Authenticator app.
Before you start

Ensure you know which specific email address was invited to the external SharePoint site and have your current login credentials ready before making changes.

Solution 1Recommended

Clear macOS Keychain and Resync the Account

Remove stale credentials from your Mac to ensure OneDrive doesn't automatically attempt to log in with conflicting personal account details.

When personal and professional accounts share the same email address, macOS may cache the incorrect token. Clearing the Keychain forces OneDrive to prompt for fresh credentials.

1
Quit OneDrive

Sign out of your current OneDrive session and completely quit the OneDrive application from the menu bar.

2
Open Keychain Access

Use Spotlight search (Cmd + Space) to find and open the 'Keychain Access' application on your Mac.

3
Delete Cached Credentials

Search for 'OneDrive' in the Keychain Access search bar and delete any saved cached credential entries.

4
Sign In Again

Relaunch OneDrive and sign in explicitly with the work or guest account that was invited to the SharePoint site.

Account Conflicts: Make sure to strictly distinguish between your personal Microsoft account and your professional or guest account when entering your email.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

While troubleshooting complex OneDrive and SharePoint authentication issues, consider using WPS Office as a hassle-free productivity suite. It is a highly compatible, free, and lightweight alternative to Microsoft Office that handles your files effortlessly on Mac.

  1. 1. Download and Install: Download WPS Office for Mac from the official website and follow the simple installation prompts.
  2. 2. Open Your Files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint documents without worrying about format corruption.
  3. 3. Sync with WPS Cloud: Sign in with your preferred personal email to easily sync documents across your devices using WPS Cloud.
Fully compatible with Microsoft Office formats (DOCX, XLSX, PPTX)Built-in cloud syncing capabilities to keep files safe without complex tenant restrictionsLightweight application that runs smoothly on macOS and WindowsFree to download with a familiar, easy-to-use tabbed interface
microsoft office alternative - wps office

Frequently Asked Questions

Can I use SMS or email instead of the Microsoft Authenticator app?

No, if the host organization's IT policy strictly requires the Microsoft Authenticator app for guest access, you cannot bypass it using SMS or email. An administrator must reset your authentication methods.

Why does OneDrive confuse my personal and work accounts?

This often happens if you registered both a personal Microsoft account and a professional Microsoft 365 account under the exact same email address. Clearing your Mac's Keychain credentials forces OneDrive to ask you to specify the correct account type.

How do I sync a specific SharePoint folder after fixing my login?

Log into the SharePoint site via your web browser, navigate to the exact document library you want to access, and click the 'Sync' button in the top toolbar to link it directly with your local Mac OneDrive app.