logo
search
OneDrive Error Codes

How to Fix OneDrive Sign-In Error 8004de40 on Mac

Maira MehtabMaira Mehtab Sep 28, 2026 869 views

Question details

The user is unable to sign into their organization's OneDrive account on an M1 MacBook Air and via the web, encountering error code 8004de40.

Product
Microsoft OneDrive
Device & OS
MacBook Air (M1) / macOS
Scenario
Attempting to sign into a corporate or organization OneDrive account.
Observed behavior
OneDrive displays error code 8004de40 and denies access to the account on both the desktop application and the web version.
Before you start

Before attempting any local fixes, check the Microsoft 365 Service Health page or official Microsoft social media accounts to ensure there isn't an active server outage affecting OneDrive sign-ins.

Solution 1Recommended

Verify Microsoft Service Health and Wait for Resolution

Error 8004de40 is often caused by temporary Microsoft server outages or Azure Active Directory degradation. Checking the service status can save you unnecessary troubleshooting.

When an error appears on both the local desktop app and the web version simultaneously, it typically indicates a server-side issue rather than a problem with your specific Mac.

1
Check Service Health

Go to the official Microsoft 365 Service Health portal or search online for current Microsoft service outages to see if OneDrive is experiencing degradation.

2
Wait for a Fix

If an active outage is reported for your region or organization, you simply need to wait until Microsoft resolves the issue. The error will clear up on its own once normal services are restored.

No Local Action Needed: If services are down, resetting your app or reinstalling OneDrive will not bypass the 8004de40 error.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management on Mac

Tired of dealing with login errors and cloud sync interruptions? WPS Office offers a highly compatible, lightweight alternative to Microsoft Office. It runs natively and beautifully on Mac (including M1 and M2 chips) and allows you to work offline, saving files locally without forcing mandatory cloud sign-ins.

  1. 1. Download the App: Visit the official WPS Office website and download the Mac version specifically optimized for your MacBook.
  2. 2. Install WPS Office: Open the downloaded installer and drag the WPS Office icon to your Applications folder to complete the installation.
  3. 3. Start Creating: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office documents without worrying about cloud sign-in errors.
Fully compatible with Microsoft Word (DOCX), Excel (XLSX), and PowerPoint (PPTX) formats.Lightweight architecture that runs flawlessly and efficiently on Apple Silicon Macs.Save files locally to bypass cloud server dependencies and avoid outages like error 8004de40.Free to use with a familiar, easy-to-navigate interface.
microsoft office alternative - wps office

Frequently Asked Questions

What does OneDrive error code 8004de40 mean?

Error 8004de40 typically indicates that the OneDrive application is having trouble connecting to Microsoft's cloud servers. This is frequently caused by network connection issues, wide-scale Microsoft service outages, or Azure Active Directory authentication problems.

Why am I seeing error 8004de40 on both the desktop app and the web?

If the error appears on both the local Mac application and the online web portal, it strongly suggests a widespread Microsoft server outage or a backend issue specifically affecting your organization's tenant, meaning the problem is not isolated to your device.

Can a restrictive network connection cause OneDrive error 8004de40?

Yes, an unstable or highly restricted internet connection—such as certain corporate firewalls, proxies, or active VPNs—can block the necessary communication with Microsoft servers, resulting in authentication failures and error 8004de40.

Is OneDrive error 8004de40 related to the M1 chip on my MacBook Air?

No, error 8004de40 is a network and authentication error, not a hardware compatibility issue. Microsoft OneDrive natively supports Apple Silicon, so the M1 chip does not cause this specific sign-in failure.