cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cebolamonica
Helper I
Helper I

Power Apps vs Power Automate Permissions

In my experience with Power Automate, if I build a flow where in one of the steps I need a user to be able to access something for which they do not have permissions for, when I share that flow with the user, I can select to allow them to connect to the data source by selecting "use this connection ([my email address])" (default is "Provided by run-only user").

cebolamonica_0-1638714053721.png

 

In trying to move over to PowerApps, is there something equivalent that I can do in Power Apps?  For example, I have a SharePoint site that people in Group A have permissions to view and edit. When I share the app with Group B, how can I provide them permissions within the Power App to read and edit records?

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Thorpe
Super User
Super User

Power Apps doesn't have run-only permissions. The SharePoint connection is explicitly shared, so the user will need the appropriate access in the SharePoint list being used in the Power App. 



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Jeff_Thorpe
Super User
Super User

Power Apps doesn't have run-only permissions. The SharePoint connection is explicitly shared, so the user will need the appropriate access in the SharePoint list being used in the Power App. 



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Pstork1
Dual Super User
Dual Super User

To add to what @Jeff_Thorpe said.  Let me point out that your way of doing the flow only works when the flow is automatically triggered.  Flows that are manually triggered run in the security context of the user just like Power Apps does.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
cebolamonica
Helper I
Helper I

Any tips on how to solve for this, when users can't have access to the SharePoint site or other data source, but the Power App or Power Automate owner does have access?

Since Power Apps isn't a security layer there really is no way to do this securely.  There are a variety of hacks available on the Internet that will get you close, but nothing that will really do what you are asking. Its just not the role that Power Apps is designed for.  If you need a true security layer then traditional development is what you'll need to use, not Power Apps.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,548)