Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Power Automate: Issue adding the Sender and ToRecipients

(0) ShareShare
ReportReport
Posted on by 8

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

  • Rod Stuart Profile Picture
    Rod Stuart 8 on at
    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!

  • Rod Stuart Profile Picture
    Rod Stuart 8 on at
    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

  • MJain Profile Picture
    MJain 2,450 on at
    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

  • Jcook Profile Picture
    Jcook 7,770 on at
    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics