How to Fix OneDrive Sync Error 0x8004de81 with SharePoint 2019 On-Premises
Question details
Users are unable to synchronize SharePoint 2019 on-premises libraries using the OneDrive client when authenticating with Active Directory usernames, resulting in an error code.

- Product
- OneDrive and SharePoint 2019
- Device & OS
- not provided
- Scenario
- Attempting to sync on-premises SharePoint 2019 document libraries using Active Directory credentials instead of standard email addresses.
- Observed behavior
- The synchronization process fails to initiate and throws the error code 0x8004de81.
Ensure you have SharePoint Central Administration access to verify web application settings and confirm that your OneDrive sync client is updated to the latest version.
Verify My Site Host and Alternate Access Mappings
Check your SharePoint Central Administration settings to ensure that the My Site host, user profile configuration, and authentication methods are correctly set up for OneDrive.
OneDrive sync requires strict alignment between the web application settings, authentication configurations, and HTTPS protocols. Misconfigured Alternate Access Mappings (AAM) or incorrect My Site URLs often trigger authentication errors.
Open SharePoint Central Administration, navigate to the User Profile Service Application, and verify that the My Site Host URL matches your primary web application address.
Go to Application Management and select Configure alternate access mappings. Ensure the URLs used by the client for syncing are correctly mapped to the Default or Intranet zones with proper HTTPS settings.
Navigate to Manage web applications, select your web application, and click Authentication Providers. Confirm that the authentication method correctly supports the Active Directory claims expected by the OneDrive client.

Initiate Synchronization via HTTP in Mozilla Firefox
Use Firefox and the HTTP version of your SharePoint My Site host to bypass browser-specific protocol blocks and trigger the initial sync.
Maintain Productivity with WPS Office
While resolving complex SharePoint and OneDrive server configurations, ensure your team's workflow remains uninterrupted. WPS Office is a lightweight, high-performance, and entirely free alternative to Microsoft Office that easily handles all your document processing needs.
- 1. Download the Installer: Visit the official WPS Office website and download the free version for your operating system.
- 2. Install WPS Office: Run the setup file and follow the quick installation instructions to deploy the software on your device.
- 3. Edit Your Documents: Open your local or downloaded SharePoint documents directly in WPS Office without losing any advanced formatting.

Frequently Asked Questions
What does OneDrive sync error 0x8004de81 mean?
Error 0x8004de81 typically indicates a failure in authentication or connectivity between the OneDrive sync client and a SharePoint on-premises server, often triggered by mismatched My Site configurations or login credential types (like using AD usernames instead of emails).
Why does the OneDrive sync work in Firefox but fail in Chrome?
Modern browsers handle security policies for mixed content (HTTP vs. HTTPS) and external application protocol handlers differently. Firefox may permit the necessary redirect from an HTTP SharePoint site to the local OneDrive application, while Chrome's strict security protocols might silently block it.
Can I use standard email addresses to prevent this SharePoint 2019 sync issue?
Yes, reconfiguring your SharePoint environment to authenticate users via their standard email addresses or User Principal Names (UPN) aligns better with the OneDrive client's default expectations and often prevents this error natively.




