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

How to set To and From addresses for the email messages entity using flow

Hi,

 

I am trying to create a new record in the Email Messages entity using the "Create Record" action of the Dynamics 365. I am able to set all the field values except the From and To fields. I tried passing the GUID of the contact recod and Email ID. But in both the cases, the records are being created but To and From Fields are blanks. 

Is there a way to populate these two fields using flow. your help is really appreciated.

 

Thanks,

Venu

2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @vallamreddyvenu,

 

Do you use the trigger that When an email arrived?

I have tested on my side that, create a new record in the Email Message entity of Dynamic 365, it runs successfully, and the From field is not empty.Annotation 2019-10-01 145815.pngAnnotation 2019-10-01 145758.png

 

Could you please share your Flow configuration?

You could have a test that uses the compose action to find out To and From field whether is empty. Annotation 2019-10-01 145852.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply lin tu. Even in my case, the "sender" field in the input body is being sent, but the output body is having sender filed value as null.

Issue1.JPG

I have checked data in the system after the successful run of the flow, both to and from fields are blanks. Below the screenshots
Issue2.JPG

 

I am just passing the valid email in a plain text format to the from field in the create record action of the Email Messages. Below the screenshot

Issue3.JPG

 

Please let me know if you need more information. Thanks for your help once again.

 

Regards,

Venu

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,536)