logo
search
OneDrive Error Codes

How to Fix OneDrive Error 0x8004de40 for University Account Sign-In

Steve KSteve K Oct 1, 2026 869 views

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.

Fix OneDrive Error 0x8004de40 Preventing University Account Sign-In
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 you start

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.

Solution 1Recommended

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.

1
Open Internet Properties

Press the Win + R keys on your keyboard to open the Run dialog. Type inetcpl.cpl and press Enter.

2
Navigate to the Advanced tab

In the Internet Properties window, click on the Advanced tab at the top.

3
Enable TLS settings

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.

4
Apply and Restart

Click Apply, then OK. Restart your computer and try signing into your university OneDrive account again.

Enable Required TLS Protocols in Internet Properties
Network Refresh: It is highly recommended to restart your computer after changing Internet Properties to ensure the new security protocols take effect across all background services.
Free Microsoft Office alternative

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. 1. Download and Install: Visit the official WPS Office website to download the free application and install it on your device.
  2. 2. Open Your Files: Launch WPS Office and directly open your existing .docx, .xlsx, or .pptx files.
  3. 3. Work Seamlessly: Edit and save your documents effortlessly without depending on problematic enterprise cloud sync authentications.
100% compatible with Microsoft Word, Excel, and PowerPoint formatsNo complex enterprise or tenant sign-in barriersLightweight installation that doesn't conflict with existing softwareFamiliar user interface for a seamless transition
microsoft office alternative - wps office

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.