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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (4,449)