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 / List response values c...
Power Automate
Answered

List response values coming from an HTTP GET Request

(0) ShareShare
ReportReport
Posted on by 42

My HTTP Request contains the following schema:

 

[
 {
 "subscriptionId": "65a658b6fe11111c42c65caa",
 "backendServices": [
 {
 "source": "iFreedom",
 "baseUrl": "https://itestclientdemo-bff.dev.deltafs.net",
 "authority": "https://login.microsoftonline.com/itestdemo.onmicrosoft.com",
 "clientId": "ee5790f9-1111-4fb7-be5d-e8187749ed65",
 "clientSecret": "Wve8Q********************",
 "scope": "https://itestdemo.onmicrosoft.com/itestapi/.default",
 "rateLimitCalls": 3,
 "rateLimitRenewalPeriod": 15,
 "isDisabled": false
 },
 {
 "source": "DataQuery",
 "baseUrl": "https://testdockerswarmmgr.dev.test.net/test001",
 "authority": "https://login.microsoftonline.com/244f2457-25aa-1111-8ffd-c1c5aa8851fc",
 "clientId": "31a82379-9991-4c40-a5fc-ec2cdeb8af88",
 "clientSecret": "kKt8Q********************",
 "scope": "https://deltafspproapps.onmicrosoft.com/testmax/.default",
 "rateLimitCalls": 3,
 "rateLimitRenewalPeriod": 15,
 "isDisabled": false
 }
 ]
 }
]

 

 

1. I want to return each subscription and its backend services (the source values)

Something like this:

 

SubscriptionsSources
65a658b6fe11111c42c65caaiFreedom
 DataQuery

 

 

2. The problem is the looping, please see below:

craicovici317_0-1709394505656.png

 

3. I need to output this in a simple gallery in PowerApps - but the output returned is not in the right format / readable
As you can see, this only returns the first item from the loop.

craicovici317_1-1709394749522.png

 




Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    on at

    Hi , @craicovici317 

    You can refer to my test flow. The Compose action is used to create the test data:

    vyueyunmsft_0-1709521842831.png

    And this is my test result :

    vyueyunmsft_1-1709521872508.png

    This is my flow:

    vyueyunmsft_2-1709521953316.png

    range(0,length(items('Apply_to_each')?['backendServices']))
    items('Apply_to_each')?['subscriptionId']
    items('Apply_to_each')?['backendServices']?[item()]?['source']
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • craicovici317 Profile Picture
    42 on at

    Awesome, it worked perfectly fine, exactly what I needed. Thank you!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 291 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 109 Super User 2026 Season 1

Last 30 days Overall leaderboard