How to Fix OneNote Sync Error 0x803D0005 and HTTP 401 Authentication Issues
Question details
Users are unable to synchronize locally stored OneNote notebooks with OneDrive due to authentication failures, resulting in HTTP 401 and 0x803D0005 errors.

- Product
- OneNote for Windows
- Device & OS
- Windows
- Scenario
- Syncing local notebooks to OneDrive or attempting to share notebooks, which sometimes results in the application crashing.
- Observed behavior
- OneNote displays error 0x803D0005 and HTTP 401 from docs.live.net, indicating a Microsoft account connection or authentication problem despite the user appearing to be signed in.
Ensure you have a stable internet connection and manually back up any unsynced notebook sections by exporting them to a local drive before attempting to clear your credentials.
Clear Saved Microsoft Credentials and Re-sign into OneNote
Removing cached credentials forces OneNote to request fresh authentication tokens, resolving HTTP 401 unauthorized errors.
Authentication errors like HTTP 401 typically occur when the security token saved on your Windows machine expires or becomes corrupted. Clearing these outdated credentials from the Windows Credential Manager allows OneNote to establish a fresh, secure connection with OneDrive.
Open OneNote, click on 'File' in the top-left corner, select 'Account', and click the 'Sign Out' button. Close the application completely.
Press the Windows key, type 'Credential Manager' in the search bar, and press Enter to open the utility.
Click on 'Windows Credentials'. Look through the list for any entries containing 'OneDrive', 'MicrosoftOffice', or 'live.net'. Click the drop-down arrow next to each and select 'Remove'.
Restart your computer. Open OneNote, go to 'File' > 'Account', and sign back in using the Microsoft 365 account that owns your OneDrive storage.

Update Windows and OneNote Software
Installing the latest updates ensures that known bugs and security protocols affecting synchronization are patched.
Create a New Notebook to Isolate Corrupted Files
Creating a new notebook helps determine whether the synchronization issue affects your entire account or just a specific, corrupted notebook.
Looking for a Hassle-Free Note-Taking and Document Suite?
If persistent Microsoft Office sync errors like 0x803D0005 are disrupting your productivity, try WPS Office. It provides a lightweight, highly compatible alternative with seamless cloud sync and a familiar interface.
- 1. Download WPS Office: Visit the official WPS website to download the free, lightweight installer for your operating system.
- 2. Install and Launch: Run the installer. The setup takes only a few minutes, after which you can immediately launch the suite.
- 3. Sign in for Cloud Sync: Create or sign in to your WPS account to enjoy effortless, built-in cloud synchronization without complex server settings.

Frequently Asked Questions
What does HTTP 401 error mean in OneNote?
An HTTP 401 error is an 'Unauthorized' response code. In OneNote, it means the application is failing to verify your Microsoft account credentials with the OneDrive server (docs.live.net), preventing access to your cloud-stored notebooks.
Why does my OneNote crash when I try to share a notebook?
Crashing during sharing is often tied to the same authentication failures causing the 0x803D0005 error. When OneNote cannot authenticate your credentials to generate a secure sharing link via the cloud, the protocol fails, which can result in an unexpected application crash.
How can I back up my unsynced OneNote files before troubleshooting?
To back up your notes locally, open OneNote and navigate to File > Options > Save & Backup. Under the 'Backup' section, click 'Back Up All Notebooks Now' to ensure your data is safe on your local hard drive before clearing your credentials.
Will repairing or reinstalling OneNote delete my notes?
Repairing the app through Windows Settings usually does not delete unsynced data, but uninstalling the application completely might. It is highly recommended to manually back up unsynced sections before attempting a full reinstallation.




