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
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
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!
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,
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.
Thanks