MB-230 Extend Customer Service Practice Question
You are extending Dynamics 365 Customer Service by building a custom Power Apps component framework (PCF) control that will be used on the Account form to display a customer's recent cases. The control must fetch data from the Case entity using the Web API and display it in a grid. You need to ensure the control can retrieve the data and handle pagination. Which method should you use to fetch the data?
⚠ Common exam trap
The trap here is using Xrm.WebApi, which is familiar from form scripts but not available in PCF controls; PCF requires context.webAPI.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
context.webAPI.retrieveMultipleRecords
To fetch multiple case records for an account and handle pagination in a PCF control, you should use context.webAPI.retrieveMultipleRecords. This method supports querying multiple records with options for pagination, filtering, and sorting. Other methods either retrieve a single record, are not available in PCF, or are for creating records. The correct method ensures efficient data retrieval and display in a grid.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
context.webAPI.retrieveMultipleRecords
Why this is correct
The context.webAPI.retrieveMultipleRecords method allows the PCF control to query multiple records from Dataverse using the Web API. It supports filtering, sorting, and pagination through the fetchXml or options parameter. This is the correct method to retrieve a list of cases for an account and handle pagination by specifying the page size and page number.
- ✗
Xrm.WebApi.retrieveMultipleRecords
Why it's wrong here
Xrm.WebApi.retrieveMultipleRecords is part of the client API for model-driven apps and is not available in PCF controls. PCF controls run in their own context and must use context.webAPI for Dataverse operations. Using Xrm.WebApi would cause errors because it is not defined in the PCF context.
- ✗
context.webAPI.retrieveRecord
Why it's wrong here
The context.webAPI.retrieveRecord method retrieves a single record by ID. It cannot retrieve multiple records or handle pagination. Since the requirement is to display a grid of recent cases, this method is insufficient. It would require multiple calls for each case, which is inefficient and does not support pagination natively.
- ✗
context.webAPI.createRecord
Why it's wrong here
The context.webAPI.createRecord method is used to create new records, not retrieve them. It cannot fetch data for display. This method is irrelevant to the requirement of retrieving and displaying recent cases. Using it would not provide the necessary data and would instead attempt to create a record.
About these practice questions
Courseiva writes every MB-230 question from scratch — 189 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This MB-230 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MB-230 exam.