MSBA-348 · Lesson 6 of 12 · 17 min

Domain review: integration and reporting

▶ Video coming soon A video version of this lesson is on the way.

Two domains meet in this lesson: Integrate and manage data solutions, weighted 15 to 20 percent, and Implement reporting, weighted 5 to 10 percent. Integration is the second-heaviest domain, and its questions are almost always scenarios: a system, a volume, a frequency, a direction and a constraint, followed by four integration options that would all move data. Reporting is the lightest domain, but its questions are cheap marks for anyone who can tell the reporting tools and datastores apart.

Desmond brought the integration register from the third clinic series, eight rows long, each with an owner, a pattern, a role, a throttling priority and a test. "The exam is this register," he said, "with the answers hidden. For every row, say why we chose that pattern and what the wrong answers would have been."

Integration patterns and APIs

The first objective group asks you to contrast integration patterns, select an integration API and differentiate synchronous from asynchronous patterns. A synchronous pattern waits for the answer: the caller sends a request and blocks until finance and operations responds. OData and custom services are synchronous. An asynchronous pattern hands over the work and checks back later: the caller drops a file or a package, the system processes it in batch and the caller polls for status. Recurring integrations and the package API are asynchronous. Business events are asynchronous too, but they push outward: finance and operations notifies a subscriber when something happens.

Integration patterns and APIs in the outline, with the choice Cobalt Ridge made for each.
Pattern or APIDirectionSync or asyncBest forCobalt Ridge example
ODataIn and outSynchronousRecord-level create, read, update and delete by an app or portalPrairieline warranty portal reads and registers warranties
Batch ODataIn and outSynchronous, groupedSeveral OData operations in one HTTP request, optionally as one change setPortal registers a pump and its first claim together
Custom serviceInSynchronousAn operation with logic, not a record shapegetCoverage and submitClaim for the portal
Recurring integrationsIn and outAsynchronousScheduled file imports and exports through a data projectCarrier freight invoice lines every 15 minutes
Package APIIn and outAsynchronousOn-demand import or export of a data packageWarranty cutover load
Business eventsOutAsynchronous, pushNotify other systems when something happensCertificate recorded, sent to the plant quality system
Dual-writeBoth ways with DataverseNear real timeKeep tables in Dataverse and finance and operations in stepEvaluated and deferred
Virtual entitiesDataverse reads finance and operations liveSynchronousShow finance and operations data in Power Platform without copyingTechnician app
A decision tree. First question: does an external system need an answer immediately? If yes, is it a record shape or an operation with logic? Record shape leads to OData, with Batch OData for several operations in one request; logic leads to a custom service. If no, is it outbound notification of an event? Yes leads to business events. If not, is it a scheduled file flow? Yes leads to recurring integrations; on-demand packages lead to the package API. A separate branch for Power Platform asks whether data must be copied: yes leads to dual-write, no leads to virtual entities.
Choosing an integration. The constraint words in a scenario usually decide at the first or second branch.

Batch OData is new in the outline. OData supports a batch request: one HTTP request to the service's batch endpoint that contains several operations. Operations can be grouped into a change set, which succeeds or fails as a unit. The use case is a client that must make several related changes and wants fewer round trips, or wants them applied together. The exam may ask which feature reduces the number of calls or which grouping makes two writes atomic; the answer is a batch request with a change set.

Consuming services and implementing custom services

The second group starts with consuming external web services by using RESTful APIs and SOAP. X++ can call .NET classes directly, so a REST call can use the .NET HTTP client classes from X++, and more complex clients, especially SOAP clients generated from a service description, are usually built in a C# class library project that the X++ model references. Secrets for those calls, such as API keys or certificates, belong in Azure Key Vault, not in code or in a parameter table, as the last group in this domain requires.

Custom services expose X++ operations to callers. You create a service class with public methods, a service element that lists the operations, and a service group that the platform deploys. Each service group is available through a JSON endpoint and a SOAP endpoint. Callers authenticate with Microsoft Entra ID, using an application registration that is mapped to a finance and operations user on the Microsoft Entra applications page; that user's roles decide what the service may do. Prudence's CRWarrantyInquiryService was idempotent by the portal's claim reference, so a retried call would not create a duplicate claim.

Data management

The data management group is long. It covers setting up a data project with entity sequencing and recurring data jobs; generating and modifying field mapping between source, staging and target; importing and exporting data through entities; using composite and aggregate data entities; monitoring entity status and availability; and enabling change tracking.

A data project lists entities with a source format and a sequence. Sequencing matters when entities depend on each other: customer groups before customers, products before released products. Entities in the same level and sequence can run in parallel. Field mapping links source columns to staging fields and staging fields to target fields; you can generate it automatically when the names match and edit it when they do not, including default values and transformations. The staging table holds imported rows before they reach the target, which allows validation and correction. A recurring data job attaches a project to a schedule and exposes enqueue and dequeue endpoints for files.

Composite data entities group a header entity and its line entities, such as a sales order with its lines, so that a document can be imported as one XML message. They are used with data management, not with OData. Aggregate data entities are read-only entities over aggregate measurements in the entity store, used for analytics. Change tracking on an entity lets an export send only changed records; you enable it for the primary table, for the entire entity or with a custom query, and incremental export to a bring-your-own-database target depends on it. Monitoring uses the job history, the execution details and the staging data view, and the entity list shows whether entities are enabled and refreshed.

Power Platform, Microsoft 365 and Azure

The last integration group asks you to integrate Dataverse by using dual-write and virtual entities, integrate Power Platform, integrate Excel through OData, and implement Azure Key Vault.

Dual-write and virtual entities compared. "Without copying" points to virtual entities.
NeedDual-writeVirtual entities
Data copied into Dataverse tablesYes, near real time and both waysNo, read live from finance and operations
Works offline from finance and operationsYes, once copiedNo
Typical scenarioCustomer and product master shared with Dynamics 365 SalesA Power Apps or Copilot Studio solution that reads current data
Setup effortMaps, initial sync, error handlingEnable the entity as a virtual table in Dataverse
SecurityDataverse security on the copied rowsThe calling user's finance and operations security

Power Platform integration covers more than those two. Power Automate flows can subscribe to business events or use the finance and operations connector; Power Apps can be embedded in finance and operations pages; and Copilot Studio agents can use finance and operations data and actions, as lesson 3 described. Excel through OData is the Open in Excel experience: the Excel add-in reads and publishes data through public data entities, so an entity must be public for a user to edit its data in Excel. Developers can also add Open in Excel templates to a form.

Azure Key Vault in finance and operations is configured on a Key Vault parameters page, where an administrator registers a vault and the secrets or certificates the application may use, with the vault's application identity. Features such as electronic reporting and electronic invoicing then refer to a secret by name. The exam is likely to ask why Key Vault is used (to keep secrets and certificates out of code, database parameters and files) and where the reference is configured, rather than API details.

Reporting: tools and datastores

The reporting domain has two groups. Select reporting tools covers creating and modifying report data sources and supporting classes, implementing reporting security and differentiating reporting datastores. Design, create and revise reports covers choosing the tool for a requirement, building and deploying SSRS reports and creating and modifying Excel reports.

Four datastores. The transactional database feeds SSRS reports, inquiry forms and Excel through OData. The entity store holds aggregate measurements and feeds embedded Power BI in workspaces. Bring your own database is a customer Azure SQL database filled by data management exports. Synapse Link and Fabric link send tables and entities to a data lake or Microsoft Fabric for enterprise analytics. A crossed-out box marks Export to Data Lake, shut down on November 30, 2026.
Reporting datastores. Each one suits a different kind of report.
Matching a reporting requirement to a tool and datastore.
RequirementToolDatastore
A printed, pixel-precise document such as a certificate, invoice or checkSSRS report, usually through print managementTransactional database
A user wants to analyse or edit a list in a spreadsheetOpen in Excel or an Excel templateTransactional database through OData
Charts and KPIs inside a workspaceEmbedded Power BIEntity store
Enterprise analytics joining finance and operations with other sourcesPower BI or Fabric on lake dataFabric link or Synapse Link
A customer-owned SQL database for existing reportsBring your own databaseCustomer Azure SQL
A regulatory file in a fixed formatElectronic reportingTransactional database

Export to Data Lake, the older feature that wrote tables to a customer's data lake, was retired in 2024 and shut down on November 30, 2026. Any answer that proposes it for a new requirement is wrong. Bring your own database remains supported. Microsoft recommends Fabric link or Synapse Link for analytics on lake data.

SSRS reports in detail

An SSRS report in finance and operations has a data contract class for parameters (DataContract and DataMember attributes), a report data provider (RDP) class that extends SrsReportDataProviderBase, is linked to its contract with the SRSReportParameterAttribute and fills a temporary table in processReport, a report design in Visual Studio (auto design or precision design), an optional controller that extends SrsReportRunController to set defaults or choose a design, and an optional UI builder. The report is made available through an output menu item. The weekly casting certificate report from the extension clinics was exactly this: CRCastingCertDP, a contract, a precision design and an output menu item.

The shape of a report data provider: a contract attribute, a data set method returning a temporary table, and processReport.
[SRSReportParameterAttribute(classStr(CRCastingCertContract))]
class CRCastingCertDP extends SrsReportDataProviderPreProcessTempDB
{
    CRCastingCertTmp castingCertTmp;

    [SRSReportDataSetAttribute(tableStr(CRCastingCertTmp))]
    public CRCastingCertTmp getCastingCertTmp()
    {
        select castingCertTmp;
        return castingCertTmp;
    }

    public void processReport()
    {
        CRCastingCertContract contract = this.parmDataContract();
        // fill castingCertTmp for contract.parmFromDate() to contract.parmToDate()
    }
}

Reporting security follows the menu item: the output menu item is added to a privilege, the privilege to a duty and the duty to a role. A user who can open the report's menu item can run the report. Data inside the report is protected by the same table permissions and extensible data security policies that apply to the tables the RDP class reads, so a report does not need its own row filter if a policy already restricts the table. Deploying a report means building the model and deploying it so that the report server has the design; in a sandbox or production, reports arrive with the deployable package.

Excel reports in this outline mean Excel workbooks connected to finance and operations: Open in Excel templates attached to forms, workbook designer templates built from public entities, and Excel output formats in electronic reporting. The exam asks which of these fits a requirement, not how to write formulas.

Integration questions in practice

Integration scenarios give four facts: who starts the exchange, how much data moves, how fast it must arrive and whether the sender needs an answer. Prudence learned to write those four facts in the margin before reading the options. A portal registering one warranty at a time, needing confirmation, is a caller-started, small, immediate, answer-needed exchange: OData or a custom service. A carrier sending thousands of freight lines every fifteen minutes, needing no answer, is a sender-started, medium, scheduled, no-answer exchange: a recurring integration. A cutover load of eleven thousand warranties per company is a one-time, large, no-answer exchange: the package API or a data project. An order confirmation that a scheduling tool must hear about is a finance-and-operations-started, small, near real-time push: a business event.

Two refinements come up often. First, OData is not the right tool for large volumes; service protection limits and throttling apply, and bulk loads belong in data management. Second, integration users matter. Each external system should authenticate with its own Microsoft Entra application mapped to its own user with a narrow role, as Cobalt Ridge did with CR-INT-PRAIRIELINE and CR-INT-FREIGHT, so that access can be audited, throttled by priority and revoked without affecting other integrations.

Reporting questions are simpler, but they hide one trap. A requirement for a report on data that users can see only partly, because of a security policy, does not need report-level filtering: the policy already applies to the tables the report reads. Adding a filter in the RDP class duplicates the rule and can drift from it.

Common mistakes

  • MistakeUsing a composite entity for an OData integration.

    InsteadComposite entities are for data management imports and exports, typically XML; OData uses regular public entities.

  • MistakeProposing Export to Data Lake for new analytics.

    InsteadIt was shut down on November 30, 2026; use Fabric link or Synapse Link.

  • MistakeChoosing dual-write when the requirement says data must not be copied.

    InsteadVirtual entities read live data without copying.

  • MistakeStoring an API key in a parameter table.

    InsteadStore secrets and certificates in Azure Key Vault and reference them by name.

  • MistakeBuilding an SSRS report for a list users want to edit in a spreadsheet.

    InsteadUse Open in Excel through a public entity.

Summary and key terms

  • Synchronous patterns (OData, Batch OData, custom services) wait for an answer; asynchronous ones (recurring integrations, package API, business events) do not.
  • Data projects sequence entities, map source to staging to target and can recur; composite entities group headers and lines for data management.
  • Dual-write copies data with Dataverse; virtual entities read it live; Excel uses public entities through OData; Key Vault holds secrets and certificates.
  • Reporting tools: SSRS for documents, Excel for analysis, embedded Power BI on the entity store, Fabric link or Synapse Link for enterprise analytics; Export to Data Lake is shut down.
  • SSRS reports use a contract, an RDP class with a temporary table, a design, an optional controller and an output menu item secured through a privilege.
Batch OData
Several OData operations sent in one HTTP request, optionally grouped in an atomic change set.
Recurring data job
A data project on a schedule with enqueue and dequeue endpoints for files.
Composite data entity
An entity that groups a header and its lines for import or export as one document.
Change tracking
Entity setting that lets exports send only changed records.
Report data provider
The X++ class that fills a temporary table for an SSRS report.
Entity store
An analytics database of aggregate measurements used by embedded Power BI.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Which integration pushes notifications out of finance and operations when something happens?

    Show answer

    Business events.

  2. Which kind of entity is used for a sales order header and lines imported as one XML document?

    Show answer

    A composite data entity.

  3. Where does the security for an SSRS report start?

    Show answer

    With its output menu item in a privilege.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz