Fix Excel Desktop Shows Access Denied While Excel Online Works
Question details
The user is unable to open an Excel file in the desktop application due to an 'access denied' error, even though the exact same file opens and edits perfectly in Excel for the web.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to open a cloud-stored Excel file in the desktop application after successfully viewing or editing it online.
- Observed behavior
- Excel for the web successfully opens the file, but the Excel desktop application displays an access-denied error message.
Ensure you have a stable internet connection and verify the exact Microsoft account email address you are using to successfully access the file in Excel Online.
Re-sync Your Microsoft Account in Excel Desktop
Resolve account conflicts by signing out and signing back into the Excel desktop app with the correct credentials used in Excel Online.
This issue is almost always caused by a mismatch between the Microsoft account logged into your web browser and the one logged into your desktop Office applications. Forcing a manual sign-out and sign-in refreshes your credentials.
Check the Microsoft account email address you are currently using in Excel Online where the file opens successfully by clicking your profile picture in the top right corner.
Open the Excel desktop application, go to 'File' in the top-left corner, click on 'Account' (or 'Office Account'), and click the 'Sign Out' link under your user profile.
Completely close Microsoft Excel and any other open Office applications (like Word or PowerPoint) to clear cached session credentials.
Reopen Excel, navigate back to 'File' > 'Account', click 'Sign In', and enter the exact same Microsoft account credentials you verified in Excel Online.
Try WPS Office for Hassle-Free Spreadsheet Management
Tired of dealing with account sync issues and access denied errors? WPS Office offers a lightweight, highly compatible alternative to Microsoft Office. Open, edit, and save your Excel files seamlessly without complex account requirements or restrictive cloud permissions.
- 1. Download and Install: Visit the official WPS website to download and install WPS Office for free.
- 2. Open Your File: Launch WPS Spreadsheets and click 'Open' to browse for your local or downloaded Excel file.
- 3. Edit Seamlessly: Start editing immediately without worrying about complex account sync errors, saving directly in the standard .xlsx format.

Frequently Asked Questions
Why does Excel Online work but the desktop app says access denied?
This usually happens when the desktop application is secretly signed into a different Microsoft account, or if the local Office credentials cache is corrupted and needs to be refreshed by signing out and back in.
Will clearing Windows Credentials help fix this Excel error?
Yes. If signing out and back in doesn't work, opening Windows Credential Manager and removing cached 'MicrosoftOffice' credentials can force Excel to ask for fresh, correct login details.
Can I open the same cloud file in Excel desktop and online simultaneously?
Yes, Microsoft's co-authoring feature allows this, provided both platforms are signed in with the exact same account that has edit permissions for the document.




