Skip to main content
Community site session details

Community site session details

Session Id : 1aU4+tNuzXCpBPRSSrx5CH
Power Pages - General Discussions
Unanswered

Calling 3rd part Apis from Power page

Like (0) ShareShare
ReportReport
Posted on 5 Jan 2023 21:40:17 by 150

Hi everyone,

 

I want to call a 3rd part app from Pages. How can I do this?

Categories:
  • Fubar Profile Picture
    8,023 Super User 2025 Season 2 on 09 Jan 2023 at 04:51:58
    Re: Calling 3rd part Apis from Power page

    See the first link in my post in this thread Solved: Re: Where to store secrets and other configuration... - Power Platform Community (microsoft.com)

  • enes Profile Picture
    150 on 09 Jan 2023 at 03:24:46
    Re: Calling 3rd part Apis from Power page

    Thanks @Fubar 

     

    How can I lock it down?

  • Fubar Profile Picture
    8,023 Super User 2025 Season 2 on 09 Jan 2023 at 02:09:31
    Re: Calling 3rd part Apis from Power page

    @bssienes wrote:

    3) I thought Power Automate runs in real time, does it not? I guess I can use power automate to call 3rd party APIs, but how do I start the flow? I want to make the API call whenever the user clicks on a button on a power page site.

     


    The Dataverse connector/trigger is not real-time, for realtime you would need to use a HTTP Request trigger - this has its own issues with locking it down so it is secure (Azure API Management and/or  some other techinques depending on how secure someting needs to be).  When you save the Flow with the HTTP Request trigger it gives you a a URL that you can call via Ajax etc. 

    After the intial Http request trigger node your Dataverse actions List/update records etc will be real-time.

    But note if using such an approach, by default the HTTP Request trigger is open to the world (so you want to lock it down so that someone doesn't ping it just to rack up your Dataverse API usage - and then throttle - you or worse create extra transactions etc)

  • enes Profile Picture
    150 on 06 Jan 2023 at 17:21:24
    Re: Calling 3rd part Apis from Power page

    Hi @OliverRodrigues Thanks for your suggestions.

     

    1) I cannot call directly using Javascript because I don't want to expose my authentication key(to call the API) within Javascript.

    2) Using Azure functions is also not ideal, my portal will be installed by different customers, so anyone who installs it will have to have their own Azure functions, makes it harder to maintain.

    3) I thought Power Automate runs in real time, does it not? I guess I can use power automate to call 3rd party APIs, but how do I start the flow? I want to make the API call whenever the user clicks on a button on a power page site.

    4) The Dataverse plugins doesn't have all the actions I want. Specifically I will be calling Stripe. For example, it has an action to add a new customer but it doesn't have an action to add a new payment method.

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 06 Jan 2023 at 09:24:40
    Re: Calling 3rd part Apis from Power page

    Hi, there are lots of ways to achieve that:

    If you have a more specific scenario, please let us know so we can advise better

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35

Loading complete