A Microsoft file hosting and synchronization service.
Hello kia ward,
I understand that you are having issue with OneDrive App Login. I truly understand how you feel. Let me assist you go through this situation.
Based on your description, you can sign in to OneDrive in a web browser, your account is generally fine. The problem is on the PC: the OneDrive sync app / Office sign‑in token cache (cached credentials) on Windows has likely become expired or corrupted, so OneDrive can’t authenticate locally. When that happens, Office apps can’t reach the normal OneDrive sync folder, so Word/Excel report things like “cached credentials would not sign in” and “location cannot be found” when saving back to OneDrive.
I suggest you try this:
- Clear the OneDrive “cached credentials” file (official Microsoft workaround)
This targets the exact “cached credentials” sign-in loop:
- Quit OneDrive completely (tray icon > Quit; or end OneDrive in Task Manager).
- Press Windows + R > paste:
%localappdata%\Microsoft\OneDrive\settings - Delete:
PreSignInSettingsConfig.json - Start OneDrive and sign in again.
- Reset the OneDrive sync client
- Quit OneDrive.
- Windows + R > run:
onedrive.exe /reset - If it doesn’t reopen automatically, launch OneDrive from Start and sign in.
- Remove stale OneDrive/Office credentials from Windows Credential Manager
This fixes cases where Windows keeps reusing a broken token even after reinstalling:
- Control Panel > Manager
- Windows Credentials
- Remove entries containing “OneDrive” and/or “MicrosoftOffice”
- Restart PC > launch OneDrive > sign in.
- Disconnect any “Work or school” / extra accounts in Windows Settings
If Windows is holding onto an old or wrong sign-in identity, OneDrive can fail locally:
- Settings > Accounts > Email & accounts (remove unwanted Microsoft accounts if present)
- Settings > Accounts > Access work or school (disconnect anything not needed)
- Reboot > sign in to OneDrive again.
- Clear Microsoft identity token caches
If the above doesn’t work, Microsoft troubleshooting guidance includes clearing token cache folders:
Sign out of OneDrive / quit OneDrive
Delete subfolders in:
-
%localappdata%\Microsoft\OneAuth -
%localappdata%\Microsoft\IdentityCache
Reboot > sign in again.
- Reinstall OneDrive after clearing caches (so the bad token doesn’t come back)
If you reinstall without clearing credentials/caches, the problem often returns immediately.
Download and install the latest OneDrive sync app from Microsoft: https://www.microsoft.com/microsoft-365/onedrive/download
For more information, you can check this page: Can’t sign in to OneDrive
I hope this will help with your situation. Please feel free to reach back if you have further update or more questions.
Best Regards,
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment”.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.