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 / Fetch data from REST A...
Power Apps
Suggested Answer

Fetch data from REST API URL directly in canvas app combobox

(0) ShareShare
ReportReport
Posted on by 50
Any idea how to fetch data from rest api url in canvas app directly? I need to set the combobox value based on the response from rest api url. 
 
https:/parentsite.crm.dynamics.com/api/data/v9.1/teammemberships?$filter=teamid%20eq%20XXXXX-XXX-XXX-XXXXX
 
I have the same question (0)
  • MS.Ragavendar Profile Picture
    6,334 Super User 2026 Season 1 on at
     
    There is no direct way available by calling the rest directly in the power automate.
     
    1. Try creating a custom connector and calling it from the power-apps
    2  Try creating a flow and http request and  parse the JSON result to power-apps and bind it combo box control accordingly.
     
    Sample Implementation
     
     
    - This is done based on the connector 
     
    Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
     
     
  • Suggested answer
    Inogic Profile Picture
    1,265 Moderator on at
    Hi,
     
    It’s not possible to directly fetch data from a REST API URL in a ComboBox within a Canvas App. Power Apps doesn’t support making direct HTTP requests from controls.

    Canvas Apps can only connect to data sources through approved connectors (such as Dataverse, SharePoint, SQL, etc.) or via Custom Connectors.

    To achieve your requirement, you can:
     
    • Use a Custom Connector to securely connect to your REST API.
     
    • Use a Power Automate flow that calls the API and returns the data to your app.

    For more details,
    Please refer to this Microsoft docs
    https://learn.microsoft.com/en-us/power-platform/architecture/reference-architectures/custom-connector-canvas

    For Custom connector
    Using the Team entity from the Dataverse tables to define the connector and retrieve team details.

    1.Create a Custom Connector ,

    Please refer to this blog for the reference
    https://d365demystified.com/2024/07/15/create-a-custom-connector-for-power-automate-power-apps/


    In the Definition section of the Custom Connector, specify the Action and the corresponding Request URL, using either the GET or POST method as required.


    In the request, you can define the request URL — for example:
    https://parentsite.crm.dynamics.com/api/data/v9.1/teammemberships
    2.In the Canvas App,
    Go to the Data ->
    Add Data -> Choose your Custom Connector to add and connect it to your app.



    In the ComboBox:
    • Items property : TeamMembershipsConnector.GetTeams().value
      (Here, GetTeams is the OperationId defined in the Custom Connector Definition.)
     
    • DisplayFields property: ["name"]

    This will display the Team names in the ComboBox.



    Hope this helps.
     
    Thanks!
    Inogic

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard