Hello. I need to build a powerapp to store employees' comments in sharepoint list. I prepared an app with a ms flow which update list with a new item. I want to permit apps's user to add new item to sharepoint list but I don't want to give them possibility to view this list. How can I do it?
@kuchar71 Without giving them access to the list, the only way you can do it is by creating a sub-flow.
Basically you set it up like this: The app calls a flow which then has an HTTP call to an endpoint of another flow.
In this second flow you will create the calls to SharePoint.
The first flow will be run as the user (with their permissions) who is currently using the app but the second flow will be run with the account of whoever created the flow (assuming yours) therefore you only need to allow that user access to the list and not anyone else.
If this answer is helpful then please consider marking it as a solution to help other users in the future.
Sam
Hi @kuchar71 - I would recommend reading this from the wonderful @WonderLaura
https://wonderlaura.com/2019/07/18/powerapps-as-a-front-end/
---------------------------------------------------------------------------------------
If my reply was helpful, please give a thumbs up or please accept as solution if this resolved your issue
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional