Fix it now
Microsoft documents 0x8004de85 and 0x8004de8a as a problem with the account – it is missing, or there is a mismatch between a personal and a work or school account. 0x8004def7 is different: you have exceeded your storage capacity, or the account has been suspended. Check which of those you have before touching the client.
- Sign in to the account in a browser, then open OneDrive settings and check which accounts the app is showing.
- If the app shows a personal account where a work account belongs, or the reverse, sign in with the correct one. That is the documented fix for 0x8004de85 and 0x8004de8a.
- For 0x8004def7, check the storage figure in the OneDrive web app, and check whether the account has been suspended. Those are the two documented causes.
- If there is no OneDrive at all, check the licence under Users, Active users, the user, Licenses and apps – and confirm the OneDrive and SharePoint service plans are enabled inside it, not just that a licence exists.
- Have the user open the OneDrive web app once. The personal site is created on first access, and until it exists there is nothing to sync to.
- Once the web app lists files, close OneDrive and reset it with
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset, then sign in again.
If the client creates its folder and completes a first sync, you are done. If the account has no OneDrive to reach, the next section explains what has to exist before the client can do anything at all.
Why it happens
OneDrive for Business is not a folder on a server somewhere. Each user gets their own SharePoint site, created the first time they use OneDrive, and the sync app is a client for that site. Everything the client does depends on that site existing and on the account being entitled to it. That is why an account question and a client question look identical from the desktop, and why the first move is always to establish which account the app is actually using.
Microsoft’s error code reference is specific about the headline code. 0x8004de85 and 0x8004de8a are documented as an account problem – the account is missing, or there is a mismatch between a personal and a work or school account – and the published fix is to sign in and verify the account credentials, then check that the OneDrive settings show the correct account. That is worth stating plainly, because the code has a long-standing reputation as a licensing error and reaching for the admin centre first often means an hour spent on the wrong question.
0x8004def7 is the one that genuinely points beyond the client. Microsoft documents it as the storage capacity being exceeded, or the account being suspended. Both are conditions on the service side and neither is fixed by resetting anything. Entitlement still belongs in this article, because an account with no OneDrive and SharePoint service plan has no site for the client to reach – it is just not what the headline code says.
The app is signed in with the wrong kind of account
You have this one if 0x8004de85 or 0x8004de8a, and the OneDrive settings show a personal account where a work one belongs, or nothing at all.
- Sign in with the correct account and confirm it verifies.
- Check the accounts listed in OneDrive settings and remove the one that should not be there.
- Where both a personal and a work account are genuinely needed, link the work account first so scripts and policies see it as the primary one.
Storage is full, or the account is suspended
You have this one if 0x8004def7, and the web app shows the storage figure at the quota, or the account has been frozen.
- Read the used and available figures in the OneDrive web app or in the SharePoint admin center.
- Empty both stages of the recycle bin; deleted files continue to occupy storage until they are removed.
- Move large or archival content into a SharePoint document library, which draws on tenant storage instead.
- If the account is suspended, resolve that with billing before doing anything on the device.
The licence does not include OneDrive, or the plans are switched off
You have this one if No OneDrive exists for the account at all, and the web app fails as well as the client.
- Check the user’s Licenses and apps page for an assigned licence.
- Open the licence and confirm the OneDrive and SharePoint service plans are enabled inside it. An administrator can leave a valid licence in place with those plans turned off, and from the client that looks identical to no licence.
- Allow the change to take effect rather than retrying the client immediately.
Group-based licensing fails silently when the tenant has no free seats. If the assignment will not stick, check the seat count as well as the user.
The personal site was never created
You have this one if The licence is correct and current, and the user has never opened the OneDrive web app.
- Ask the user to open the OneDrive web app once; that single visit creates the site.
- For a batch of new starters, pre-provision with
Request-SPOPersonalSite -UserEmails <addresses>from the SharePoint Online Management Shell – between 1 and 200 users per call. - Expect a wait: provisioning is asynchronous, and Microsoft says a large batch can take multiple days.
- Confirm the site exists before going back to the client.
Request-SPOPersonalSite is not Multi-Geo aware. In a Multi-Geo tenant, run it separately for the users in each region.
The account is blocked, deleted or recently restored
You have this one if Sign-in itself fails or loops, and the account has recently been through an offboarding process.
- Check whether sign-in is blocked for the account.
- If the user was deleted and restored, re-assign the licence explicitly; a restored account does not always come back with its previous assignment.
- Confirm the account can reach another Microsoft 365 service before blaming the sync client.
Full reference
What each code actually says
| Code | Documented meaning | First move |
|---|---|---|
| 0x8004de85 | A problem with the account: missing, or a personal and work account mismatch | Check which account the app is using |
| 0x8004de8a | Documented together with 0x8004de85, same meaning and fix | As above |
| 0x8004def7 | Storage capacity exceeded, or the account suspended | Read the quota, then check billing |
| 0x8004deef | Not listed on Microsoft’s OneDrive error code page | Work the account and entitlement checks in order |
Check these in order
| Check | What a failure there means |
|---|---|
| Which account the app is signed in with | The documented cause of the headline code in this article |
| The account signs in to the web app | If the browser fails too, this is not a client problem |
| Storage used against quota | A full OneDrive blocks new sync setup as well as uploads |
| Licence assigned to the user | No licence, so no OneDrive site and nothing to sync |
| OneDrive and SharePoint plans enabled inside the licence | The licence exists but this part of it was switched off |
| Subscription status in billing | An expired or unpaid subscription disables the services it covers |
Why an entitlement change is not instant
When a licence is removed the site does not vanish. It enters a retention period during which an administrator can still reach the content, and only then is it deleted. That is why a user can sometimes still open files in a browser for a while after their licence changed, while the sync client has already stopped. It also cuts the other way: assigning a licence does not produce a working OneDrive in the same minute, and repeatedly restarting the sync app while the change propagates just reproduces the error. Assign, confirm the web app opens, then reset the client.
Pre-provisioning for a group of starters
- Confirm every target user has a SharePoint licence assigned; the cmdlet requires it.
- Run
Request-SPOPersonalSitewith between 1 and 200 email addresses per call. - Use the NoWait switch for large lists, which skips status polling.
- Allow time – Microsoft warns that pre-provisioning a large number of users can take multiple days.
- In a Multi-Geo tenant, run it once per region, because the cmdlet is not Multi-Geo aware.
- Check the sites exist before the starters arrive, rather than on their first morning.
Freeing space rather than buying it
- Both recycle bin stages hold content that still counts; empty them before concluding the drive is genuinely full.
- Version history is often the largest single consumer in a heavily edited library, though it is charged to SharePoint rather than to a personal OneDrive.
- Archival content belongs in a SharePoint library, which draws on the tenant pool, not in a personal OneDrive.
- Raising an individual quota in the SharePoint admin center is a legitimate answer where the content is genuinely needed.
When a licence is the actual fix
This is where the licensing question does belong, as the second answer rather than the first. If the account genuinely has no OneDrive and SharePoint entitlement, no client troubleshooting will produce one: the site is created for a licensed user and nothing else creates it. Microsoft 365 Business Standard is the usual fit for a user who needs OneDrive, the desktop Office applications and a hosted mailbox, which is normally the rest of what an unlicensed account is missing. Where somebody only needs file storage, a smaller plan or a standalone OneDrive plan may cover it, and it is worth asking before buying the suite. Check the seat count as well as the user – group licensing fails quietly when the pool is empty. Arco can confirm which plan covers your situation and supply the seats.
Every code this article covers
| Code | What it points at | Source |
|---|---|---|
0x8004de85 |
A problem with the account: it is missing, or there is a mismatch between a personal and a work or school account. Sign in to verify the credentials and check which accounts OneDrive settings show | Microsoft Support |
0x8004de8a |
Documented together with 0x8004de85, with the same account meaning and the same fix | Microsoft Support |
0x8004def7 |
You have exceeded your storage capacity, or the account has been suspended | Microsoft Support |
0x8004deef |
Not listed on Microsoft’s OneDrive error code page. Work the account, storage and entitlement checks in the order this article sets out | not published by the vendor |
Confirm the fix worked
- OneDrive settings show the account you intended, and only that account.
- The OneDrive web app opens as that user and lists files.
- Storage used is below the quota, with both recycle bin stages accounted for.
- Where entitlement was the issue, the Licenses and apps page shows an active licence with the OneDrive and SharePoint plans enabled.
- The client creates its local folder and a test file uploaded from the desktop appears in the web app.
Questions people ask about this
Is 0x8004de85 a licensing error?
Not according to Microsoft. It is documented as a problem with the account – missing, or a mismatch between a personal and a work or school account – and the published fix is to sign in with the right one and check what OneDrive settings show. Entitlement is a real cause of having no OneDrive, but it is not what this code says.
Does every user need their own licence?
For OneDrive for Business, yes. The site belongs to the user, so entitlement is per person. If several people need the same files, put them in a SharePoint document library or a Teams site, which is the design intended for shared content.
What happens to the files when a licence is removed?
The site is retained for a period during which an administrator can still reach and export the content, and it is deleted after that. Decide what happens to a leaver’s data before removing the licence, not afterwards.
Can I fix this by reinstalling the client?
Not if the account has no OneDrive to reach. A clean install produces the same error at the first sign-in. Reinstalling is worth doing only once the account side is confirmed correct.
How long does a licence change take to reach the client?
Not instantly. Assign the licence, have the user open the OneDrive web app to confirm the site exists, then reset the client. Restarting the sync app repeatedly while the change propagates simply reproduces the error.
