Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Error on SQL Power Query action

i'm trying to use the Transform SQL using Power Query action. i've got several flows with it working fine on one SQL database. But i am doing similar on another SQL db that i have a connector for. Note i'm an admin, full credentials and this db is already part of my gateway.


I can access the data and transform it using the transform SQL power query action just fine, but when it runs it fails with 


"resultType": "Exception",
"message": "The key didn't match any rows in the table.",
"errors": []
and the SELECT i have next says "BadRequest. The 'from' property value in the 'select' action inputs is of type 'Null'. The value must be an array." and "INPUTS from null"


looking on the web it seems to imply a permissions issue but (1) i am full admin with access, (2) it works fine through powerquery in Excel, (3) the db and table are all accessable via the gateway... 


so i'm stuck.  Any advice would be most welcome.




Community Support
Community Support

Hi @StephenM,


I have made a test with action Transform SQL using Power Query, it works fine on my side.


It seems that you have two connections to two SQL databases.


Please make sure you are using the correct connection to the corresponding database. Please go to Setting to switch connection under My connections.



Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (29,972)