MSBA-319 · Lesson 5 of 12 · 19 min

Domain review: deploying AI business solutions

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

Bram reviewed the deploy domain on Saturday, November 14, with Rasmus Okonjo, Quillfield's Power Platform administrator, joining by Teams for the hour on ALM. Two days later the study guide changed and this domain's weight fell. In the outline dated November 16, 2026, Deploy AI-powered business solutions is 20 to 25 percent of the exam. Bram did not cut his review short. A domain that supplies one question in five still decides results, and its questions tend to have precise answers that a well-prepared candidate gets right and a guessing one gets wrong.

The domain has four objective groups: analyze, monitor and tune; manage testing; design the ALM process; and design responsible AI, security, governance, risk management and compliance. Most of it was taught in Deploying and Operating AI Business Solutions, with earlier foundations in the lessons Evaluations and test sets and Pipelines and application lifecycle management in Testing, Deploying and Managing Agents (MSBA-242), a course in the agent builder program. Responsible AI is reviewed briefly here and in depth in lesson 7.

A cycle of four objective groups around a released agent. Test: process and metrics, validation criteria for custom models, prompt practices, end-to-end tests across Dynamics 365 apps, test cases created with Copilot. Release through ALM: data, Copilot Studio, Foundry Agent Service, custom models, Dynamics 365 apps. Monitor and tune: tools, backlog and feedback, AI-based analysis, metrics, telemetry. Govern: security, governance, model security, vulnerabilities, responsible AI, data residency, access controls, audit trails. Arrows run from test to release to monitor and back to test, with govern spanning all three.
The deploy domain as a cycle: test, release, monitor and tune, with governance across every stage.

Analyze, monitor and tune

The five bullets ask you to recommend the process and tools for monitoring agents, analyze the backlog and user feedback, apply AI-based tools to identify issues and tune, monitor performance and metrics, and interpret telemetry for performance and model tuning. Questions in this group usually describe a symptom and ask which tool or measure reveals the cause.

Monitoring tools and what each answers.
NeedWhere to lookWhat it shows
How a Copilot Studio agent is usedCopilot Studio analyticsSessions, resolution, escalation, abandonment, satisfaction, themes
Why a specific conversation went wrongTranscripts and activity mapsWhich topic, tool or knowledge source was used
Custom telemetry and alerting across agentsApplication Insights and Azure MonitorCustom events, dependencies, failures, latency, queries in KQL
Quality of a Foundry agent over timeFoundry tracing and evaluation, including continuous evaluationScores for groundedness, relevance and task completion on sampled traffic
Cost and consumptionPower Platform admin center capacity and per-agent limits; Azure cost managementCredits consumed, alerts, model charges
Inventory and ownership of agentsMicrosoft Agent 365 and the Power Platform admin centerWhich agents exist, who owns them, which are ownerless

The October analytics for the HR Leave Assistant, reported in Testing, Deploying and Managing Agents, are a good template for reading metrics: 3,120 sessions, 2,310 resolved, 470 escalated and 340 abandoned. Resolution of about 74 percent looks healthy, but the 340 abandoned sessions are the backlog worth analyzing, because abandonment hides problems that users do not report. AI-based tools for analysis include the themes and summaries Copilot Studio generates from conversations and evaluators in Foundry that score responses at scale. Interpreting telemetry for model tuning means using evidence, such as groundedness falling after a knowledge source changed or latency rising after a model upgrade, to decide whether to change instructions, knowledge, a model version or a tool, rather than guessing.

Manage the testing of AI-powered business solutions

The testing bullets ask you to recommend the process and metrics to test agents, create validation criteria for custom AI models, validate Copilot prompt best practices, design end-to-end test scenarios for solutions using multiple Dynamics 365 apps, and build a strategy for creating test cases by using Copilot.

Rasmus's summary of agent testing at Quillfield fitted on one slide. Evaluation test sets, both single-response and conversation sets, gate every release of the Policy Service Assistant. Each set has an expected outcome per case and a threshold. A release goes forward only when the new version meets the thresholds and does not regress against the previous version. The test cases themselves were drafted with Copilot from real, anonymized conversations and reviewed by a person, which is exactly the outline's bullet about creating test cases by using Copilot: use generation to widen coverage, then curate.

What to test and how to judge it.
What is testedTypical metrics or criteria
Answers from knowledgeGroundedness, relevance, completeness, citation of the right source
Tool useRight tool chosen, correct parameters, task completed, no unnecessary calls
Conversation behaviorEscalation when required, refusal of out-of-scope requests, tone
Custom modelsAccuracy, precision and recall on a held-out set, fairness across groups, latency, stability between versions
SafetyResistance to prompt manipulation, harmful content rates, data leakage
End-to-end across Dynamics 365 appsA business process completes across apps with correct data at each hand-off

Validation criteria for custom models must be set before training, not after. Ngozika's hail photo triage model had written criteria: at least a stated accuracy on a held-out set of labeled photos, no class of damage with recall below a floor, and a requirement that every uncertain prediction be routed to a person. End-to-end scenarios across Dynamics 365 apps test a process rather than a feature, for example a service case in Customer Service that creates a work order in Field Service and an invoice in Finance, checking that the AI features in each app see the right data.

Design the ALM process

Six bullets ask you to design ALM for data used in AI models and agents, for Copilot Studio agents, connectors and actions, for Microsoft Foundry Agent Service, for custom AI models, and for AI in Dynamics 365 finance and supply chain apps and in customer experience and service apps.

ALM approaches for the components named in the outline.
ComponentALM approachWatch for
Copilot Studio agents, connectors and flowsSolutions with a custom publisher; dev, test and production environments; pipelines with approvals; connection references and environment variablesSettings that are not solution-aware must be set in each environment
Foundry agentsVersioned agents in separate projects or resources per stage; CI/CD with evaluation gatesIdentity permissions do not transfer between projects
Custom modelsVersioned training data, code and model artifacts; registry; staged deployment; pinned model versionsModel retirements and default-version changes
Data for AIVersion and approve knowledge content; separate test data; track lineage of training dataProduction personal data in test environments
AI in Dynamics 365 customer appsSolutions and pipelines in Power Platform, like any Dataverse customizationCopilot feature settings configured per environment
AI in Dynamics 365 finance and supply chain appsThe finance and operations ALM process for code and configuration, plus Power Platform solutions for Copilot extensionsTwo lifecycles that must be released in step

Rasmus described the Policy Service release history as an ALM lesson in itself. Version 1.6.0 was rolled back by redeploying the previous version; 1.6.1 fixed it. Version 1.8.0, the driver confirmation change that followed the near miss between two drivers with similar names, was released in rings: to Cormac Dunleavy's contact center team on November 17 and to everyone on November 19, 2026. "Rings are what the outline means when it says design the ALM process," he said. "Not just environments. How a change reaches people."

Ngozika added the Foundry side. Her submission review agent moved from version 14 to 15 through a GitHub workflow that runs the AI agent evaluation action, which was in preview, and compares the new version with the old one before deployment. Foundry agent versions are immutable, so a release always points to a specific version.

Bram's baseline miss had been ALM for finance and operations apps. He learned the key point: those apps have their own lifecycle for code and configuration, while Copilot extensions built in Copilot Studio follow the Power Platform solution lifecycle. A design must coordinate both, for example releasing an extension only after the configuration it depends on is in place.

Design responsible AI, security, governance, risk management and compliance

Eight bullets: design security for agents, design governance for agents, design model security, analyze vulnerabilities and mitigations including prompt manipulation, review for adherence to responsible AI principles, validate data residency and movement compliance, design access controls on grounding data and model tuning, and design audit trails for changes to models and data.

The governance group in design terms. Lesson 7 covers responsible AI in more depth.
ConcernDesign elements
Agent securityAgent identity such as Microsoft Entra Agent ID; least-privilege tools; end-user credentials for reads; authentication on channels
Agent governanceInventory and ownership in Microsoft Agent 365; environment strategy; data policies on connectors; approval for publishing
Model securityPrivate networking and keys in a vault; content filters; model version pinning; restricted access to deployments
Prompt manipulationPrompt Shields for direct and indirect attacks; treating tool output and documents as untrusted; confirmation before consequential actions
Data residency and movementRegion of environments and Foundry resources; deployment types that keep processing in a geography; cross-geography settings
Access to grounding and tuning dataPermissions on knowledge sources; separate, controlled tuning datasets; no broad maker credentials
Audit trailsVersion history, release records, Microsoft Purview audit, logs of who changed models, prompts and data

The November 4 incident at Quillfield, when Northmark Mutual's MCP server renamed a response field at 9:18 in the morning and the feature flag was switched off until a fix at 10:35, belongs in this group as well as in monitoring. The review that followed added a contract test for the field, a change notice clause and a re-review of the connection with a threat model. Exam questions about third-party agents and tools often ask exactly this: what controls keep an external dependency from breaking or subverting your agent.

Worked problem

Choosing the control for a symptom

After a model upgrade in Foundry, a claims summary agent's answers become longer and miss key facts. Users complain, but nothing has failed technically. What should the architect have designed to catch this before users noticed?

Show solution
  1. The failure is quality, not availability, so failure alerts would not fire.
  2. A model upgrade is a change; changes should pass evaluation gates.
  3. Pinning the model version would have prevented an unplanned change.
  4. Continuous evaluation on sampled production traffic would show the drop quickly.

Answer: Pin the model version, run evaluations against a baseline before any upgrade, and use continuous evaluation in production so that a quality drop raises an alert.

Distinctions to carry into the exam

Index-card distinctions for the deploy domain.
Look-alikesOne-line distinction
Monitoring and evaluationMonitoring watches live behavior; evaluation scores quality against criteria
Test set and validation criteriaA test set is the cases; validation criteria are the thresholds that decide pass or fail
Rollback and roll forwardRollback redeploys the previous version; roll forward ships a fix
Environment and ringEnvironments separate stages; rings release to groups of users in turn
Data residency and data movementResidency is where data is stored; movement is where it travels for processing

Practice: reading a deployment scenario

Deployment questions often bundle several symptoms into one scenario and ask which single change addresses the stated goal. Bram practiced by taking a real Quillfield week and turning it into a question. In the week of November 2, two releases of different agents went to production on the same afternoon, and when a problem appeared nobody could tell at first which release had caused it. The fix was not a monitoring tool. It was a shared release calendar, so that changes to agents that share users or dependencies are not released together. An exam version of that story would offer four options: more alerts, a larger credit allocation, a shared release calendar with change windows, and turning off analytics during releases. Only one addresses the cause.

Deployment symptoms, their usual causes and the control a question is looking for.
Symptom in the scenarioLikely causeControl the question wants
Two changes released together; cause of a defect unclearNo release coordinationRelease calendar and change windows
Quality fell after a model changedUnpinned model versionPinning and evaluation gates
Agent works in test but fails in productionSettings not carried in the solutionEnvironment variables, connection references and a deployment checklist
Nobody knows who owns an agentMissing inventory and ownershipAgent inventory with named owners and reassignment of ownerless agents
Credit consumption doubled overnightA loop, a new trigger or unexpected trafficPer-agent limits, alerts and analytics review

Rasmus pointed out one more pattern that appears in governance questions: the agent made in the default environment by an enthusiastic employee. The right answer is rarely to delete it. The architect's answer is to bring it under governance: move it into a solution in a managed environment, give it an owner, apply the data policy and decide whether it should be supported, merged or retired. Quillfield's October clean-up of 23 agents, in which nine unused agents were retired, four duplicates merged and seven kept, followed exactly that path.

Bram finished the deploy review with a list of the outline's eight governance bullets and one Quillfield artifact for each: the agent inventory for governance, Wendell's threat model of the Northmark connection for vulnerabilities, the impact assessment for responsible AI, the environment regions for residency, the knowledge permissions review for access controls and the release records for audit trails. Being able to name a real artifact for each bullet was, he decided, a better test of readiness than reciting the bullets.

Common mistakes

  • MistakeTreating high resolution rates as proof that an agent works well.

    InsteadAnalyze abandonment, escalations and feedback as well as resolution.

  • MistakeSetting validation criteria for a custom model after seeing the results.

    InsteadWrite criteria and thresholds before training.

  • MistakeAssuming a Copilot Studio pipeline also releases finance and operations configuration.

    InsteadCoordinate the finance and operations lifecycle with Power Platform solutions.

  • MistakeLetting a model version float to the latest default in production.

    InsteadPin versions and upgrade through evaluation gates.

Summary and key terms

  • Deploy is 20 to 25 percent of AB-100 after the November 16, 2026 change.
  • Monitoring combines Copilot Studio analytics, transcripts, Application Insights, Foundry tracing and evaluation, and capacity reports.
  • Testing uses test sets with thresholds, validation criteria set in advance and end-to-end scenarios across apps.
  • ALM covers solutions and pipelines, versioned Foundry agents, versioned models and data, and finance and operations lifecycles.
  • Governance covers agent identity, inventory, model security, prompt manipulation, residency, access to data and audit trails.
Evaluation test set
A set of cases with expected outcomes used to score an agent before release.
Validation criteria
Thresholds a custom model must meet to be accepted, written before training.
Continuous evaluation
Scoring a sample of live traffic over time to catch quality changes.
Ring deployment
Releasing a change to successive groups of users rather than everyone at once.
Model version pinning
Fixing a deployment to a specific model version so it does not change without testing.
Audit trail
A record of who changed models, prompts, data or agents, and when.

Practice problems

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

  1. Which Copilot Studio analytics figure often hides unreported problems?

    Show answer

    Abandoned sessions.

  2. Do Foundry identity permissions carry over when an agent moves to another project?

    Show answer

    No; permissions must be granted in each project.

  3. What is the difference between data residency and data movement?

    Show answer

    Residency is where data is stored; movement is where it travels for processing.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz