A Microsoft file hosting and synchronization service.
Error 0x8004def4 when signing in to OneDrive is commonly caused by a folder name conflict, an incorrectly synchronized OneNote notebook, or having the OneDrive Store app installed alongside the OneDrive sync app.
Try this in order:
- Install and run Microsoft 365 Support and Recovery Assistant.
- In the tool, select OneDrive for Business > Next.
- Select I need help syncing my OneDrive files > Next.
If the assistant does not fix it:
- Reset OneDrive.
- If the issue continues, uninstall OneDrive and then reinstall it.
For 0x8004def4, Microsoft also notes that this can happen if the OneDrive sync app is being used while the OneDrive Store app is also installed. In that case, uninstall all OneDrive app versions, then reinstall the latest OneDrive sync app.
The files listed on the local drive — OneDrive.App.exe, OneDrive.exe, and OneDrive.VisualElementsManifest.xml — are OneDrive application files. Their presence alone does not fix the issue; the recommended fix is to repair the installation by using the recovery assistant first, then reset, uninstall, and reinstall if needed.
Microsoft also states that uninstalling or reinstalling OneDrive does not delete OneDrive files or cloud data.