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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Error Code 0x80131501 - Power Automate Case Creation Flow

(0) ShareShare
ReportReport
Posted on by 141
Hi all,

We have the Email to Case Flow active, which is automatically created when an Email to Case process is implemented in Dynamics. 

There are several hundred cases coming into the mailbox per month. Around 5 of them run into the following error:
 
Error Code: 0x80131501
 
Organization Id: xxxxxx, Calling method: Microsoft.Dynamics.AutomaticRecordCreation.Plugins.Helpers.SetRegardingOnSourceEntityHelper.SetRegardingOnSourceEntity, Error details: 'No object matched the query: 
delete from [ActivityPartyBase]
    OUTPUT DELETED.[ActivityPartyId], 135, 0
        into SubscriptionTrackingDeletedObject (ObjectId, ObjectTypeCode, IsArchivalDelete)
 where ([ActivityPartyId] = @ActivityPartyId0)'
 
Does anyone know a solution?

Many greetings and thanks in advance.
  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at
    Hi,
     
    Based on the error message you provided, we can only tentatively conclude that the problem is related to ARC (Automatic Record Creation),
    and it's probably because the "Create contact for unknown sender" checkbox is unchecked.
     
    Please refer to the official documentation below to check:
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    Please feel free to contact me if you have any further questions.
    Regards,
    Haig
     
  • MichaelFo96 Profile Picture
    141 on at
    Hello Haig Liu,
     
    thank you for your answr.
     
    I checked the settings. The Checkbox is activated:
     
    Any other solutions?
     
    Best regards

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

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 45

#2
11manish Profile Picture

11manish 44 Super User 2026 Season 2

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans