Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. AB-400/
  4. AB-400 Learning Path/
  5. Study FAQs/
  6. How should I structure a governed service-request integration lab in Power Platform?

Study FAQ

How should I structure a governed service-request integration lab in Power Platform?

Exam · AB-400Knowledge domain · Build Microsoft Power Platform solutions (15–20%)Updated Nov 25, 2026
Also asked as 2
  • How can I build an isolated Power Platform lab that records one durable mock dispatch receipt per request?
  • Which components and identities belong in a governed Dataverse request-to-receipt lab?

Answer

Use an isolated solution with a user-or-team-owned request table, a separate organization-owned receipt table, a manual parent and child flow, and one custom connector operation to a disposable HTTP Azure Function. The Function's only business effect is a durable mock receipt in the second table. Run sequentially as one authorized operator and use synthetic data.

Give the parent an operator-owned Dataverse connection, with create, read and write access to the operator's request rows. Use another ordinary user to test row and flow denial. Have the Function authenticate to Dataverse as a separate application user with receipt Create and Read access only. Keep the Function endpoint key in the connector connection and the downstream identity credential in protected Function configuration. Keep setup and teardown under a separate admin identity.

Key both tables by the nonempty source and external request ID, and check that both alternate keys are Active before testing. Keep the business ID and payload stable during replay. In this fixture, the key is LAB plus an uppercase alphanumeric request ID. The receipt stores the category and site together. Generate a new attempt GUID for each parent run. The attempt ID and fault mode describe the invocation and stay outside the stable key and payload comparison.

Use a single POST /api/mock-dispatch operation. Put the Function key in the connector's separate API-key credential parameter and define the JSON body fields as source, requestId, category, site, attemptId and faultMode. On an exact match, return the existing receipt ID. Reject a changed payload as a conflict. When a create response is uncertain, look up the same key and compare the stored payload before classifying it as a replay. Keep the Function's receipt role read/create only so a replay cannot overwrite the original payload.

Use a manual child in the same solution with the connector's embedded connection. Match the response identity and require its receipt ID before returning Accepted. Map invalid input to Rejected, a payload conflict to Conflict, an authentication denial to Blocked and an ambiguous result to Unknown. Have the parent check the request and save Sending before dispatch. It records Succeeded and the receipt on acceptance, Rejected on rejection or conflict, Blocked on denial, and Reconcile on uncertainty. A failed final update may leave Sending. Inspect the receipt ledger and the final write before attempting recovery.

Prepare the expected outcomes before creating fixtures. At cleanup, stop lab flows and settle outstanding runs, retain redacted evidence, remove the dependency-bound fixtures and connections, revoke dedicated credentials, and verify removal of separately billed lab resources. Treat the exercise as validation of a bounded mock contract.

Create child flows · Dataverse alternate keys · Manage Dataverse application users · Azure Functions access keys · Import an OpenAPI connector

Full explanation

AB-400: Lab: A Governed Service Request Integration

Study guide · AB-400

Read the full explanation →
← Back to AB-400 FAQsView learning path →

Related questions

Where should I put business logic in a Power Platform solution? →How do I choose a Power Platform user interface for an extension? →Why does my Power Platform app still show the old behavior after a managed solution import? →How do I design Dataverse record access for regional teams and temporary specialists? →When should I use standard, virtual or elastic tables in Dataverse? →Which exam should I book for Power Platform Developer Associate after PL-400 retired? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.