onedrive Code 0x80049d61

How to Fix OneDrive Error 0x80049d61

Diagnostic Procedures

  • 1 Identify the meaning of OneDrive error 0x80049d61
  • 2 Clear OneDrive cached identities in Credential Manager
  • 3 Reset local OneDrive authentication folder cache
  • 4 Unlink the account to rebuild server bindings
  • 5 Uninstall and run a clean installer setup

How to Fix OneDrive Error 0x80049d61

If you encounter OneDrive Error Code 0x80049d61, you are experiencing a local identity authentication failure. This error typically stops you from signing into the desktop client, showing a “Something went wrong” message. It occurs when there is a mismatch between the security tokens cached on your computer and the authentication records on Microsoft’s cloud servers.

This troubleshooting guide explains why this error happens and how to resolve it on both Windows and macOS.


What Causes OneDrive Error 0x80049d61?

This authentication failure is triggered by stale security tokens or misconfigured account bindings. The main causes include:

  1. Corrupt Local Authentication Slices: Outdated security tokens stored in Windows Credential Manager or macOS Keychain Access.
  2. OneAuth Cache Corruption: Corruption inside the dedicated Microsoft OneAuth or IdentityCache application folders.
  3. BrokerPlugin Glitches: The Windows AAD.BrokerPlugin service failing to pass system identity tokens to the Microsoft 365 login portal.
  4. Multiple Login Conflicts: Multi-tenant credential conflicts (e.g., trying to use both personal and business OneDrive accounts simultaneously).

Detailed Steps to Resolve Error 0x80049d61

Platform-Specific Steps for Windows Users

Method 1: Clear Windows Credential Manager

Deleting the cached credentials forces OneDrive to perform a fresh login handshake with Microsoft’s servers.

  1. Click the Start menu, type Credential Manager, and press Enter.
  2. Select Windows Credentials.
  3. Under the Generic Credentials section, look for any entries containing:
    • OneDrive Cached Credential
    • MicrosoftOffice16_Data:live:cid
    • MicrosoftAccount:user=
  4. Click on these entries and choose Remove.
  5. Restart your PC and attempt to log in to OneDrive again.

Method 2: Purge Microsoft OneAuth and IdentityCache Folders

OneDrive uses dedicated system subfolders to cache OAuth2 credentials. Deleting these folders forces the client to reconstruct its login state.

  1. Open Command Prompt as Administrator.
  2. Run the following commands to terminate active processes and delete the cache:
    taskkill /f /im onedrive.exe
    taskkill /f /im MicrosoftSharePointApp.exe
    rmdir /s /q "%localappdata%\Microsoft\OneAuth"
    rmdir /s /q "%localappdata%\Microsoft\IdentityCache"

Method 3: Reset OneDrive via Terminal

Resetting OneDrive clears the sync state configuration settings, resolving startup loop bugs:

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Note: If that fails, run "C:\Program Files\Microsoft OneDrive\onedrive.exe" /reset instead.


Platform-Specific Steps for macOS Users

Method 1: Delete Cached Credentials via Keychain Access

Corrupted or expired tokens stored in the Mac Keychain can cause sign-in failures.

  1. Open Keychain Access (press Command + Space, type Keychain Access, and press Enter).
  2. In the search box in the top-right corner, type OneDrive.
  3. Right-click and choose Delete for all matching entries, specifically:
    • OneDrive Cached Credential
    • OneDrive Standalone Credential
  4. Close Keychain Access.

Method 2: Purge Plists and Local Container Caches

Clear the local OneDrive application container files to reset configuration bindings:

  1. Open Terminal (located in /Applications/Utilities/).
  2. Execute the following commands:
    killall OneDrive
    defaults delete com.microsoft.OneDrive-mac
    rm -rf ~/Library/Containers/com.microsoft.OneDrive-mac
    rm -rf ~/Library/Group\ Containers/UBF8T346G9.OneDriveStandaloneSuite
  3. Restart your Mac and sign back into OneDrive.

Summary Checklist for Quick Reference

  • Deleted all cached generic credentials containing “OneDrive” or “MicrosoftAccount”.
  • Cleared the local OneAuth and IdentityCache directories.
  • Reset the OneDrive client using the /reset terminal command.
  • Cleared the Mac Keychain Access records relating to Microsoft OneDrive.
  • Checked that you are logging into the correct OneDrive client type (Personal vs. Business).