cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GaryBauer
Regular Visitor

sender email is WRONG!

Hello,

Using MS FLOW to send an email when a CRMDynamics field changes.

FLOW triggers correctly and sends email to correct recipient. However, SENDER is Microsoft PowerApps and Flow <microsoft@powerapps.com>.

My customers expect email From: me not Microsoft@powerapps.com Smiley Frustrated

 

Sender should be person who updated trigger field, or, failing that the owner of CRM record.

 

MSFLOW email ACTION does not appear to allow specifying "From:" field.

Email sender.png

 

Can someone tell me what I am doing wrong?

Thank you,

Gary

 

7 REPLIES 7
Pstork1
Dual Super User III
Dual Super User III

You aren't doing anything wrong.  This is a known limitation of using Flow (or PowerApps).   Most of the Email actions are hard coded to come from a microsoft service account.  If you use the email actions under Office 365 Outlook the mail will come from whoever is creating the Flow, but there you can change it.  The problem is to set the From field the person creating the email needs "SendAs" permission to that person's mailbox. So its not really feasible on a large scale.   About the best you can do is create a specific service mailbox to use for sending mail and change it to that so it doesn't come from your mailbox.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks for the reply.

 

I wonder if the development team would be interested in adding a "normal" user to their testing cadre?

Frustratingly, my email address was used occasionally during testing of the Flow and then that behavior vanished.

 

Thanks, Gary

Our situation cannot be unique. We use Dynamics CRM / O365 and i'm sure that MS has more than a few clients. I'll see if I can find a Dynamics community and get them involved too. I'll kepp the Flw group updated with anything useful that is uncovered.

 

Thanks, Gary

As suggested in dynamics community:

"Click on the 'From' field and you will see dynamic values on your right.

Scroll to 'When a record is updated' you will see modified by.

But you will have to get data operators for modified by.

I have explained it in a video here: https://www.youtube.com/watch?v=A8lAdb1vfRk

The video is not on your question but it talks about getting data operators from owner/user entities.

Once you have done that, email 'From' will get correct value."

 

Thread: https://community.dynamics.com/365/sales/f/dynamics-365-for-sales-forum/366825/email-sender-from-add...

He doesn't want to change the TO, he wants to change the FROM.  As I explained that is doable with some of the Send Email action, but it requires that the person who creates/runs the Flow has "Send on Behalf" permisison to the mailbox that you want to use in the FROM.  That's just not feasible.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks for letting me know.

That was by mistake. I have changed it to 'From'

Gary, you will have to ask users to change email settings under personal options, which allows other users to send email on their behalf.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (36,713)