cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gazzo1967
Impactful Individual
Impactful Individual

Ownership of flow processes

Hi All

Just trying to clarify what i have read on the forums
If i create a flow process and make a team a co owner the flow will still run from my account?

I have a number of flows which involve email responses from the flow process and i would like it to respond from the teams/sharepoint/group email not mine.
Is this possible?

 

Please be safe in these trying times and listen to what your advised to keep you and your family safe 🙂
Regards Gary

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @gazzo1967 

 

When you look at your flow details, then in the lower right corner, you will find the Run only users section.

Flow.1.Details.png

Use the Edit option in there and the side dialog pops out.

 

 

 

 

 

In there you can add the users or a group which will be allowed to run your flow.

The screenshow shows my current user (a service principal) being used for each connection.

Flow.2.Run only users.png

In my situation, I have shared my flow with a library, so anyone who has permissions to the library can run my flow.

Flow.3.Run only users.List users.png

At the bottom of the dialog you can see the connections being used. This is where you can specify what connection to use, yours or the user running the flow.

 

Hope this helps you on the way 🙂

 

Kind regards, John

View solution in original post

9 REPLIES 9
JohnAageAnderse
Memorable Member
Memorable Member

Hello @gazzo1967 

 

In your flows, you should be able to set the Run only users. In there you can define that the flow will run under the users account.

Inside your flow, the send email action will then send from the users mailbox, not yours.

Kind regards, John

@JohnAageAnderse 

 

Hi 

Thank you for taking the time to respond 🙂

 

This sounds very much like it could be my solution could you show me an example or point me in the direction of one?

 

I would just like the processes and emails from the processes to be sent from the teams site rather than my account.

 

Thanks Gary

Hello @gazzo1967

If you want the email and other actions to be sent from a non person account. You will have to get a Service Principal use created in Your Office 365 users.

For example:
Create a new user like:
Flow@YourOrg.com
And only use that connection for flow related actions. Like send email or other parts.

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Hello @gazzo1967 

 

When you look at your flow details, then in the lower right corner, you will find the Run only users section.

Flow.1.Details.png

Use the Edit option in there and the side dialog pops out.

 

 

 

 

 

In there you can add the users or a group which will be allowed to run your flow.

The screenshow shows my current user (a service principal) being used for each connection.

Flow.2.Run only users.png

In my situation, I have shared my flow with a library, so anyone who has permissions to the library can run my flow.

Flow.3.Run only users.List users.png

At the bottom of the dialog you can see the connections being used. This is where you can specify what connection to use, yours or the user running the flow.

 

Hope this helps you on the way 🙂

 

Kind regards, John

@JohnAageAnderse 

this sounds like what i need 🙂

 

Just a couple more questions if i may?

What is a Service Principal account?

Does the Service principal account tun the flows with out premium connectors?
With this 'run as' does this mean that the emails generated by flow will be sent from that account and not my own ie the Sharepoint site?


I really do appreciate your help and direction in this, i can build flows but  my knowledge ery lacking on admin/managing functions 😞

Regards Gary

Hello @gazzo1967 

A service principal account is when there is not a physical person behind the account - I am using such for my automation in a SharePoint site 🙂 Usually it has only permissions in the environment which is needed for it to be able to perform its duties. It works like a normal account with regard to running free and premium connector - no change there.

 

"Run as" means that it will run as that user. For my automation it is often my service principal account that is chosen there.

Kind regards, John

 

@JohnAageAnderse 

 

So just for my clarity

Last question i promise 🙂

Can you build and execute from a service principal

Gary

Hello @gazzo1967 

Yes, my service principal account has an Office 365 license and owns all my automation flows.

Kind regards, John

@JohnAageAnderse 

 

Thank you so much for you help on this 🙂

I have a little more knowledge now
Thank you 🙂

Gary

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,913)