Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Suggested answer

Using query with on-premise gateway

Like (1) ShareShare
ReportReport
Posted on 14 Mar 2025 15:57:26 by 40
I am getting an error just clicking in the query section when using an on-premise gateway.  How or where do construct a query in Power Automate to send the information back to Power Apps?
Categories:
  • Suggested answer
    Michael E. Gernaey Profile Picture
    36,029 Super User 2025 Season 1 on 14 Mar 2025 at 23:52:40
    Using query with on-premise gateway
     
    So the error you are getting there, isn't related to sending data back, its simply doing something that isn't supported.
     
    If you want to send data back to a Canvas App or Model-Driven App, you must take the data you get from (whatever actions you do) and (the best way) is to form is into a JSON format.
     
    Then use the Response to a Power App action, and send it back via an outgoing string property.
     
    Then inside the App use the ParseJSON function (or depending on what you did back parse somehow) the data you want into something you can use.
     
    The above though isn't related to passing back data, its related to making an unsupported call.
     
    So make a copy to SQL
    Get your Data
    Use the Data to build a JSON structure
    Pass it back as a string in an Output parameter
    Reconstruct it into a Collection (aka JSON) in the App

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,436 Most Valuable Professional

Leaderboard

Featured topics

Loading started