Permission & Access Issues

How to Fix SharePoint Access to the Resource Is Forbidden in Excel

Natalie TaylorNatalie Taylor Oct 23, 2026 868 views

Question details

The user is unable to connect to a SharePoint file via Excel and receives an 'Access to the resource is forbidden' error, even after clearing data source permissions.

How to Fix SharePoint 'Access to the Resource Is Forbidden' in Excel
Product
Microsoft Excel, SharePoint
Device & OS
not provided
Scenario
Connecting Excel to a SharePoint data source or file to import data.
Observed behavior
Excel displays an 'Access to the resource is forbidden' error message, blocking access to the SharePoint data.
Before you start

Verify that your account has the correct permissions by opening the SharePoint site and the specific file directly in your web browser before attempting to fix the connection in Excel.

Solution 1Recommended

Reset Excel Account and Data Source Credentials

Completely clear your Excel global data source permissions and re-authenticate your Microsoft account to refresh your access tokens.

Often, Excel caches old or incorrect login tokens for SharePoint connections. Simply clearing the data source settings might not be enough if your Office account session itself is stuck in a bad state. A full sign-out and restart are required.

1
Clear Data Source Permissions

Open Excel, navigate to the 'Data' tab, click on 'Get Data', select 'Data Source Settings', and click 'Clear Permissions' for the global SharePoint site.

2
Sign Out of Excel

Go to 'File' > 'Account', click 'Sign Out' for all connected Microsoft accounts, and completely close the Excel application.

3
Restart and Re-authenticate

Restart your computer. Open Excel again, go to 'File' > 'Account', and sign back in using the authorized account that has access to the SharePoint site.

4
Reconnect Using Organizational Account

Attempt to connect to the SharePoint file again via the 'Data' tab. When prompted for credentials, make sure to select 'Organizational account' on the left side, then sign in.

Reset Excel Account and Data Source Credentials
Authentication Type: Selecting 'Organizational account' instead of 'Windows' or 'Anonymous' is crucial for successfully authenticating with SharePoint online.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Management

If Microsoft Excel continues to experience connection issues or authentication loops, consider using WPS Office. It provides a lightweight, highly compatible alternative for viewing, editing, and managing your spreadsheets without the heavy resource requirements.

  1. 1. Download and Install: Visit the WPS Office website and download the free version for your operating system.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheets and easily open your existing .xlsx or .csv files.
  3. 3. Save and Collaborate: Edit your data and save it locally or sync it securely to WPS Cloud for anywhere access.
Highly compatible with Microsoft Excel (.xlsx, .xls, .csv) formats.Lightweight design ensures fast startup and smooth operation.Built-in cloud support for easy file sharing and collaboration.Familiar user interface requires no learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel say access to the resource is forbidden?

This error usually occurs when Excel's cached data source credentials are outdated or incorrect, or when you attempt to connect using 'Windows' credentials instead of an 'Organizational account'.

Does clearing Data Source Settings delete my Excel data?

No, clearing Data Source Settings only removes the saved login credentials and connection rules for external data sources. Your actual spreadsheet data remains untouched.

What is the difference between an Organizational account and a Windows account in Excel?

A Windows account uses your local PC login credentials, while an Organizational account uses your Microsoft 365 or company email credentials, which are typically required for accessing cloud-based SharePoint files.