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

Notifications

Announcements

Community site session details

Community site session details

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

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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard