Scenarios for this code

The same code shows up in multiple contexts. Pick the surface where you saw it to jump straight to the matching fix.

OneDrive Error 0x8004de90: What It Means and How to Fix It (2026 Updated Guide)

Quick answer

OneDrive error 0x8004de90 means your OneDrive account hasn’t finished setting up — not that your network is broken. The cause depends on the account type. For work or school accounts, it’s almost always a license or provisioning problem on the admin side, and end-user fixes won’t resolve it. For personal Microsoft accounts, it’s usually a partially-completed install, an account that hasn’t been initialised on the web, or a password change OneDrive hasn’t caught up with. Sign in to your account on the web first; if that works, the problem is local to your client. If that doesn’t work, the problem is server-side and an admin needs to be involved.

Before you start

A few things to confirm before you start changing settings.

This error is frequently confused with OneDrive error 0x8004de40, which is a different problem. 0x8004de40 is “OneDrive can’t reach the cloud.” 0x8004de90 is “OneDrive reached the cloud but your account isn’t ready.” The fix paths barely overlap. If you’re not sure which code you saw, write it down before you do anything else and re-trigger the error if you have to. Acting on the wrong code wastes time.

If you’re on a work or school account, do not spend an hour resetting clients before you check the basics. The most common cause of 0x8004de90 on a work account is that the user has been assigned a Microsoft 365 license in the admin center but the OneDrive provisioning step never ran or hasn’t completed yet. That’s an admin fix, not a user fix. Skip to If you are on a work or school device for what your admin needs to do.

You will not lose files by attempting any of the steps below. OneDrive will refuse to delete data it can’t successfully sync — that’s the point of the error code in the first place.

What this error means

Microsoft’s documentation describes 0x8004de90 as “OneDrive has not been set up fully.” That’s literal. When OneDrive signs in, it expects a fully-provisioned mailbox or storage allocation associated with your account. If that allocation doesn’t exist — or if the back-end record is in a half-built state — sign-in succeeds but the client refuses to continue because there’s nothing to sync to.

For personal accounts, this most often happens because the OneDrive personal storage hasn’t been initialised. Microsoft creates personal OneDrive storage on first web sign-in to onedrive.live.com, and if a user has only ever used the desktop client without first visiting the web, the desktop client may hit 0x8004de90 because there’s no back-end OneDrive to sync to yet. It also happens after a password change that the local credential cache hasn’t picked up.

For work or school accounts, the story is different. OneDrive for Business requires a SharePoint Online license to be active and the OneDrive personal site to have been provisioned. Provisioning normally happens automatically the first time a user signs in to office.com and clicks the OneDrive tile, but if that step has never happened — or if the license was assigned and then immediately revoked and re-assigned — the back-end can end up in a state where the license shows as active but the personal site isn’t ready. That produces 0x8004de90 until an admin forces the provisioning to complete or removes and re-adds the license.

Where this error appears

You’ll see 0x8004de90 in the OneDrive sign-in window with the message “Your OneDrive has not been set up. Please contact your IT department to enable OneDrive for your account.” On work accounts the error message is more explicit; on personal accounts it can be terser.

It can appear:

  • The first time a new Microsoft 365 user tries to set up OneDrive on their device.
  • After a password change, particularly on personal accounts where the credential cache hasn’t refreshed.
  • On a device where OneDrive has been signed out and back in, and the second sign-in is using a different account than expected.
  • After a license change in the Microsoft 365 admin center — particularly when a SharePoint Online license has been recently added or removed.
  • Following a tenant migration or a SharePoint Online region change.

Common causes

In rough order of how often each cause is the actual problem:

  • Personal account: OneDrive web has never been visited. The personal storage hasn’t been provisioned yet because no one has triggered it.
  • Work account: SharePoint Online license not assigned, or assigned but not provisioned. This is the dominant cause on business tenants. Even if the user can sign in to Outlook and Teams, OneDrive needs SharePoint Online specifically.
  • Password change has invalidated cached credentials. The OneDrive client is using a stale token that no longer matches the account state.
  • Account mismatch. You’re signing in with a personal Microsoft account on a device set up for a work account, or vice versa.
  • License assigned then immediately changed. When a Microsoft 365 admin assigns a license, removes it, then re-assigns within a short window, the provisioning back-end can end up confused. This is a real failure mode in mid-sized tenants.
  • Outdated OneDrive client. Older clients sometimes report 0x8004de90 as a fallback for errors the current client surfaces more accurately.
  • Account disabled or expired. A subscription has lapsed, or the user account has been disabled in the admin center but the license wasn’t fully removed.

Fixes to try first

The fix depends entirely on whether this is a personal account or a work/school account. Skip to the right section.

Personal Microsoft accounts

  1. Sign in to OneDrive on the web first. Open a browser and go to https://onedrive.live.com. Sign in with the same account you’re using on the desktop client. If you’ve never set up OneDrive personal storage, this triggers the provisioning. Wait for the web view to fully load — you should see your OneDrive folder structure (or an empty drive). Once that works, retry the desktop client.

  2. Confirm you’re using the right account. OneDrive cloud icon → SettingsAccount. Check the email address shown. If it’s not the account you intended to use, unlink and sign in fresh with the correct one. People with both a personal Microsoft account and a work Microsoft account sometimes sign into the wrong one without realizing.

  3. Update OneDrive to the current version. Go to OneDrive → SettingsAbout and check the version. If it’s more than six months old, download the current version from Microsoft and run the installer over the top of the existing one. Older clients fail in worse ways than current ones.

  4. Reset OneDrive. Win+R, paste %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, hit Enter. Wait two minutes. If OneDrive doesn’t auto-relaunch, start it from the Start menu manually.

  5. Re-link the account. Settings → Account → Unlink this PC, then go through setup again from scratch. This forces a fresh credential exchange.

If you’re still seeing the error on a personal account after this, you are an outlier. The remaining causes are typically license issues that don’t apply to personal accounts.

Work or school accounts

If you are not the admin, hand this list to your admin and stop. Trying to “fix” this from a user account wastes time you don’t have.

If you are the admin, work through this:

  1. Confirm the user has a OneDrive-eligible license. Microsoft 365 admin center → Users → Active users → select the user → Licenses and apps. You’re looking for a SharePoint Online license (it’s usually bundled into Microsoft 365 Business / E3 / E5, but it can be unbundled). If there’s no SharePoint license, that’s your answer — assign one, wait, retry.

  2. Sign in to office.com as the user. Use the user’s credentials directly, or use the admin “Sign in as user” feature where available. Click the OneDrive tile. If OneDrive provisions and shows a working web view, the back-end is healthy and the user’s desktop client is the problem. If OneDrive in the web shows the same error, the back-end provisioning hasn’t completed.

  3. Force re-provisioning. Remove the SharePoint Online license, wait fifteen minutes, re-assign it. This restarts the OneDrive site provisioning and resolves a meaningful percentage of “stuck provisioning” cases. Note that this can cause a short delay (up to several hours in unusual cases) before the user’s OneDrive becomes available.

  4. Check the SharePoint admin center. SharePoint admin center → More features → User profiles → Manage user profiles. Find the user. If their profile shows but the personal site URL is missing or marked as “Pending”, provisioning is incomplete. The “Manage Personal Site” action can sometimes force completion.

  5. Once provisioning is confirmed working on the back-end, the user’s client-side fixes are the same as personal accounts above — sign in to OneDrive on the web first, update the client, reset, re-link.

Advanced fixes

If the basics haven’t worked, the remaining options are deeper.

Use SharePoint Online PowerShell to inspect the user’s OneDrive site state. This is admin-only. Connect to SharePoint Online with the SharePoint Online Management Shell, then run Get-SPOSite -IncludePersonalSite $true -Filter "Owner -eq 'username@yourdomain.com'". If no result is returned, the personal site has never been provisioned. The Request-SPOPersonalSite cmdlet can be used to explicitly trigger provisioning for a list of users.

Clear cached OneDrive credentials. This is a user-side step that occasionally helps after a back-end fix. Open Credential Manager from Control Panel → Windows Credentials. Remove any entries beginning with OneDrive Cached Credential or MicrosoftOffice16_Data:SSPI:. Restart the OneDrive client.

Check Conditional Access policies. If your tenant has Conditional Access rules that block OneDrive sign-ins from unmanaged devices, untrusted networks, or non-compliant device states, the user can hit 0x8004de90 even though the license and provisioning are fine. The CAA50021 admin checklist covers the Conditional Access diagnosis path. Also see microsoft-365-error-caa50021 for the broader sign-in error family.

Check for known service health issues. Microsoft 365 admin center → Health → Service health. If there’s an active SharePoint Online or OneDrive provisioning incident, no amount of client-side troubleshooting will fix it for affected users — wait for resolution.

Reinstall OneDrive completely. Last resort. Uninstall via Settings → Apps, restart, download the current version directly from Microsoft, install. Sign in. Faster than people expect — but rarely needed.

If you are on a work or school device

If you are not the admin and your IT person has confirmed your license is correct: ask them specifically to (1) check that you have a SharePoint Online license, not just a “Microsoft 365” license in general, (2) verify your OneDrive personal site has been provisioned in the SharePoint admin center, and (3) try removing and re-adding your SharePoint Online license with a fifteen-minute wait between. Those three steps fix this error in the overwhelming majority of cases. If they’ve done all three and you still hit 0x8004de90, the issue is in Conditional Access or service health.

If you are the admin and the user is in a brand-new state — newly hired, newly licensed — the most efficient path is: assign the license, then sign in to office.com as that user (or have them sign in) and click the OneDrive tile. The web-side provisioning trigger is more reliable than the desktop client’s.

When to stop

Stop and accept the workaround if any of the following apply.

You’re a user on a work account, you’ve established that the cause is admin-side, and you need OneDrive working today. The OneDrive web version (yourtenant.sharepoint.com or via the OneDrive tile in office.com) works fine for individual file uploads and downloads. Use that until the admin fixes the underlying provisioning. Don’t waste more time on the desktop client.

You’re an admin, you’ve removed and re-assigned the SharePoint Online license twice, and the user’s OneDrive personal site still won’t provision. At that point you’re likely looking at a service-health issue, a tenant-level configuration problem, or a user account that’s in a corrupted state. Open a Microsoft support case rather than continuing to retry — Microsoft’s back-end tools can force-reset states that the admin center cannot reach.

You’ve signed out, signed in, reset, re-linked, reinstalled, and you’re staring at 0x8004de90 again. That’s the universe telling you the problem isn’t on the client side. Go look at the license.

  • OneDrive error 0x8004de40 — connectivity error, looks similar but is a different family.
  • CAA50021 OneDrive sign-in error — work-account sign-in blocked by Conditional Access or device-trust state.
  • Microsoft 365 error CAA50021 — the broader sign-in error family.
  • 0x8004deef — your OneDrive license is missing or expired.
  • 0x8004de85 / 0x8004de8a — account mismatch on sign-in.

Official references

FAQ

What’s the difference between 0x8004de40 and 0x8004de90? 0x8004de40 is a connectivity error — OneDrive cannot reach Microsoft’s servers at all. 0x8004de90 is a provisioning error — OneDrive can reach the servers, but your account isn’t fully set up to use OneDrive. The fix paths are completely different. See OneDrive error 0x8004de40 for the connectivity-side problem.

I just got a new Microsoft 365 license and I’m seeing this error. How long should I wait? Provisioning is normally complete within a few minutes, but Microsoft documents up to 24 hours as a possible window for a new OneDrive personal site to become available. If it’s been more than a few hours, have your admin verify the license is fully assigned and try the license-cycle fix described above.

Will reinstalling Windows fix this? No. 0x8004de90 is almost never a Windows-side problem. Reinstalling Windows will create work without addressing the actual cause.

Why does my colleague have OneDrive working on the same tenant but I don’t? Almost always a license difference. Compare your licenses in the admin center — if they have a SharePoint Online license and you don’t, that’s the answer. If you have identical licenses, your provisioning has stalled and the license-cycle fix is the right next step.

Can I use OneDrive on the web while this is being fixed? For work accounts, almost always yes. Go to office.com, sign in, click the OneDrive tile. If the web view works, you have full access to your files; only the desktop client is failing. For personal accounts it depends on whether the personal storage has ever been initialised.

Does this error mean my OneDrive files are lost? No. 0x8004de90 is about whether OneDrive can sync, not whether your data exists. Files in OneDrive remain in the cloud and on disk — the client just can’t connect them right now.

↑ Back to top