cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

3 REPLIES 3
Highlighted
Super User
Super User

Re: Run Flow Action - Elevated Permissions

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

Highlighted
Super User III
Super User III

Re: Run Flow Action - Elevated Permissions

@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
Highlighted
Post Prodigy
Post Prodigy

Re: Run Flow Action - Elevated Permissions

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.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (7,730)