cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
seamus1982
Frequent Visitor

Run Flow Action - Elevated Permissions

Hi, 

 

I hope you are well. 

 

I was wondering if it is possible to run an action in Flow under elevated permissions? I have a SharePoint list which users will not have access to but I want a flow to be able to add an item to the list. 

 

Best regards, 

      Seamus

4 REPLIES 4

Hi @seamus1982 you can either use a combination of Add-in permissions and REST to do this.

 

The easier way is to have a service account which has permissions to access it. Then change the connection of any actions which need to interact with it.

 

If you have found this post useful, please give it a thumbs up. If it has answered your question, please accept it as the solution so others can benefit.

@MattWeston365





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

ScottShearer
Super User
Super User

@seamus1982 :

 

Flow uses the connection associated with the action.  So, if you created the Flow it is likely using your connection.  If you have permissions to the second list then the Flow will run just fine.

 

If you have a situation where your end users are using copies of your Flow, then your users will need to supply their own connection info when they import the Flow.  If they don't have permissions to the second list, the Flow will fail and you'll need to explore alternative solutions as suggested by @MattWeston365 .

 

 

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

Scott
v-lin-msft
Post Prodigy
Post Prodigy

Hi @seamus1982 ,

 

About work with list items by using http request can refer to this document: #working-with-list-items-by-using-rest.

 

This blog is referring to SharePoint REST API URL for accessing List items, documents, assign permission in list, document libraries, Search and user profile property:

https://gnanasivamgunasekaran.wordpress.com/2016/06/10/sharepoint-rest-api-url-for-accessing-working...

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MM
Advocate IV
Advocate IV

I managed to add users to a SP group using a temp table in between and addin a Flow that recats to the creation of a record in that temp table.

So, someone, via a Flow triggered in PowerApps, can request to be added to a SP security group. If approved, then the same Flow that manages the approval, add their email to another list. The second Flow is triggered wiht my (Admin) connections on Creation and the user is added via  that second Flow.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,068)