Skip to main content

Notifications

Community site session details

Community site session details

Session Id : x3ebmt8v9IRPVu1kfZl999
Power Apps - Building Power Apps
Unanswered

Delegated Permissions for Connected Flow using HTTP Connector

Like (1) ShareShare
ReportReport
Posted on 27 Sep 2024 02:32:33 by 208
Hello,
 
I recently built a Power App that calls a Flow to perform some custom API calls and return the results to the application.  Those API calls happen through the HTTP with Microsoft Entra (pre-authorized) connector, and I would like them to run in the current user's context. When a new user opens the Power App, they're met with a prompt to sign in and then another prompt to fill in the details of the API endpoint:
 
 
Obviously, this is less than ideal as we don't want to provide instructions for how to connect to a web service that should be seamless.  Is there something I can change to prevent this prompt while still running those calls in the running user's contex?
 
Thanks. 
Categories:
  • rjhale Profile Picture
    208 on 30 Sep 2024 at 16:01:47
    Delegated Permissions for Connected Flow using HTTP Connector
    Thanks for the suggestion, but we're not allowed to create custom connectors in any of our environments.  I work in a highly regulated industry and the DLP policies that we're subject to are very strict and inflexible.  
     
    I would be all for trying other suggestions if you think of anything.  Thanks again.  
  • ANB Profile Picture
    7,075 Super User 2025 Season 1 on 27 Sep 2024 at 15:21:34
    Delegated Permissions for Connected Flow using HTTP Connector
    Hi,
     
    Try creating custom connector and then create connection for the custom connector and share the connection to end user.
     
     
     
     
    Please click Does this answer your question 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 a Like.
     
    Thanks,
    ANB
  • rjhale Profile Picture
    208 on 27 Sep 2024 at 13:18:19
    Delegated Permissions for Connected Flow using HTTP Connector
    Thanks for the response.  I don't think that is going to work for us because I'm not an admin in that environment, and my company would likely deny my request to override individual user's consent.  
     
    Is there anything else that I can do to call that API in the user's context?  It seems like there should be a way given that PA is basically just a way of stringing together web services calls.  
  • ANB Profile Picture
    7,075 Super User 2025 Season 1 on 27 Sep 2024 at 03:34:55
    Delegated Permissions for Connected Flow using HTTP Connector
    Hi  
     
    Have you tried with setting the consent to false? I mean Disable The Power Apps Permissions Pop-Up (Bypass Consent Form)?
     
    Sets the consent bypass flag so users aren't required to authorize API connections for the input app in Power Apps. Please check these articles:
     
     
     
    NOTE: You would admin rights on environment in which app resides.
     
    Thanks,
    ANB
     
    Please click Does this answer your question 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 a Like.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard