IT Knowledge Base and Articles for fun
Clear OneDrive cached credentials
Applies To:
Microsoft365.com Microsoft 365 admin Microsoft Office OneDrive (home or personal) OneDrive for Mac OneDrive for Windows
Some users may have issues signing in to OneDrive with credentials that have expired on the computer.
ISSUE
A duplicate file is created with your computer name added to the filename, for example:
- book1.xlsx
- book1-desktop-computer.xlsx
WORKAROUND
Windows:
- Press the Windows key + R to open a “Run” dialog.
- Enter the path %localappdata%\Microsoft\OneDrive\settings and select OK.
- Delete the PreSignInSettingsConfig.json file.
Mac:
- From Spotlight search type “keychain” and select “Keychain Access”. If it’s not visible in Spotlight, go to the Utilities folder and open Keychain Access from there.
- Search for “OneDrive.”
- Delete “OneDrive Cached Credential.”
- Run OneDrive.
If these workarounds don’t resolve the issue, please uninstall and reinstall OneDrive