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

Announcements

News and Announcements icon
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:
  • 55552 Profile Picture
    682 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard