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 Pages / Call Logic App from Cl...
Power Pages
Suggested Answer

Call Logic App from Client Side of Power Pages Portal

(0) ShareShare
ReportReport
Posted on by 89
I have requirement to call Azure Logic App from Power Pages Client Side Script. I would like to protect the call with the Power pages Portal access token which is created for the logged in user of the portal. 
1. How to get the current user's access token in the client side?
2. How to make the Logic App to validate the token?
Categories:
I have the same question (0)
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at
    Hi, do you need to make the call directly via Power Pages?
     
    One approach is to get Power Pages to trigger a Cloud Flow securely, and the Cloud Flow can call the Logic Apps: Configure Power Automate cloud flows in Power Pages | Microsoft Learn
     
    I haven't played around with this much, but you could also check the new server-side logic feature: Power Pages server logic overview (preview) | Microsoft Learn
  • Anjan Chidige Profile Picture
    89 on at
    Thanks @oliver.rodrigues for the response.
     
    I tried calling Logic App from Power Automate. But it needs a premium license. So, its not an option for me.
     
    And Service Logic feature is in Preview state and hence can't use it for production purposes. 
     
    Yes, I would like to call the Logic app from Power Pages Portal Java Script.
  • Suggested answer
    Fubar Profile Picture
    8,512 Super User 2026 Season 1 on at
    Because you will be using JavaScript there are only really 2 ways to make secure calls
    Less secure but provides some level of security depending on what you are doing is to also lock down what is able make use of your app/web service. Or perform some action from the portal that can trigger a Dataverse plugin and have that plugin call the service.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 38

#2
Valantis Profile Picture

Valantis 36

#3
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard