Data Import & Export

Fix External Data Connection Warnings in Excel for the Web

Khadija KhanKhadija Khan Nov 13, 2026 869 views

Question details

Understand why Excel for the web or Teams displays an external data connection warning when a workbook links to another Excel file, and how to resolve it.

Fix External Data Connection Warnings in Excel for the Web
Product
Microsoft Excel for the web and Microsoft Teams
Device & OS
not provided
Scenario
A workbook containing external links to another Excel file is opened in Excel for the web or Microsoft Teams.
Observed behavior
Excel for the web or Teams displays a warning about an external data connection and may require confirmation before refreshing or viewing linked data.
Before you start

Check where the source and destination workbooks are stored. Both files must be in a supported cloud location such as SharePoint or OneDrive, and users need at least read access to the linked file.

Solution 1Recommended

Move Both Workbooks to SharePoint or OneDrive and Verify Access

Use this first when the warning appears in Excel for the web or Teams and the linked workbook is not stored in the same supported cloud location.

Trust Center settings apply to desktop Excel and do not reliably suppress external-content warnings in Excel for the web. Storing both files in the same SharePoint site or OneDrive is the most direct way to avoid the warning.

1
Open the cloud storage location

In a browser, open the SharePoint site or OneDrive folder that will hold both the destination workbook and the linked source workbook.

2
Move or save both workbooks

Upload or save the destination workbook and the linked Excel file to the same SharePoint document library or OneDrive folder.

3
Grant access to users

Select each file, open the sharing settings, and confirm that everyone who opens the destination workbook also has at least read access to the linked source workbook.

4
Reopen in Excel for the web or Teams

Open the destination workbook again in Excel for the web or from Microsoft Teams, and choose to enable or refresh the external connection when prompted.

Move Both Workbooks to SharePoint or OneDrive and Verify Access
Cloud links work best: External links that point to a supported SharePoint or OneDrive URL are more likely to pass Excel for the web external content checks.
Free Microsoft Office alternative

Manage External Workbook Links with WPS Office Free

WPS Office is a free, lightweight Microsoft Office alternative that opens .xlsx workbooks and helps you review, update, or remove external links on your desktop. It preserves Excel formatting, formulas, and workbook structures while offering a familiar spreadsheet interface for easy migration.

Free desktop suite for opening, editing, and cleaning .xlsx workbooksReview and manage external workbook links without a Microsoft 365 subscriptionCompatible with Microsoft Excel .xlsx, .xls, and common formulas and chartsFamiliar ribbon-style Spreadsheets interface for a quick switch from ExcelLightweight installation with no cost for core spreadsheet editing tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't Excel for the web honor my desktop Trust Center external content settings?

Trust Center settings apply to Excel desktop installations only. Excel for the web uses the Microsoft 365 cloud security model, so it can still display external data connection warnings even if a desktop Trust Center setting allows external content.

Will storing both workbooks in OneDrive or SharePoint always remove the external data connection warning?

It usually helps when both files are in the same supported SharePoint or OneDrive location and all users have at least read access, but the warning may still require confirmation or may persist if the link uses an unsupported path or broken URL.

What can I do when Excel for the web keeps blocking an external link after I move the files?

Open the workbook in desktop Excel, go to Data > Queries & Connections > Edit Links, and update or break the external links. Then save the cleaned workbook back to SharePoint or OneDrive and reopen it in Excel for the web.

Can WPS Office remove the Excel for the web warning directly?

WPS Office cannot change Excel for the web security prompts, but you can open the .xlsx file in WPS Spreadsheets on your desktop, inspect or remove external links, and save a cleaned copy for cloud use.

How do I replace an external link with Power Query?

In desktop Excel, use Data > Get Data > From File > From Excel Workbook to import the source data through Power Query, then break the old external link in Data > Queries & Connections > Edit Links and publish the workbook to SharePoint or OneDrive.