How to Fix OneDrive Error 0x8004de40 for University Account Sign-In
Question details
The user is unable to sign in to their university work account on OneDrive due to error 0x8004de40, although personal account sign-in works correctly.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to sign in to the OneDrive desktop application using a university or enterprise Microsoft 365 account.
- Observed behavior
- The OneDrive application gets stuck on the 'Signing in' screen for the university account and eventually fails, displaying error code 0x8004de40.
Before altering system configurations, ensure your internet connection is stable and try temporarily disabling any active VPNs, proxies, or third-party firewall applications that might block Microsoft authentication servers.
Enable Required TLS Protocols in Internet Properties
Error 0x8004de40 often indicates a failure to communicate securely with Azure Active Directory. Enabling TLS 1.0, 1.1, and 1.2 can restore this connection.
Microsoft 365 services require specific Transport Layer Security (TLS) protocols to authenticate enterprise and university accounts. If these protocols are disabled in your Windows network settings, the sign-in will fail.
Press the Win + R keys on your keyboard to open the Run dialog. Type inetcpl.cpl and press Enter.
In the Internet Properties window, click on the Advanced tab at the top.
Scroll down to the Security section in the settings list. Check the boxes next to Use TLS 1.0, Use TLS 1.1, and Use TLS 1.2.
Click Apply, then OK. Restart your computer and try signing into your university OneDrive account again.

Reconnect Your Work or School Account in Windows
Refreshing your system's connection to the university directory can clear cached authentication glitches preventing OneDrive from signing in.
Contact Your University IT Administrator
If local network and system fixes fail, the issue may stem from backend Microsoft 365 tenant policies applied by your university.
Tired of Microsoft 365 account sign-in errors? Try WPS Office
If enterprise authentication errors like 0x8004de40 are locking you out of your workflow, consider using WPS Office. It provides a lightweight, hassle-free environment to manage all your documents locally or in the cloud, without complex enterprise tenant requirements.
- 1. Download and Install: Visit the official WPS Office website to download the free application and install it on your device.
- 2. Open Your Files: Launch WPS Office and directly open your existing .docx, .xlsx, or .pptx files.
- 3. Work Seamlessly: Edit and save your documents effortlessly without depending on problematic enterprise cloud sync authentications.

Frequently Asked Questions
What does OneDrive error 0x8004de40 mean?
Error 0x8004de40 typically indicates that the OneDrive client is having trouble connecting to Microsoft's cloud services, specifically failing to communicate with Azure Active Directory (Azure AD) due to network or authentication protocol issues.
Why does my personal OneDrive work but not my university account?
University and work accounts rely on Azure Active Directory and specific security policies set by your institution's IT department. If those policies require specific network protocols (like TLS) that are disabled on your computer, it will block enterprise sign-ins while leaving standard personal Microsoft accounts unaffected.
Can my antivirus or firewall cause error 0x8004de40?
Yes, third-party antivirus, firewalls, or strict VPN settings can sometimes block the specific connection ports OneDrive uses to authenticate enterprise accounts. Temporarily disabling them can help determine if they are the root cause.




