How to Stop Excel Warnings for External SharePoint Data Connections
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.

- 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 proceeding, ensure you have your Microsoft 365 administrator contact details, as this issue requires elevated permissions to investigate backend SharePoint data policies.
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.
Contact your IT department or the person assigned as the Microsoft 365 administrator for your organization.
Have the administrator log into the Microsoft 365 Admin Center using their administrative credentials.
On the left-hand navigation menu, click on 'Support' and select 'New service request'.
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.

Review Trust Center Settings (Avoid Disabling Alerts)
Verify your current Trust Center settings to ensure you haven't unintentionally disabled all security alerts, which is an unacceptable security risk.
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. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open WPS Spreadsheets: Launch the application and select 'Spreadsheets' from the main dashboard.
- 3. Import Excel Files: Click 'Open' and select your existing .xlsx or .xls files to continue working seamlessly without complex data warning loops.

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.




