What the error means
Error 0x8004de85, and its twin 0x8004de8a, appear when the OneDrive sync app cannot sign you in. Microsoft's Learn article says the issue might occur if a problem is affecting your OneDrive account, such as a missing account, or a mismatch if you try to sign in to a personal Microsoft account by using the credentials for a work or school account, or the other way round. The OneDrive error codes page on Microsoft Support describes the two codes in the same terms.
The mix-up case is common because one email address can belong to two different accounts. Many people use their work address as a personal Microsoft account too, so when OneDrive asks which kind of account to use, the wrong choice leads to an account that has no OneDrive behind it. A sync app that still has an old account configured can produce the same result.
The "missing account" case covers work or school users whose OneDrive is not available to them. Microsoft's third solution addresses that: depending on how the organization bought OneDrive, the user may no longer have a OneDrive for Business license assigned, or the license may have expired.
Common causes
- Signing in to a personal Microsoft account with work or school credentials, or the reverse.
- OneDrive showing a different or unexpected account on its Account tab.
- A missing account, or OneDrive app settings that need a reset.
- For work or school accounts, no OneDrive for Business license assigned, an expired license or an expired subscription.
How to fix it
1. Make sure you are using the correct account
First sign in to your personal Microsoft account or Microsoft 365 account on the web to confirm there are no authentication issues. Then select the OneDrive icon in the taskbar notification area; you may need the Show hidden icons arrow, and if there is no icon, start OneDrive from the Start menu. Select Help & Settings > Settings. On the Account tab, check that the expected account is shown. If not, sign in to OneDrive with the correct account.
2. Reset OneDrive
Right-click the OneDrive icon, select Help & Settings and then Quit OneDrive. Open Command Prompt as administrator and run:
%localappdata%\Microsoft\OneDrive\onedrive.exe /resetRestart the OneDrive sync app and sign in with your work or school account. Microsoft's error codes page notes that you won't lose files or data by resetting OneDrive, but the reset disconnects all existing sync connections, so if you synced only some folders before, choose them again afterwards.
3. Admins: check the OneDrive for Business license
A Microsoft 365 administrator must do this. In the Microsoft 365 admin center, go to Users > Active users, select the user and then Licenses and apps. Expand Licenses and make sure a OneDrive for Business license is assigned. If several users see the error, check Billing > Your products, because the subscription might be expired.
If nothing works
As a general step, open OneDrive on the web in a private browser window and sign in with the account you expect. If you land in the wrong kind of account, or no OneDrive opens, the problem is the account rather than the PC, and for a work or school account your IT department needs to check it. If the error changes to 0x8004deef, cached credentials or the license are the next thing to check. The OneDrive sync problems guide has more on resets and admin policies.
What we checked
Two Microsoft pages were read. The Learn article "Error 0x8004de85 or 0x8004de8a when signing in to OneDrive" gives the missing account and personal versus work account causes and three solutions: check the account in OneDrive settings, reset the sync app, and check the OneDrive for Business license and subscription. The support page "What do the OneDrive error codes mean?" lists both codes with the same meaning and notes that a reset does not lose files. The error was not reproduced for this page.
Last checked: 2026-11-21.