# What proves a governed Power Platform request integration handles replay and uncertain results?

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Develop integrations (10–15%)
Updated: 2026-11-25T06:47:20.317819+00:00
HTML: https://learningpathx.com/faq/AB-400/ab400-verify-governed-request-replay-and-failure.html

## Also asked as

- How should I test a successful dispatch, a replay and a failure after receipt creation?
- What should I measure in a Dataverse request-to-receipt lab when a flow times out?

Require both the expected Dataverse request state and the exact receipt count and identity. In a sequential, synthetic lab, check each source/request key specifically and record the attempt ID, principal, flow outcomes and sanitized error. Disable the connector action's retries for fault-injection runs so you can observe the first response.

Start with zero receipts for three fixtures. Run the first normally and verify Succeeded with one receipt. Replay it using the same source/request ID and a new attempt GUID. Verify the same receipt ID, a replay response and one receipt. Send a changed payload under the same key directly to the test connector and require a conflict with the original receipt intact.

For the second fixture, inject a failure before writing. Expect Reconcile with zero receipts. For the third, inject a response error after writing. Expect Reconcile with one receipt. Retry each normally with its original business identity. Both should reach Succeeded with one receipt each, preserving the third fixture's already committed ID. If the parent's final write fails, inspect Sending and the actual receipt before recovery.

Test denied row access, denied parent-flow invocation and invalid endpoint credentials with separate users or connections. Each probe should create no additional receipt. Test malformed input separately. Repeat in the isolated fixture with the original expected outcomes after any repair. Three accepted fixtures should end with three distinct receipts. For an optional persistence check, restart the disposable Function and replay one recovered fixture. The stored receipt ID should stay the same.

[Flow failure paths and retries](https://learn.microsoft.com/en-us/power-automate/guidance/coding-guidelines/error-handling) · [Dataverse alternate keys](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/define-alternate-keys-entity) · [Dataverse Upsert behavior](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/use-upsert-insert-update-record)

Source: [AB-400: Lab: A Governed Service Request Integration](https://learningpathx.com/news/ab-400-lab-a-governed-service-request-integration.html)
