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 / Irregular issues while...
Power Automate
Unanswered

Irregular issues while sending emails from Dynamics 365

(0) ShareShare
ReportReport
Posted on by 2

Hello, 

we have an issue with flows sending or editing records from the email entity of the Dynamics 365 CDS. The majority of flow runs go through without any issues. While some flows just fail with the following error message: 

 

No object matched the query: 
delete from [ActivityPartyBase]
	OUTPUT DELETED.[ActivityPartyId], 135, 0
		into SubscriptionTrackingDeletedObject (ObjectId, ObjectTypeCode, IsArchivalDelete)
 where ([ActivityPartyId] = @ActivityPartyId0)

 

In most cases this error occurs in two cases: while using IssueSend from "Perform a bound action" or when changing the owning business unit through a simple "Update a row". 

 

Here a screenshot from when this error happens: 

Niko123456_0-1690456612934.png

Activity parties in this flow are always the same (even when not using the array but the standard way to set activity parties, the error occurs):

 

[
 {
 "participationtypemask": 2,
 "addressused": "examplemail@company.com"
 },
 {
 "participationtypemask": 1,
 "partyid@odata.bind": "systemusers(6ecc3ede-a650-e911-a96c-000d3a44a96b)"
 }
]

 

Any kind of help would be appreciated. I can't find anything about this issue when researching and it's driving me insane, because this flow has to run reliably.

Categories:
I have the same question (0)
  • kjr1995 Profile Picture
    2 on at

    Did you ever figure anything out with this? I'm running into the same issue when trying to update the owner of some activities.

  • Niko123456 Profile Picture
    2 on at

    Kind of yes. It seems to be a timing problem of some sort. I packed everything into a scope and if it fails, a delay of 10 minutes starts after that and tries again to send the mail. It works in most cases.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 460

#2
Vish WR Profile Picture

Vish WR 343

#3
David_MA Profile Picture

David_MA 249 Super User 2026 Season 1

Last 30 days Overall leaderboard