cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SarathBabu1050
Frequent Visitor

Power automate flow sends email in the name of the user who triggered the flow and not the from flow creator email

Hello guys!

I'm facing a problem in power automate. I have a button in a canvas application that triggers a flow. This flow that is triggered sends a mail to a particular user. The sending the mail part uses the Office 365 Send an Email V2 action. The problem here is that, the email is sent in the name of the user that triggered the flow from the canvas application and not from the user that created the flow. To make this clearer:
abc@domain.com - user of the canvas application

def@domain.com - creator of the flow and the connection reference is made with this account.

 

When the canvas user clicks button, the flow is triggered and the mail is sent in the name of abc@domain.com This is not the behavior that I want. I want the mail to be only sent from def@domain.com 

 

Please help

1 REPLY 1
gabibalaban
Dual Super User
Dual Super User

@SarathBabu1050 ,

Well this is not actually a problem …If the flow is called / triggered from a powerapps app all the actions inside it runs under the caller connection, not the creator of the flow. As a user you cannot send emails on behalf of other user if you do not have rights. 
What you can do is to use a generic shared mailbox, set send on behalf rights to this mailbox for all users of the app and set Send As property of the SendAnEmail action in powerautomate to this shared mailbox. It will look like you send emails from that shared mail box.

Hope it helps !

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,848)