cancel
Showing results for 
Search instead for 
Did you mean: 

Allow run-only users for non-button flows (thus not requiring owner creds)

(Original title: Multiple users should be able to run a flow (not only owners))

 

Currently only the owners of a flow are able to run it, this is a huge this advantage, this means only the people that is creating and modifying the flow are the only people that is able to use it.

 

I'm aware about the sharing option for the button triggered flows, however, I'm talking about all the other triggers, the ones that work based certain thing changing or something new being added to the platform, the kind of things are actually worthy to automate.

 

Image a simple scenario, there is a SharePoint Library where an approval process must run when any internal user with access to the library creates a new document, surprinsily, even that users have the proper license for MS Flows, the flow is not triggered, only the flows owners are able to run it.

 

For sure the previous example can handled by using the classic workflows, however, this is about of evolving, taking advantage of new technologies and opening the door for new possibilities.

 

I don't understand why this extremely elementary functionality was not included in the first place.

Status: Planned

As covered in the comment, we currently have this functionality for button triggered flows, as well as for a selected item. However, for flows that run in the background they must run in the context of someones account. It doesn't actually have to be the owner's account, but the account can not be dynamically selected at runtime (e.g., if Fred uploads a file, the flow cannot run in the context of Fred since he has not granted consent to Flow to use his authorization context). That being said, this is something that we are now planning on improving in the future.

Comments
Anonymous
Not applicable

It doesn't look like Planner can be connected with Approval Flow or is there an option fror that.

Also I can send the link to the planner but not to the specific task in Planner.

Level: Powered On

It would be nice to see from the SharePoint library what flows have or have not run on a single document instead of having to go into My Flows and view the history by clicking on each run and reviewing the document name from the details there. I have been searching Flow Ideas and this one is the closest to what I am looking for .

Level 8

 

This is really a crucial shortcoming.

I'd develop a proper right management system for flows where owner can 

1

share a flow with use or with edit rights to any users (even groups!)

2

(independently of the aboves)

share or not share his connection credentials with the flow.

 

---

My workaround was that I've created a very short flow triggered from the sharepoint list that immediately calls a http request and shared this flow with everyone. I havent shared the called flow doing the real job.

----

Theoreticlly admins create flows with their credentials. Users with whom the flow has been shared could theoretically alter the flow and do bad things with that credential, e.g. acces documents that they are not entitled to. (e.g. by entering a new action they can search all sharepoint accessed files of the administrator!) 

Moreover because a sharepoint get item action must remain in the Flow called from the sharepoint list, even my solution could not avoid sharing my admin credentials with a number of users company-wise... i made a risky move...

----

Different problem is that the o356 get my profile returns the properties of the Flow's credential's owner (the admin, me), not the properties of the user who has clicked the button in sharepoint. So there is no way to find out in the flow who has clicked the element. I'm open for suggestions.

 

 

 

 

 

Level: Powered On

I'm trying to understand your request.

 

You're saying that if I design a flow to run out of a SharePoint list, that I would be the only person who can run or use the flow?

 

I have a flow setup in a SharePoint list which notifies the manager (tag) that an item has been created, which they are tagged in and sends them the results.  This works for any person who creates the item and the manager who's tagged in the item.

 

Is your question around licensing and how many flows can be run under your account?  Flow licensing i'm still not fully clear on and how that's managed with E1, E3, F1.  I've been to the flow site but it still doesn't fully clairify how flows are applied to O365 accounts...IHO

 

I work in our O365 Team and it doesn't matter to me if a flow runs under my account unless there's some licensing issues that come with it.

 

Cheers

Level 8

I am having the same issue as @brandonklittle, this is not a shortcoming I am aware of. Everyone in our organization is able to trigger our flows from multiple sources. We have 'on new document' and 'on new list item' sharepoint triggers that function regardless of the user