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 / Problem with executed ...
Power Automate
Unanswered

Problem with executed stored procedure not returning a ResultSet Table

(0) ShareShare
ReportReport
Posted on by

Hi.  I have an SP running on an on-premise SQL database (through a gateway) that I need to return the result set to an excel file using Power Automate, but I am having a problem with the most basic aspect of this.  To simplify the troubleshooting, I have the query within the SP first write its result sets to an actual table and I then return a select * from the actual table.  The SP works fine though SSMS.

 

When I test the SP through flow, it writes to the actual table in the on-prem database and the flow says that it successfully runs, but when I try to add an additional Data Operation ('Select'), a ResultSets Table 1 is not available (see yellow highlight in image) for the SP in the Dynamic Content.  The ResultSets itself is available but if you select that for the From, that does not then unlock the ability to select the columns in the Maps as I understand that I should be able to do so from various sources.  This seems so basic, but I've been stuck on this for days.  Any help appreciated.  

 

2020-06-16_11-54-22.png

Categories:

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 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard