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

Power Automate: Issue adding the Sender and ToRecipients

Hi there to the wonderful Power Community.

 

I am facing a challenge when creating an recipients EmailMessage record either with CDS connector and the D365 connector.

I have searched everywhere possible to find a solution.

One solution I did find shows that the CDS connector has the ActivityParty attributes available for one to populate, but in my version of PowerAutomate, I am not able to find the same properties.

I am referring to the sample kindly posted by Ace Microtechnology.

https://www.crmsoftwareblog.com/2020/01/send-dynamics-365-emails-from-power-automate/

 

My output is always the same, null values in the ToRecipients and the Sender:

"trackingtoken": null,
"conversationtrackingid": null,
"msdyn_sentiment": null,
"torecipients": null,
"postponeemailprocessinguntil": null,
"delayedemailsendtime": null,
"msdyn_translatedemailbody": null,
"lastopenedtime": null,
"_emailsender_value": null,
"_sendersaccount_value": null,
"mimetype": null,

 

Simple scenario:

The scenario is to be able to track the submitted Emails within D365 via #PowerAutomate

Steps

  • Create an opportunity record,
  • then create an Email Activity (D365),
  • setting the regarding to the Account and setting the Sender to the Owner of the Account
  • and lastly the ToRecipients will also be the Owner (for this example, just to get it to work).

 

If anyone has managed to get this working, please would you share. 

This seems quite a strange one.

Your assistance is always appreciated.

 

Thank you, Keep safe

4 REPLIES 4
Jcook
Super User III
Super User III

Hi @Rod_365

Could you share a picture of your flows configuration.

Couple of questions:
Did you create a solution first and a flow inside that solution.
Are you using the Common data service (current environment) action? This action is only available inside a solution.

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Hi,

 

First you should create Email Message and use bound action like this : 

Since I am using Queue I have specified QueueId, otherwise you can specify systemusers from which you want to send email.

 

Email Message.JPG

 

Send Email.JPG

 

Thanks

Rod_365
Frequent Visitor

Hi @Jcook

Thanks for your assistance.

I managed to get the Flow to send an email using the HTTP with Azure AD connector and used a PATCH call to update the PartyList.

To answer your question, the Flow is built within a Solution and is using the CDS connector too.

 

I'll be sharing my solution steps possibly over this weekend which I am hoping helps others with this issue.

Thanks again

Keep safe

Hi @ManishJain,

Appreciate your solution, I have managed to resolve my issue using the PATCH HTTP request.

AS noted earlier, I'll be sharing my solution in the next day or so.

 

Keep safe and thanks again!

Helpful resources

Announcements
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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (46,922)