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
Solved! Go to Solution.
Hello @gazzo1967
When you look at your flow details, then in the lower right corner, you will find the Run only users section.
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.
In my situation, I have shared my flow with a library, so anyone who has permissions to the library can run my flow.
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
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
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
Proud to be a Flownaut!
Hello @gazzo1967
When you look at your flow details, then in the lower right corner, you will find the Run only users section.
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.
In my situation, I have shared my flow with a library, so anyone who has permissions to the library can run my flow.
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
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
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
Thank you so much for you help on this 🙂
I have a little more knowledge now
Thank you 🙂
Gary
User | Count |
---|---|
27 | |
16 | |
16 | |
12 | |
11 |
User | Count |
---|---|
42 | |
30 | |
28 | |
25 | |
24 |