How to Fix OneDrive Sign-In Error 8004de40 on Mac
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 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.
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.
Go to the official Microsoft 365 Service Health portal or search online for current Microsoft service outages to see if OneDrive is experiencing degradation.
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.
Update macOS and the OneDrive App
Outdated software versions can sometimes lead to connectivity and authentication issues, especially with organization accounts requiring modern security protocols.
Contact Your Organization's IT Administrator
If Microsoft services are running normally but you still cannot sign in, there may be an issue with your specific user account permissions.
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. Download the App: Visit the official WPS Office website and download the Mac version specifically optimized for your MacBook.
- 2. Install WPS Office: Open the downloaded installer and drag the WPS Office icon to your Applications folder to complete the installation.
- 3. Start Creating: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office documents without worrying about cloud sign-in errors.

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.




