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.

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

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?

Pstork1
Dual Super User III
Dual Super User III

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,077)