Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building 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 ?

  • ANB Profile Picture
    7,128 Super User 2025 Season 1 on at
    Re: Populating a dropdown list from a flow API result

    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1