cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Dual Super User II
Dual Super User II

Re: sender email is WRONG!

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.
Highlighted
Regular Visitor

Re: sender email is WRONG!

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

Highlighted
Regular Visitor

Re: sender email is WRONG!

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

Highlighted

Re: sender email is WRONG!

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...

Highlighted
Dual Super User II
Dual Super User II

Re: sender email is WRONG!

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.
Highlighted

Re: sender email is WRONG!

Thanks for letting me know.

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

Highlighted

Re: sender email is WRONG!

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (5,229)