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

Re: Power Automate: Issue adding the Sender and ToRecipients

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!





ManishJain Resolver III
Resolver III

Re: Power Automate: Issue adding the Sender and ToRecipients

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

Re: Power Automate: Issue adding the Sender and ToRecipients

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

Rod_365
Frequent Visitor

Re: Power Automate: Issue adding the Sender and ToRecipients

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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: 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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (6,804)