(How to fix error code 0x8004de40 when trying to sign in to OneDrive) How to fix error code 0x8004de40 when trying to sign in to OneDrive.
Error Message:
User Question
Hello everyone,
I'm facing a frustrating issue while trying to sign in to OneDrive – SharePoint. Every time I attempt to access my files, I receive either error code 0x8004de40 or 0x8004de88. This problem is preventing me from accessing my important documents. I've tried some troubleshooting steps, but nothing seems to work.
Has anyone else encountered this error before and have any ideas on how to resolve it? I would greatly appreciate any help or suggestions you can provide. Here’s what I’ve tried:
Checking my internet connection: My internet connection is stable, and I can access other online services without any issues.
Verifying my login credentials: I double-checked my username and password to ensure they are correct.
Updating OneDrive – SharePoint: I made sure I have the latest version of the OneDrive – SharePoint client installed on my device.
Restarting my device: I tried restarting my computer and logging in again, but the error persists.
I’ve run out of ideas on how to resolve this error and regain access to my files. If anyone has faced this issue or has any tips for troubleshooting, I would be extremely grateful for your assistance. Thank you in advance!
OneDrive – SharePoint is a powerful platform that enables seamless collaboration and file sharing within organizations. However, users may sometimes encounter login errors, such as error code 0x8004de40 or 0x8004de88, which can hinder access to important documents and disrupt work. In this article, we will explore potential causes for these errors and provide troubleshooting steps to help resolve them.
How to fix error code 0x8004de40 when trying to sign in to OneDrive
When encountering error code 0x8004de40 or 0x8004de88 while signing in to OneDrive - SharePoint, there are several potential solutions you can try to resolve the issue. Here are some troubleshooting steps you can take:
Solution 1: Repair using the PC Repair Tool
Windows consists of a large number of dll files, exe files, sys files, various types of services, databases, and so on, so it’s not feasible to constantly monitor all files. A great PC optimization tool works silently to repair damages, fix errors, update Windows and drivers, and remove various types of bugs.
The Outbyte PC Repair Tool performs all of the above tasks effortlessly and provides you with a smooth and error-free Windows environment to work in so you can focus solely on your tasks.
3 steps to fix this error
Step 1. Download the Outbyte PC Repair Tool [File Size: 16.4 MB]
Step 2. Scan your Windows computer
Step 3. Click the "Repair" button to fix the error
Solution 2: Check TLS Protocols
Transport Layer Security (TLS) is an encryption protocol used to secure communications over computer networks. In the context of Windows 11, TLS is an integral part of the network security package for the operating system.
Windows 11 supports multiple versions of TLS, including TLS 1.0, TLS 1.1, TLS 1.2, and TLS 1.3. These versions provide different levels of security and encryption algorithms, with TLS 1.3 being the latest and most secure version, offering improved performance and stronger encryption compared to previous versions.
To check the supported versions of the Transport Layer Security (TLS) protocol in Windows 11, you can use the "Internet Options" settings in the Control Panel.
Here’s how:
Step 1: Press Windows + R to open the Run dialog. Type "inetcpl.cpl" and press Enter. This will open the Internet Properties window.

inetcpl
Step 2: In the Internet Properties window, go to the "Advanced" tab, scroll down to find the TLS protocols, and enable them all.

Enable_all_tls_version
Step 3: Click the "Apply" button → "OK" to save the changes.
Solution 3: Configure TLS 1.2 Cipher Suite Settings
It’s also essential to check that the Cipher Suite settings match the Azure Front Door requirements. If the cipher suite does not match on both ends, you may receive error code 0x8004de40 or 0x8004de88 when signing in to OneDrive - SharePoint.
For TLS 1.2, the following cipher suites are supported by Azure Front Door:
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
You can configure the cipher suite as follows:
Step 1: Open the Run dialog by pressing Windows + R. Type gpedit.msc and click "OK" to open it. The Group Policy Editor will open.

2_gpedit_msc
Step 2: Navigate to the following settings:
Computer Configuration ← Administrative Templates ← Network ← SSL Configuration Settings.

3_SSL_configuration_settings
Step 3: Double-click on SSL Cipher Suite Order and enable it. Copy the SSL Cipher Suites and save them in Notepad.

4_enable_ssl_cipher_suite
Step 4: Replace the existing cipher suites with the following:
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
Step 5: Click "Apply" → "OK" to save it.
Solution 4: Enable TlsCipherSuite
You can also enable the TLS Cipher Suite through Windows PowerShell.
Step 1: Open PowerShell, search for PowerShell in the Start menu, and open it.

5_open_powershell
Step 2: Copy the following code and paste it into PowerShell and execute it.
Enable-TlsCipherSuite -Name "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
Step 3: Close PowerShell and restart your computer.
Solution 5: Install Update KB3140245
If update KB3140245 is missing from your computer, you may encounter difficulties when trying to connect to SharePoint. You can download the KB3140245 file.
Solution 6: Download the Easy Fix Tool from Microsoft
If you are using Windows 8 or Windows 7 Service Pack 1 (SP1) or Windows Server 2012 or Windows Server 2008 R2 SP1, you can download an easy fix provided by Microsoft to resolve the SharePoint error.
Additionally, you can also check your internet connection, login credentials, temporarily disable antivirus software and firewall, update OneDrive, etc.
Remember to exercise caution when making any changes to your system, and always ensure you have a backup of your important files before taking any troubleshooting steps.
Conclusion
In this article, we discussed how to fix error code 0x8004de40 when trying to sign in to OneDrive.
To resolve this error, you can take several steps such as enabling all TLS versions, configuring the cipher suite, installing necessary update files, and more.
You might also like



