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 / Call SQL Stored Proced...
Power Automate
Unanswered

Call SQL Stored Procedure with Paramaters & Return Result ?

(0) ShareShare
ReportReport
Posted on by 38

I see how to call a Stored Procedure in Power Automate, but can I pass parameters, and get the values back ?

Can I set @MY_Variable1 INT  to a number first ?

For instance, if I want to run EXEC My_StoredProcedure @MY_Variable1 INT  , @MY_Variable2 INT

Then I want to use the result @MY_Variable2 later in Power Automate.

And what does the error message mean ?

 

mikefisher_0-1688997878205.png

 

 

 

Categories:
I have the same question (0)
  • 55552 Profile Picture
    674 on at

    I am getting the same error message when trying to use the Execute Stored Procedure action. The stored procedure name is not appearing to be selected, so I have to type it in, but then I receive the same error that you have. Wonder if the stored procedure action is not supported with on-prem SQL databases?

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard