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 / Error sending CRM emai...
Power Automate
Unanswered

Error sending CRM email (Invalid sender party)

(0) ShareShare
ReportReport
Posted on by 118

I have a flow that I want to send CRM email from the Email table.  I'm able to create the email, but there is a failure sending it.

 

This is my error message:

"error": {
    "code""0x80040216",
    "message""Invalid sender party: senderPartyObjectTypeCode = 0, senderPartyId = "
  }
 
I'm using a JSON array to compose my Activity Party parameters because some of the users are external users with just emails and no CRM records:
[
  {
    "participationtypemask"1,
    "addressused""test1@test.com"
  },
  {
    "participationtypemask"2,
    "addressused""test2@test.com"
  },
  {
    "participationtypemask"3,
    "addressused""test3@test.com"
  },
  {
    "participationtypemask"3,
    "addressused""test4@test.com"
  },
  {
    "participationtypemask"3,
    "addressused""test5@test.com"
  }
]
 
Create Email record action:
email1.png
email2.png
email3.png
Sending Email record action:
sendemail.png
Categories:
I have the same question (0)
  • _minnies_ Profile Picture
    91 on at

    Hi z_mike_90,

    I had the same error message. You need to give an actual account for the "from" property. You cannot use the "addressused" parameter at this point. To address the systemuser you could use 

    {
     "partyid_systemuser@odata.bind": "/systemusers(@{triggerOutputs()?['body/_ownerid_value']})",
     "participationtypemask": 1
    },

    I hope this could help.

     

    Best regards

    _minnies_

     

  • SristiJainWipro Profile Picture
    on at

    What if its a shared mailbox?

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard