Error Code: 0x8004deb4 when signing in to OneDrive

Note: If you're running Windows 7 and receive error 0x8004de40 in OneDrive, update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows.


After you update to Office 2016 build 16.0.7967 or a later version on Windows 10, you may receive the following error message when logging into OneDrive for Business:

There was a problem signing you in. 
Login was either interrupted or unsuccessful. Please try logging in again. (Error Code: 0x8004deb4)



  • This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the Microsoft Help article:

  • 322756 How to back up and restore the registry in Windows

Change Group Policy to add the following registry value at user login:



Note: After a fix for this issue is released, you should remove this registry workaround, or authentication experiences may be degraded. This registry value should not be used as a long-term solution. We will update this article periodically to address concerns about the fix.

More information

  • Starting in Office Version 1805 (build 9330.2078), an updated version of ADAL 1.2.3 addresses some issues and has better logging capabilities. Please update to this version to test whether the issue is still occurring, and use this version or a later version to gather logs for support cases.

  • On Windows 7, Windows 8, Windows 8.1, or Windows 10 builds that are earlier than 15000, ADAL authentication is the only option.

  • The Windows build should be later than 15000 (Windows Version 1703, build 15063.138, Generally Available). For more information, see Windows 10 release information.

  • This article applies if you use Microsoft Federation or non-Microsoft Federation solutions.

See also KB 4025962: You can't sign in after you update to Office 2016 build 16.0.7967 or later on Windows 10.

Need more help?

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.