Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


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 to OneDrive with a work or school account.

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

Resolution steps

Update Registry 

Warning: 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, read 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.

  • 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.

Related topics

Error Code 0x8004de40 when signing in to OneDrive

Find out more about other OneDrive error codes.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!