logo
search
Security Policy Errors

How to Stop Excel Warnings for External SharePoint Data Connections

Chanuka GeekiyanageChanuka Geekiyanage Oct 9, 2026 869 views

Question details

The user needs to prevent Excel from displaying security warnings when executing SharePoint queries via add-ins, despite the VBA project being trusted and digitally signed.

How to Stop Excel Warnings for External SharePoint Data Connections
Product
Microsoft Excel, SharePoint
Device & OS
not provided
Scenario
Running Excel add-ins that pull data from external SharePoint connections.
Observed behavior
Excel triggers data-connection security warnings even when the VBA project is trusted and digitally signed.
Before you start

Before proceeding, ensure you have your Microsoft 365 administrator contact details, as this issue requires elevated permissions to investigate backend SharePoint data policies.

Solution 1Recommended

Submit a Service Request via Microsoft 365 Admin Center

Since a digital signature on a VBA project does not bypass external data connection warnings, your Microsoft 365 administrator must escalate this to Microsoft support.

Digitally signing a VBA project only addresses macro trust. It does not resolve warnings related specifically to trusted data connections. To fix this at the tenant level, Microsoft needs to investigate the cause of the data-connection warning.

1
Identify your Administrator

Contact your IT department or the person assigned as the Microsoft 365 administrator for your organization.

2
Log into Admin Center

Have the administrator log into the Microsoft 365 Admin Center using their administrative credentials.

3
Navigate to Support

On the left-hand navigation menu, click on 'Support' and select 'New service request'.

4
Detail the Issue

Provide Microsoft Support with details about the Excel add-in, the specific SharePoint query URL, and mention that the VBA project is already digitally signed but data-connection warnings persist.

Submit a Service Request via Microsoft 365 Admin Center
Understanding Trust Center Limits: A digital signature establishes trust for VBA macros but does not automatically remove warnings for external data connections due to strict tenant security policies.
Free Microsoft Office alternative

Try WPS Office for a Seamless Spreadsheet Experience

Dealing with complex Microsoft 365 admin policies and SharePoint connection warnings can be frustrating. Consider WPS Office as a free, lightweight, and easy-to-use alternative. It offers high compatibility with Microsoft Excel formats and provides a clean, familiar interface without the heavy administrative overhead.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
  2. 2. Open WPS Spreadsheets: Launch the application and select 'Spreadsheets' from the main dashboard.
  3. 3. Import Excel Files: Click 'Open' and select your existing .xlsx or .xls files to continue working seamlessly without complex data warning loops.
Highly compatible with Microsoft Excel (.xlsx, .xls) and macro-enabled files.Lightweight installation with lightning-fast load times.Familiar user interface for a seamless migration.Free to use for everyday spreadsheet tasks and robust data management.
microsoft office alternative - wps office

Frequently Asked Questions

Why do I get data connection warnings if my VBA macro is digitally signed?

Digital signatures only establish trust for the VBA macro code itself. External data connections, such as SharePoint queries, are governed by separate security policies in the Trust Center that require explicit user consent unless configured otherwise by a tenant administrator.

Can I disable these SharePoint data connection warnings myself?

While you can technically disable all data connection warnings in the Excel Trust Center, it is highly discouraged. Doing so makes your computer vulnerable to malicious external data sources. The best approach is to have your Microsoft 365 admin resolve the specific trusted connection.

What information should I give my IT admin for the Microsoft service request?

Provide your IT admin with the exact text of the warning message, the URL of the SharePoint site you are querying, the version of Excel you are using, and confirm that the add-in's VBA project is already digitally signed.