Notifications
Announcements
I'm encountering an issue with the UpsertMultiple action in Dataverse. The behavior seems inconsistent when handling batches that contain both new and existing records.
Scenario:
dev_transactionid
Issue: When using UpsertMultiple (https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/upsertmultiple?view=dataverse-latest):
@odata.id
{ "Targets": [{ "@odata.type": "Microsoft.Dynamics.CRM.dev_transaction", "dev_transactionid": "123", "dev_name": "Example", "@odata.id": "dev_transactions(dev_transactionid='123')" }] }
{ "Targets": [{ "@odata.type": "Microsoft.Dynamics.CRM.dev_transaction", "dev_pmstransactionid": "123", "dev_name": "Example" }] }
Expected Behavior: UpsertMultiple should handle both scenarios since that's the purpose of an upsert operation.
All workarounds fail because any batch likely contains a mix of new and existing records, and we can't practically pre-check existence of each record as that would be very inefficient.
Is this expected behavior? If so, what's the recommended approach for handling bulk upsert operations with alternate keys?
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 740 Most Valuable Professional
Michael E. Gernaey 342 Super User 2025 Season 2
Power Platform 1919 268