web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error connecting to Az...
Power Automate
Answered

Error connecting to Azure SQL Server procedure

(0) ShareShare
ReportReport
Posted on by 14

Hello everyone!

 

I'm having trouble when trying to connect to my Azure SQL Server database on flow using SQL Server in Azure - I'm been doing this for some time now.

 

I've just created a new procedure in my database and granted access to the user in flow but I'm not being able to load the fields and use the procedure.

It is happening specifically for some procedures, some work, some dont.

 

Here are two examples with the error messages showing the error.

 

Error executing the api '/v2/$metadata.json/datasets/SERVER.database.windows.net,DATABASE/procedures/%255Bschema%255D.%255BprocedureName%255D'


Has anyone seen similar problems? How to fix it?

 

Works

ProblemProc2.PNG

 

Fails (new procedure, but it happens to other procedures too)

ProblemProc1.PNG

 

 

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    gabrielgoismelo Profile Picture
    14 on at

    30 seconds after posting the question I found the problem.

     

    Just opened chrome console and there it was. My query inside of the procedure used an inner join and returned more than one column with the same name.

     

    Not accepted by Flow. The error message in the interface could improve guys... just saying...

     

    ProblemProc3.PNG

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard