Permission & Access Issues

Fix Excel Power Query Access Denied Errors for Desktop Files

Khadija KhanKhadija Khan Nov 12, 2026 869 views

Question details

Resolve an Access Denied error in Excel Power Query or a PivotTable when it reads or combines data from another Excel workbook.

Fix Excel Power Query Access Denied Errors for Desktop Files
Product
Microsoft Excel Power Query and PivotTable
Device & OS
not provided
Scenario
The user refreshes a query that combines data from multiple Excel workbooks, including a source file stored on the Desktop.
Observed behavior
Power Query or a PivotTable reports that access to the Excel file path is denied.
Before you start

Locate the source workbook named in the error and confirm that you can open it using the same Windows or macOS user account. Keep the exact folder path available so you can compare it with the path configured in Power Query.

Solution 1Recommended

Check the source workbook, Desktop folder permissions, and file lock

Use this first when the error identifies a specific workbook or Desktop path that Power Query cannot read.

Power Query needs permission to read both the source workbook and the folder that contains it. A file opened exclusively by another app, marked read-only, or stored in a restricted folder can cause an Access Denied refresh error.

1
Open the source file manually

In File Explorer or Finder, browse to the file path shown in the Power Query error and open the workbook directly in Excel. If it will not open, resolve the file access issue before refreshing the query.

2
Close apps using the workbook

Close the source workbook in Excel and close any other application that may be using it, such as a sync client, preview tool, or another Excel session. Then try the query refresh again.

3
Review file and folder access

On Windows, right-click the workbook or its folder, select Properties, and review the General and Security tabs. Clear Read-only when applicable and make sure your account has permission to read the file and folder.

4
Move files to an accessible folder

Create or use a folder that your current account can access, such as a local Documents subfolder, and move or copy the source workbooks there. Update the query path if the folder location changes.

5
Allow Desktop access on macOS

On macOS, open System Settings > Privacy & Security > Files and Folders, select Microsoft Excel, and allow access to Desktop Folder. Restart Excel and refresh the query.

Check the source workbook, Desktop folder permissions, and file lock
Desktop folders can be restricted: Cloud backup, enterprise policies, and macOS privacy controls can restrict Desktop access even when the file is visible in Finder or File Explorer.
Free Microsoft Office alternative

Work with Excel Workbook Data in WPS Office

If Microsoft Excel Power Query access issues interrupt your workbook workflow, WPS Office is a free, lightweight Office alternative with a familiar spreadsheet interface and seamless migration for common Excel files. Open, review, edit, and share your workbook data in WPS Spreadsheets while maintaining compatibility with Microsoft Office formats.

Open and edit Excel workbook data in WPS Spreadsheets.Compatible with Microsoft Excel XLS and XLSX file formats.Use a familiar spreadsheet layout for formulas, tables, filters, and PivotTable-related work.Lightweight installation with free tools for everyday spreadsheet editing.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query say Access Denied when I can see the Excel file?

Seeing a file does not always mean Excel can read it during a query refresh. Check whether you can open the workbook manually, whether another application has it locked, and whether your account has read permission for both the file and its parent folder.

Where can I change a Power Query file path in Excel?

Go to Data > Get Data > Data Source Settings, select the relevant file or folder source, and choose Change Source or Edit Permissions. Confirm that the location matches the current workbook path.

How do I remove saved Power Query credentials for a file source?

Go to Data > Get Data > Data Source Settings, select the source, and choose Edit Permissions. Select Clear Permissions, then refresh the query and provide the appropriate access method when prompted.

How can I let Excel access my Desktop folder on a Mac?

Open System Settings > Privacy & Security > Files and Folders, find Microsoft Excel, and enable Desktop Folder access. Restart Excel after changing the permission.