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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

deleting rows in Activity Party table

(1) ShareShare
ReportReport
Posted on by 10
I have a batch of emails in which the Activity party table has been corrupted -- a non-existent Contact has been added to the To: line. I wrote a Power Automate flow that identifies the rows with the 'ghost user' in the Activity Party table, but I can't delete them. Response to the Delete is 'Bad Reequest' error even though I'm sure I'm passing the right GUID to the right tabIe.
 
I understand that Activity Party is a special table and even as system admin I apparently can't do a Delete.  Any ideas how else to tackle this?
Categories:
I have the same question (0)
  • whitebeard Profile Picture
    97 on at
    You are absolutely correct: the activityparty table is a special intersection table. It is tightly coupled with the core Activity record (in this case, the Email), and the platform blocks direct DELETE requests via the API to maintain integrity.
     
    Even as a System Admin, you generally cannot delete a row directly from the ActivityParty table using the "Delete Row" action in Power Automate.
    Here is the explanation of why this happens and the two-step workaround to fix it.
     
    Because the activityparty table is a reflection of the To, From, CC, and BCC fields on the Email, the supported way to modify it is to update the Email record itself.
     
    You need to tell the Email: "Here is the new list of people in the 'To' field." Dataverse will then automatically handle the deletion of the rows in the activityparty table for you.
     
    There is a high probability these emails are in a "Sent" or "Received" (Completed) status. If so, the record is read-only. If you try to update the "To" field on a Sent email, it will fail.
     
    You must temporarily reopen the email to modify it.
     
    Please Upvote if this helps.
     
  • Suggested answer
    whitebeard Profile Picture
    97 on at
    You are absolutely correct: the activityparty table is a special intersection table. It is tightly coupled with the core Activity record (in this case, the Email), and the platform blocks direct DELETE requests via the API to maintain integrity.
     
    Even as a System Admin, you generally cannot delete a row directly from the ActivityParty table using the "Delete Row" action in Power Automate.
    Here is the explanation of why this happens and the two-step workaround to fix it.
     
    Because the activityparty table is a reflection of the To, From, CC, and BCC fields on the Email, the supported way to modify it is to update the Email record itself.
     
    You need to tell the Email: "Here is the new list of people in the 'To' field." Dataverse will then automatically handle the deletion of the rows in the activityparty table for you.
     
    There is a high probability these emails are in a "Sent" or "Received" (Completed) status. If so, the record is read-only. If you try to update the "To" field on a Sent email, it will fail.
     
    You must temporarily reopen the email to modify it.
     
    Please Upvote if this helps.
     

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

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 47 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans