# How do I choose between Dataverse bulk operations, batching and an atomic transaction?

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Extend Microsoft Power Platform (35–40%)
Updated: 2026-11-25T06:47:21.108561+00:00
HTML: https://learningpathx.com/faq/AB-400/ab400-dataverse-bulk-batch-transaction.html

## Also asked as

- Which Dataverse operation fits independent bulk writes versus changes that must succeed together?
- How do I pick a Dataverse write method based on table support and rollback requirements?

Start with the failure unit. Use a supported bulk message for many rows of the same table, `ExecuteMultiple` or a Web API `$batch` for grouping individual requests, and an explicit `ExecuteTransaction` request or Web API change set when supported changes must commit together. The outer `$batch` request alone does not establish a transaction. [Bulk operation messages](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/bulk-operations) · [ExecuteMultiple](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/execute-multiple-requests) · [ExecuteTransaction](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/use-executetransaction) · [Web API batch and change sets](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/execute-batch-operations-using-web-api)

For standard tables, check support for `CreateMultiple` and `UpdateMultiple`. Support for both implies `UpsertMultiple`. A standard-table bulk error fails the entire operation. Elastic tables support those three messages and `DeleteMultiple`, can return individual bulk failures, and have no multi-record transactions. A synchronous PostOperation fault on an elastic-table Create does not reverse that created row. Reserve bulk operations for external clients. [Bulk message availability and error handling](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/bulk-operations) · [Elastic table behavior](https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-edit-elastic-tables)

Use a fixture with valid inputs and one invalid input. Compare persisted rows and outcomes with the selected failure unit. Keep a stable identity per row so the application can handle partial failures without retrying a successful subset indiscriminately. For a business operation that needs atomicity across rows, verify that the chosen mechanism rolls back each participating write when one fails.

Source: [AB-400: Reliable Dataverse Bulk and Background Operations](https://learningpathx.com/news/ab-400-reliable-dataverse-bulk-and-background-operations.html)
