web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamics creating emai...
Power Automate
Answered

Dynamics creating email torecipients not getting set

(0) ShareShare
ReportReport
Posted on by 4

Hi,

I have created a powerflow to create email in timeline of an account. The email is getting created but recipients is not getting set. Here is the payload

 

 

 

{
 "organization": "https://xxx.crm6.dynamics.com",
 "entityName": "emails",
 "item/description": "Test body",
 "item/regardingobjectid_account_email@odata.bind": "accounts/981e8336-xxx-xxxx-a81c-6045bd3cf716",
 "item/subject": "Test",
 "item/torecipients": "mkxxx@yahoo.com"
}

 

 

 

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @mkokabi ,

     

    Is this what you want?

    {
     "entityName": "emails",
     "item/activitypointer_activity_parties": [
     {
     "participationtypemask": 2,
     "partyid@odata.bind": "systemusers(<guid>)"
     }
     ],
     "item/description": "Test",
     ...
     }

    vxiaochenmsft_0-1714355573219.png

    vxiaochenmsft_1-1714355616841.png

     

    Best Regards,

    Wearsky

  • mkokabi Profile Picture
    4 on at

    Hi Wearsky,

    Thanks foe your help.

    I don't understand the usage of systemusers(<Guid>). Basically, what I want is set the To field. The value is comming from another field which is related to account.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @mkokabi ,

     

    By default, the 'To' field is associated with 3 tables, 'user' table, 'account' table and the 'contact' table.

    vxiaochenmsft_0-1714358165343.png

    If you want to use account table as the related table, please try to get the set name of account table first.

    In your case, it should be 'accounts'.

    Then you need to get the guid of the record. 

    vxiaochenmsft_1-1714358267580.png

    If you want to associate the first record it should be- accounts(c645ef92-9a09-ee11-8f6e-002248ec6139)

     

    Best Regards,

    Wearsky

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard