Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Azure SQL ApiExecutionFailed

(0) ShareShare
ReportReport
Posted on by 303

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

 

  • Verified answer
    FredericForest Profile Picture
    FredericForest 303 on at
    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!

  • FredericForest Profile Picture
    FredericForest 303 on at
    Re: Azure SQL ApiExecutionFailed

    The error also applies to LogicApps...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics