cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ankita2020
Frequent Visitor

Unable to execute "Execute SQL Query (V2)" action in Power Automate

Hi,

 

I am able to connect to my SQL Server using On Premise gateway connector in Power Automate(MS Flow).#sqlserver #MSFlow

But when I try to execute action "Execute SQL Query (V2)" from SQL server connector to run simple query "EXEC * from TableName" shows error "Gateway GetPassThroughNativeQueryMetadataAsync - this operation (Get Native Sql Metadata) is currently not supported using an on-prem gateway connection".

 

Please see the below screenshot:

 

Issue.png

3 REPLIES 3
abm
Super User III
Super User III

Hi @Ankita2020 

 

Yes that's correct. Unfortunately Execute a SQL query not supported an on-prem gateway connection.

 

You can post this as an idea for future release.

 

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

I just started using Flow and ran into this issue. Is there a work around? 

Flow lets me click ellipse and add data gateway and error goes away...but then I get error when I run it.

MiningRobot
New Member

Yes, facing same issue. It's frustrating that there is no guideline on how to make it work.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,442)