8004de40 error code and have tried all troubleshooting

Lily M 20 Reputation points
2025-11-17T12:08:29.2666667+00:00

Hi, I have recently installed Onedrive and when I try to sign in i get the error code 8004de40. I have tried all troubleshooting including checking internet, proxy, firewall, VPN, antivirus, trying as a test user and running from my hotspot. None of which work. It is very frustrating not being able to speak to someone about a product I have paid for.


Moved from: HoloLens | Other

Microsoft 365 and Office | OneDrive | Other | MacOS
{count} votes

Answer accepted by question author
  1. Francisco Montilla 24,450 Reputation points Independent Advisor
    2025-11-18T02:05:10.3566667+00:00

    Hi Lily,

    That message means the OneDrive app is not reaching the cloud at sign-in, even if your internet works. The quickest fix on a Mac is a full OneDrive app reset, which refreshes its sign-in and connection without touching your files.

    Quit OneDrive first.

    Click the OneDrive cloud in the menu bar, open Preferences, choose Pause, then Quit OneDrive. In Finder open Applications, Control-click OneDrive, choose Show Package Contents, open Contents > Resources, double-click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command if you see that one), then open OneDrive again from Applications and sign in.

    If you are asked where to keep your OneDrive folder, pick the same location you used before so it does not re-download unchanged files. If your OneDrive app is older and does not show the reset script, drag it to Trash and install the current OneDrive for Mac, then try the reset steps again.

    Please try that exactly as written and tell me what happens on sign-in. If it still throws 0x8004de40, I will walk you through the next step.


2 additional answers

Sort by: Most helpful
  1. Q&A Assist
    2025-11-17T12:08:58.57+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error code 0x8004de40 indicates that OneDrive is having trouble connecting to the cloud. Since you've already tried various troubleshooting steps like checking your internet connection, proxy settings, firewall, VPN, and antivirus, here are additional solutions you can consider:

    1. Check TLS Protocols: Ensure that TLS 1.0, TLS 1.1, and TLS 1.2 are enabled on your system. You can do this by:
      • Pressing Windows logo key + R to open the Run window.
      • Typing inetcpl.cpl and pressing Enter.
      • Navigating to the Advanced tab and enabling the checkboxes for TLS 1.0, TLS 1.1, and TLS 1.2.
      • Selecting Apply and OK to save changes.
    2. Check Cipher Suites Settings: Make sure that the cipher suites settings match Azure Front Door requirements. You may need to adjust the order of the cipher suites to prioritize those supported by Azure Front Door.
    3. Restart the Device: Sometimes, simply restarting your device while connected to your Microsoft Entra domain can resolve the issue. If that doesn't work, you might try unjoining and rejoining your device to the Microsoft Entra ID.
      • Open an elevated Command Prompt and run the following commands:
        • dsregcmd /leave
        • dsregcmd /join
      • Restart your computer after running these commands.

    If these steps do not resolve the issue, you may want to consider using the Easy Fix Tool to add TLS 1.1 and TLS 1.2 Secure Protocol registry keys automatically, especially if you are using older versions of Windows.


    References:


  2. Lily M 20 Reputation points
    2025-11-17T12:12:12.81+00:00

    As stated in comments, it is a mac and these are quite complicated instructions that will take me all day to figure out. It would be really helpful to speak to a human.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.