A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
The Excel file upload and auto‑upload to OneDrive are failing because the account used in Excel/Office does not match an account that has permission to upload to the OneDrive location, or the OneDrive sign‑in/credentials on the device are corrupted.
Use these steps:
- Verify the correct account is used
- In Excel, go to File > Account.
- Under User Information, check which account is signed in.
- Make sure this is the same account that owns the OneDrive where the file is stored/synced.
- If not, sign out of the wrong account in Excel and sign in with the OneDrive account that has permission.
- Re‑add OneDrive as a service in Office
- In Excel, go to File > Account (or File > Save As).
- Add OneDrive again using the correct Microsoft 365 account, following the steps in How to add OneDrive as a service.
- Clear old OneDrive credentials (if sign‑in keeps looping)
Some devices keep expired or conflicting OneDrive credentials that cause repeated sign‑in prompts. Windows:
- Press Windows key + R.
- Enter:
%localappdata%\Microsoft\OneDrive\settingsand select OK. - Delete the file PreSignInSettingsConfig.json.
- Restart OneDrive and sign in again with the correct account.
- Open Keychain Access (via Spotlight or Applications > Utilities).
- Search for OneDrive.
- Delete OneDrive Cached Credential.
- Run OneDrive and sign in again.
- If the problem persists, reinstall OneDrive
- Uninstall OneDrive from the device.
- Install the latest OneDrive client using the official download links for Windows or Mac from the context.
- Sign in with the account that owns the OneDrive storage and then try saving/uploading from Excel again.
If storage is full, uploading and editing new files will also fail, so check available storage on the OneDrive Storage page and free space or purchase more if needed.
References: