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 / Populating a dropdown ...
Power Apps
Unanswered

Populating a dropdown list from a flow API result

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I've developed a flow that calls an API that returns JSON format as below

{

  "response": [

    {

       "displayname": "ABC"

     },

    {

       "displayname": "DEF"

     }

]

}

 

I have tried to set the OnSelect properties of my dropdown list to the following: 

ClearCollect(Fetchitem,ParseJSON(GetAzureDevOpsMembers.Run(Assigned_I.Selected.Value).response))

I also tried the following under OnSelect:

Set(Fetchitem,ParseJSON(GetAzureDevOpsMembers.Run("Groupname").response))

 

and under Item:

Fetchitem

 

However i'm not getting the results shown. Also a runtime error pops up as Fetchitem is expected to be a string but it returns an array. 

Any ideas ?

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @haznaz , To return an array to Power Apps you have to use the HTTP Response action, not the respond to Power Apps action.  When using the HTTP Response you also need to make sure you have a valid JSON Schema loaded.

    But this require premium license. If you do not have premium license, then please check below article:

     

    https://deepakshrivastava.com/2022/08/24/send-array-json-response-from-power-automate-flow-to-power-apps-powerapps-powerautomate-response/

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard