cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Azure SQL ApiExecutionFailed

Hi,

I'm having a weird error trying to connect to an Azure SQL DB. Anyone has a clue ?Capture.PNG

  • that connexion can retrieve data from PowerApps
  • the user can run the stored procedure from SSMS
  • the user can see the stored procedure using sys.procedure
  • the error happens even with a db_owner login
  • the error occurs even with no firewall rules on the server and the DB (which I could have eleminated as an error source with the fact it can retrieve table data directly from Power App)
  • A similar error occurs when I try pasting an EXEC statement in a simple SQL Query component, but not when I use a Get Rows

Help ? Smiley LOL

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Azure SQL ApiExecutionFailed

Ok, I've isolated the problem. And the issue kinda made sense. 

The procedure contained a query where two fields had the same name (yay for naming conventions). SSMS didn't have any problem with that, Flow did. Solution : just aliased my fields in the SELECT statement and everything is fine.

 

Hope this helps others!

View solution in original post

2 REPLIES 2

Re: Azure SQL ApiExecutionFailed

The error also applies to LogicApps...

Re: Azure SQL ApiExecutionFailed

Ok, I've isolated the problem. And the issue kinda made sense. 

The procedure contained a query where two fields had the same name (yay for naming conventions). SSMS didn't have any problem with that, Flow did. Solution : just aliased my fields in the SELECT statement and everything is fine.

 

Hope this helps others!

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors
Users online (6,641)