Forum Discussion
ADumith
Mar 31, 2022Iron Contributor
Change Work Flow Sender
Hello everyone, I have a work flow made in Power Automate, so this workflow send an email to the user for birthday. I'm the owner but I want to use the HR email address instead of mine. ...
- Mar 31, 2022From 'Send An Email (V2)' Flow there is an Advanced option, you can set the sender by populatin the "From" Field. Please take note that before adding the sender you need to add the connection of that email in your flow to be able to use as a sender. You can do this by navigating on the leftside of the Power Automate Dashboard,
1. click Data > Connections > Click New Connections.
2 Populate the credentials that will be used as a sender.
zeusPH
Mar 31, 2022Copper Contributor
From 'Send An Email (V2)' Flow there is an Advanced option, you can set the sender by populatin the "From" Field. Please take note that before adding the sender you need to add the connection of that email in your flow to be able to use as a sender. You can do this by navigating on the leftside of the Power Automate Dashboard,
1. click Data > Connections > Click New Connections.
2 Populate the credentials that will be used as a sender.
1. click Data > Connections > Click New Connections.
2 Populate the credentials that will be used as a sender.
ADumith
Apr 05, 2022Iron Contributor
I was working on your proposal but I can't use the HR account, because for security reasons that account is conditioned not to sign-in, so I kept investigating and found this:
Create a service account to run the task under. Then give that service account “Send As” privileges in the HR mailbox. No connection needed.
https://powerusers.microsoft.com/t5/Building-Flows/Create-a-Flow-with-Service-account/td-p/367151
This is correct?
Thank in advance,
- zeusPHApr 06, 2022Copper ContributorIt is the best practice to use a service account rather than adding new connection on your flows. But I think this is only needed on a major flow process. But in terms of using it as an sender you need to sign the HR account to add on your connections before using as an email sender for your email flows.
- ADumithApr 07, 2022Iron Contributor
Hello zeusPH
I created the service account and set the workflow, but I got this message.
Any idea how to fix it?
Thanks in advance,
- zeusPHApr 07, 2022Copper ContributorThats why you need to sign in first with your email address and password if adding a connection on that specific service account.
- ADumithApr 06, 2022Iron ContributorHello zeusPH,
Thanks for your comment, but we really want to do it according to best practices. I'll explain why, this flow is a test that we are doing to develop more complex flows in the future, that's why we want to do it right from the beginning.
Could you explain to me how to make the flow work with a service account?
Thanks in advance,
Have a good one.