Fix External Data Connection Warnings in Excel for the Web
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.

- 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.
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.
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.
In a browser, open the SharePoint site or OneDrive folder that will hold both the destination workbook and the linked source workbook.
Upload or save the destination workbook and the linked Excel file to the same SharePoint document library or OneDrive folder.
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.
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.

Open the Workbook in Desktop Excel and Edit the External Links
Use this method when you need to inspect, update, or remove the external link that triggers the warning.
Replace External Links with Power Query or Imported Workbook Data
Use this approach when an external link continues to trigger warnings or the source path cannot be kept in a supported cloud location.
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.

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.




