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 Apps / Cannot Connect JSON Sc...
Power Apps
Unanswered

Cannot Connect JSON Script into PowerApps Using Power Automate

(0) ShareShare
ReportReport
Posted on by 4

I am trying to connect a PowerApps application to an Azure function through PowerAutomate, I have requested the output from the function successfully, however when I try to pass those values back into PowerApps I get no output, only the variable names with no values, even though the raw output is almost indentical in nature to data previously extracted successfully from an SQL database.

 

I have attached below the outputs of my response call and JSON Parse call to see if there are any issues there

 

Any ideas would be much appreciated


Cheers

 

Raw output from response block

HarryPipes_0-1655720910443.png

Raw output from Parse Json block

HarryPipes_3-1655720994483.png

 

Collection data in PowerApps

HarryPipes_2-1655720936115.png

HarryPipes_4-1655721037683.png

 

 

 

 

 

 

 

 

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @HarryPipes ,

     

    You will not need the Parse JSON operator in your flow because Response action already included this operation. Please generate JSON schema from the template, populate the template of below:

    [
     {
     "Materials":"",
     "PerfReq":""
     }
    ]

    vjefferni_0-1655954608649.png

     

    So the Response bode JSON Schema would be as follows:

    {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "Meterials": {
     "type": "string"
     },
     "PerfReq": {
     "type": "string"
     }
     },
     "required": [
     "Meterials",
     "PerfReq"
     ]
     }
    }

     

    Best regards,

  • HarryPipes Profile Picture
    4 on at

    Thank you Jeffer

    Unfortunately had already tried this initially but it didn't parse the Json Correctly, here is what it outputs without

    HarryPipes_0-1655975175784.png

    this doesn't parse at all properly in to PowerApps, same as before

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @HarryPipes ,

     

    I can see the output is correct, so the problem is going into PowerApps. Could you please share more details of your App, particularly the button where triggers the flow?

     

    Best regards,

  • HarryPipes Profile Picture
    4 on at

    Hi Jeffer,

    Currently I have a button that I use to generate the table, I pass it two label values that concatenate from a gallery, though these are just test inputs and only partly determine the output

    HarryPipes_3-1655985534835.png

    with the two labels being label 1 and 2 respectively

    HarryPipes_4-1655985577727.png

    This is the function that calls the Power Automate flow

    This is the output

    HarryPipes_6-1655985753810.png

     

    whilst the Power Automate flow outputs the following

    HarryPipes_7-1655986398907.png

    So I think there is an issue connecting between PowerAutomate and PowerApps, but can't diagnose what

     

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @HarryPipes ,

     

    I created a variable in a flow and test it with responding to PowerApps in a collection, which worked fine:

    vjefferni_0-1656049447811.png

    vjefferni_3-1656049485689.png

     

    vjefferni_2-1656049460145.png

     

    Could you please share the flow with screenshots so that we will be able to understand how you process the data from PowerApps?

     

    Best regards,

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard