Share via

URRGENT!! Error code 0x8004de40

Liam Carter 0 Reputation points
2026-04-09T04:40:44.0633333+00:00

I’m getting an error (0x8004de40) in Microsoft Word when trying to open or save files. It keeps asking me to sign in again, even though I’m already logged in with my work account.

I'm requesting for the help.

Microsoft 365 and Office | Word | Other | Windows
0 comments No comments

3 answers

Sort by: Most helpful
  1. Daniel-Vo 5,085 Reputation points Microsoft External Staff Moderator
    2026-04-09T14:02:05.3033333+00:00

    Dear @Roseli Trigo Moreira,

    I understand that you’re receiving error code 0x8004de40 in Microsoft Word when trying to open or save files, and that Word keeps asking you to sign in even though you’re already logged in with your work account.

    This error is commonly related to a connection or authentication issue between Word and cloud services (such as OneDrive or SharePoint). Even though you appear signed in, Word may not be able to fully validate the sign‑in session due to connectivity, network, or security settings on the device. When this happens, Word can repeatedly prompt for sign‑in and fail to open or save files.

    To better assistance, could you please confirm following information:

    • Are the files you’re opening or saving located in OneDrive or SharePoint, or on the local computer?
    • Does this issue also occur in Excel or PowerPoint, or only in Word?
    • Does OneDrive on your computer show as signed in and syncing normally?
    • Are you connected through a VPN, proxy, or corporate network when the issue occurs?

    In the meantime, please go through the steps below in order:

    1/ Confirm internet connectivity

    • Make sure you can browse external websites without interruption.
    • If you’re on Wi‑Fi, try reconnecting or restarting the network connection.

    2/ Check OneDrive status

    • Ensure the OneDrive app is running and signed in with the same work account.
    • If OneDrive shows any error or sign‑in prompt, resolve that first, then retry Word.

    3/ Enable required security settings (TLS)

    • Press Windows + R, type r and press Enter
    • Go to the Advanced tab
    • Under Security, ensure TLS 1.2 is enabled Click Apply and restart the computer

    User's image

    • Click Apply and restart the computer

    4/ Restart Word and sign in again

    • Close all Office apps
    • Reopen Word and sign in when prompted
    • Try opening or saving the file again

    If you need immediate access to the file, you can try:

    • Opening the document through OneDrive on the web, saving the file temporarily to a local folder, then syncing it back to OneDrive once the issue is resolved Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.        

    Your detailed response will help us diagnose and investigate the issue more efficiently. If I misunderstood what you’re looking for, feel free to let me know or share a screenshot. I’d be happy to help further!

    Thank you for your cooperation. I'm looking forward for your reply.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    0 comments No comments

  2. Ferdinand Nanalig 28,520 Reputation points Independent Advisor
    2026-04-09T05:38:36.55+00:00
    0 comments No comments

  3. Q&A Assist
    2026-04-09T04:41:00.2+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Error 0x8004de40 indicates that OneDrive is having trouble connecting to the cloud. Because Word relies on OneDrive/Office 365 services for opening and saving cloud files and for account sign-in, connectivity or TLS issues can cause repeated sign-in prompts and this error.

    Follow these steps on the affected device:

    1. Confirm internet connectivity
    1. Ensure TLS requirements are met
    • Review the information about TLS deprecation. If TLS 1.2 is not properly enabled or older TLS versions are blocked, OneDrive/Office sign-in can fail.
    1. If using Windows 10 – check TLS cipher suites OneDrive and Microsoft 365 traffic go through Azure Front Door, which requires specific TLS 1.2 cipher suites.
    • Make sure the following TLS 1.2 cipher suites are enabled and at the top of the cipher order (highest priority):
      1. TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
      2. TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
      3. TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
      4. TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
    • Configure these via Group Policy as described in Configuring TLS Cipher Suite Order by using Group Policy, or enable them with PowerShell. Example to add the first suite at highest priority:
        Enable-TlsCipherSuite -Name "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" -Position 0
      
    • After running Enable-TlsCipherSuite, verify the order with Get-TlsCipherSuite. If the order does not change, check whether the SSL Cipher Suite Order Group Policy is enforcing a different list.
    1. Enable TLS protocols in Internet Options (Windows 10)
    • Press Windows logo key + R, type inetcpl.cpl, press Enter.
    • Go to the Advanced tab.
    • Under Security, select the check boxes for TLS 1.0, TLS 1.1, and TLS 1.2.
    • Select Apply, then OK.
    1. Rejoin the device to Microsoft Entra ID (if work-joined) If the device is joined to Microsoft Entra ID (Azure AD) and still cannot reliably connect:
    • Restart the device while it is connected to the organization’s network.
    • If the issue persists, unjoin and rejoin the device:
      1. Open an elevated Command Prompt (Run as administrator).
      2. Run: dsregcmd /leave
      3. After it completes, run: dsregcmd /join
      4. Close Command Prompt.
      5. Restart the computer and then sign in to Word/OneDrive again with the work account.
    1. If using Windows 8, Windows 7 SP1, Windows Server 2012/2008 R2 SP1 If the device is on one of these OS versions, ensure TLS 1.1 and 1.2 are enabled at the OS level:

    After completing these steps, retry signing in to Word and opening/saving files. If Word still fails but OneDrive connectivity is confirmed working, run an Online Repair of Office as an additional step (from Windows Settings → Apps → Microsoft Office → Modify → Online Repair) as suggested in the related Word error guidance in the context.


    References:

    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.