logo
search
Others

Fix Power Automate SQL Server Trigger Dynamic Content Error

Rana GarciaRana Garcia Oct 13, 2026 868 views

Question details

The user needs to resolve an issue where a Power Automate trigger does not populate table names or dynamic content, leading to a key-matching failure.

How to Fix Power Automate SQL Server Trigger Dynamic Content Errors
Product
Power Automate / SQL Server
Device & OS
not provided
Scenario
Configuring a SQL Server trigger in Power Automate to fetch dynamic content using a gateway connection.
Observed behavior
A SQL Server gateway connection produces a trusted-source URI error. Entering a custom table name manually causes a 'key didn't match any rows in the table' error, and dynamic content fails to load.
Before you start

Ensure you have administrative access to your Power Platform environment and verify that your on-premises SQL Server data gateway is online and updated to the latest version.

Solution 1Recommended

Recreate the SQL Server Connection and Trigger

Resolving connection corruption and selecting the table directly from the UI dropdown typically fixes the key-matching failure.

The 'key didn't match any rows in the table' error often occurs when a custom table name is entered manually, or when the underlying SQL Server gateway connection has become desynchronized from the environment.

1
Delete existing connection

Navigate to the Data > Connections menu in the Power Automate portal, locate your SQL Server connection showing the trusted-source URI error, and delete it.

2
Create a new connection

Click 'New connection', select SQL Server, and re-enter your valid credentials and gateway details to establish a fresh connection.

3
Replace the trigger

Open your problematic flow in Edit mode, delete the broken SQL Server trigger, and add a new 'When an item is created' (or similar) SQL Server trigger.

4
Select table from dropdown

Instead of typing a custom table name, click the dropdown arrow in the Table field and select the target table. This ensures the schema loads correctly and populates the dynamic content.

Recreate the SQL Server Connection and Trigger
Community Resource: If the issue persists, search the Power Platform Community for 'The key didn't match any rows in the table' to find recent environment-specific patches or configuration updates.
Free Microsoft Office alternative

Enhance Your Daily Workflow with WPS Office

While WPS Office does not manage Microsoft Power Automate flows or SQL server triggers, it is an exceptional, lightweight alternative to Microsoft Office for your daily documentation and data management needs. Experience a seamless and familiar interface without the heavy subscription fees.

  1. 1. Download the software: Visit the official WPS Office website and download the free installation package for your device.
  2. 2. Install and launch: Follow the simple on-screen instructions to install the application, then open the WPS Office desktop client.
  3. 3. Open existing files: Drag and drop your existing .docx, .xlsx, or .pptx files directly into the workspace to start editing immediately.
Completely free and lightweight office suite for daily tasksFully compatible with Microsoft Word, Excel, and PowerPoint formatsAll-in-one workspace combining documents, spreadsheets, and PDFsCross-platform support for Windows, Mac, Linux, iOS, and Android
QA img-9

Frequently Asked Questions

Why does Power Automate show 'The key didn't match any rows in the table'?

This error is typically triggered when you manually enter a custom table name that the system cannot validate against the database schema, or if the connection metadata in your environment is outdated.

How do I fix the trusted-source URI error in a SQL Server connection?

Recreating the connection entirely within the Power Automate portal and ensuring your on-premises data gateway software is running the newest version usually resolves trusted-source URI errors.

Why is dynamic content missing from my SQL trigger?

Dynamic content relies on Power Automate successfully reading the table schema. If the table name is unverified or the gateway connection fails, the system cannot fetch the columns to display as dynamic content.