How to Fix OneDrive Sign-In Error 0x8004e4d0 After Migration
Question details
Users are unable to sign into the OneDrive sync client after migrating to Microsoft 365 due to error code 0x8004e4d0.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to sign in to the OneDrive desktop sync client immediately after completing a Microsoft 365 account or tenant migration.
- Observed behavior
- The sign-in process fails and displays error code 0x8004e4d0, blocking the user from syncing their files.
Ensure you have administrator access to your Microsoft 365 account, or have the contact information for your organization's IT administrator ready, as resolving this error typically requires elevated permissions.
Clear Cached OneDrive Credentials
Removing old or conflicting cached credentials from your system allows the new migrated Microsoft 365 account to authenticate successfully.
During a Microsoft 365 migration, your computer may hold onto outdated authentication tokens. Clearing these from the Windows Credential Manager forces OneDrive to request a fresh, valid login token for your new setup.
Right-click the OneDrive cloud icon in your system tray (bottom right of your screen) and select 'Close OneDrive' or 'Quit OneDrive' to completely shut down the sync client.
Click the Windows Start button, type 'Credential Manager' into the search bar, and press Enter to open the utility.
Select the 'Windows Credentials' tab and scroll down to the 'Generic Credentials' section.
Look for any entries containing 'OneDrive Cached Credential' or 'MicrosoftAccount'. Click on the downward arrow next to each relevant entry and select 'Remove'.
Launch OneDrive again from the Start menu and attempt to sign in using your newly migrated Microsoft 365 account credentials.

Switch to WPS Office for a Hassle-Free Experience
If Microsoft 365 migration errors and sync client issues are slowing down your productivity, consider trying WPS Office. It is a lightweight, fully compatible office suite that offers an intuitive interface and reliable built-in cloud storage without the complexities of enterprise migrations.
- 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded installation file and follow the simple on-screen instructions to set up the suite.
- 3. Open and edit files easily: Launch WPS Office to immediately open, edit, and save your existing Microsoft Office documents without any complex migration steps.

Frequently Asked Questions
What causes the 0x8004e4d0 error in OneDrive?
This error is typically caused by conflicting cached credentials, outdated account setup information, or misconfigurations that occur during a user or tenant migration to Microsoft 365.
Can I fix the OneDrive sign-in error without admin rights?
In most cases, resolving this error requires modifying account configurations or clearing specific system credentials. If your device or account is managed by an organization, you will likely need your IT administrator to perform the fix.
Will clearing my OneDrive credentials delete my local files?
No, clearing your cached credentials in the Windows Credential Manager only removes the saved login information. Your files safely remain in the cloud and in your local OneDrive folder.




