Skip to main content

Notifications

Community site session details

Community site session details

Session Id : jwnRm0H5FLiriao25UItkv
Power Apps - Microsoft Dataverse
Unanswered

Consuming GraphQL based API in PowerApps

Like (0) ShareShare
ReportReport
Posted on 31 Jul 2020 13:40:10 by Microsoft Employee

I want to consume my web API build using GraphQL query language in my Canvas based power app. How to register such API under custom connections and how to consume this connection in canvas app to execute queries?

Thanks

Categories:
  • ashiqf Profile Picture
    124 on 26 Apr 2021 at 09:59:31
    Re: Consuming GraphQL based API in PowerApps

    I know it is an old post but it might help some one looking for an answer. If you want to use a GraphQL query based API in Power Apps, you can either register a Custom Connector calling the graphql api or call a flow which call the API through the HTTP connector. To call a graphql api, you will have to convert the GraphQL query to raw body, Postman utility will help you do this.

    GraphQL-Postman-RawRequestBody-Code.png

    I have written about this on the following blogpost how you can do this

    https://ashiqf.com/2021/04/25/what-is-graphql-and-how-to-consume-a-graphql-query-based-api-in-power-automate/

     

  • ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on 01 Aug 2020 at 19:21:16
    Re: Consuming GraphQL based API in PowerApps

    Hi Mradul_K,

     

    To consume a custom API, this requires registering a custom connector. Please note though that only REST APIs can be consumed by Power Apps and Power Automate (Logic Apps can also consume WCF endpoints). The canvas app relies on the swagger/open API definition of the REST endpoint to determine the schema of the response object so that you can map fields to controls on the canvas. Unless your graphql is behind a REST API, you won't be able to consume it directly within Power Apps. 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics

Loading started