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 CRM (Archived)

Upsert Request not finding alternate keys, always creating!

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a plugin who upserts an entity wich has two attributes as a key. These keys are defined through a workflow because they are strings copied from 2 lookup values. The problem is that the UpsertRequest doesn't find the entity (when it is already created) and is always creating a new one, which causes the workflow to fire and throws an error since the keys already exist..

If on the entity I just send the keys and try to update another field, it will create a new empty entity with that field updated!

*This post is locked for comments

I have the same question (0)

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans