Power Query Problems

Fix Disabled External Data Connections in Excel Power Query

Camila MilosovichCamila Milosovich Nov 18, 2026 870 views

Question details

The user needs to refresh Power Query queries that are blocked by Excel's data connection security settings.

Fix Disabled External Data Connections in Excel Power Query
Product
Microsoft Excel Power Query
Device & OS
not provided
Scenario
A workbook uses Excel.CurrentWorkbook to query tables stored in the same workbook.
Observed behavior
Excel reports that external data connections are disabled even though the source tables are in the current workbook.
Before you start

Confirm that you trust the workbook and its source before enabling content. Check whether your organization restricts data connections or trusted locations.

Solution 1Recommended

Enable trusted workbook content and refresh the query

Use this approach when Excel displays a security warning for a workbook you trust.

Excel may treat Power Query queries as data connections even when Excel.CurrentWorkbook reads tables from the same file.

1
Inspect the security warning

Open the workbook in Excel and check the message bar for a warning that data connections or content have been disabled.

2
Enable trusted content

If you trust the workbook and its source, select Enable Content on the security warning. If the workbook is in Protected View, review its source before selecting Enable Editing.

3
Refresh the queries

Go to Data > Refresh All, or open Data > Queries & Connections and refresh the affected query.

Enable trusted workbook content and refresh the query
No warning shown?: Your organization's policies may block connections without offering an enable option. Contact your administrator rather than changing security settings you are not authorized to modify.
Free Microsoft Office alternative

Work with Excel spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing compatible Excel files. Move everyday spreadsheet work to WPS Office while keeping Excel available for Power Query workflows; WPS does not change Excel's connection security settings.

Open and edit common Microsoft Excel formats, including XLSX and XLSUse a familiar spreadsheet interface for everyday table workAccess a free, lightweight office suite for routine document tasksMove compatible spreadsheets between WPS Office and Microsoft Office
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel block a query that only uses tables in the same workbook?

Excel can classify Power Query queries as data connections even when they use Excel.CurrentWorkbook. If the workbook is trusted, check the security message bar and enable content before using Data > Refresh All.

Can I enable only internal Power Query connections?

Excel may not provide a separate security switch for internal and external Power Query sources. Review the workbook's trust status and your organization's policies before enabling content or adding a trusted location.

Where can I add a trusted location in Excel?

Go to File > Options > Trust Center > Trust Center Settings > Trusted Locations, then select Add new location. Only add an approved folder whose contents you trust.

Will changing Power Query privacy settings enable a blocked connection?

Not necessarily. Privacy settings govern how Power Query handles data sources, while connection security controls whether content can run. Review privacy settings under Data > Get Data > Query Options and check the Trust Center separately.

Can WPS Office fix Excel's disabled data connections?

No. Excel's connection security settings must be resolved in Excel or with help from your administrator. WPS Office can be used as an alternative for compatible everyday spreadsheet work.