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.
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.
| Need | Where to look | What it shows |
|---|---|---|
| How a Copilot Studio agent is used | Copilot Studio analytics | Sessions, resolution, escalation, abandonment, satisfaction, themes |
| Why a specific conversation went wrong | Transcripts and activity maps | Which topic, tool or knowledge source was used |
| Custom telemetry and alerting across agents | Application Insights and Azure Monitor | Custom events, dependencies, failures, latency, queries in KQL |
| Quality of a Foundry agent over time | Foundry tracing and evaluation, including continuous evaluation | Scores for groundedness, relevance and task completion on sampled traffic |
| Cost and consumption | Power Platform admin center capacity and per-agent limits; Azure cost management | Credits consumed, alerts, model charges |
| Inventory and ownership of agents | Microsoft Agent 365 and the Power Platform admin center | Which 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 is tested | Typical metrics or criteria |
|---|---|
| Answers from knowledge | Groundedness, relevance, completeness, citation of the right source |
| Tool use | Right tool chosen, correct parameters, task completed, no unnecessary calls |
| Conversation behaviour | Escalation when required, refusal of out-of-scope requests, tone |
| Custom models | Accuracy, precision and recall on a held-out set, fairness across groups, latency, stability between versions |
| Safety | Resistance to prompt manipulation, harmful content rates, data leakage |
| End-to-end across Dynamics 365 apps | A 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 labelled 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.
| Component | ALM approach | Watch for |
|---|---|---|
| Copilot Studio agents, connectors and flows | Solutions with a custom publisher; dev, test and production environments; pipelines with approvals; connection references and environment variables | Settings that are not solution-aware must be set in each environment |
| Foundry agents | Versioned agents in separate projects or resources per stage; CI/CD with evaluation gates | Identity permissions do not transfer between projects |
| Custom models | Versioned training data, code and model artifacts; registry; staged deployment; pinned model versions | Model retirements and default-version changes |
| Data for AI | Version and approve knowledge content; separate test data; track lineage of training data | Production personal data in test environments |
| AI in Dynamics 365 customer apps | Solutions and pipelines in Power Platform, like any Dataverse customization | Copilot feature settings configured per environment |
| AI in Dynamics 365 finance and supply chain apps | The finance and operations ALM process for code and configuration, plus Power Platform solutions for Copilot extensions | Two 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 centre 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.
| Concern | Design elements |
|---|---|
| Agent security | Agent identity such as Microsoft Entra Agent ID; least-privilege tools; end-user credentials for reads; authentication on channels |
| Agent governance | Inventory and ownership in Microsoft Agent 365; environment strategy; data policies on connectors; approval for publishing |
| Model security | Private networking and keys in a vault; content filters; model version pinning; restricted access to deployments |
| Prompt manipulation | Prompt Shields for direct and indirect attacks; treating tool output and documents as untrusted; confirmation before consequential actions |
| Data residency and movement | Region of environments and Foundry resources; deployment types that keep processing in a geography; cross-geography settings |
| Access to grounding and tuning data | Permissions on knowledge sources; separate, controlled tuning datasets; no broad maker credentials |
| Audit trails | Version 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
- The failure is quality, not availability, so failure alerts would not fire.
- A model upgrade is a change; changes should pass evaluation gates.
- Pinning the model version would have prevented an unplanned change.
- 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
| Look-alikes | One-line distinction |
|---|---|
| Monitoring and evaluation | Monitoring watches live behaviour; evaluation scores quality against criteria |
| Test set and validation criteria | A test set is the cases; validation criteria are the thresholds that decide pass or fail |
| Rollback and roll forward | Rollback redeploys the previous version; roll forward ships a fix |
| Environment and ring | Environments separate stages; rings release to groups of users in turn |
| Data residency and data movement | Residency 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 practised 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.
| Symptom in the scenario | Likely cause | Control the question wants |
|---|---|---|
| Two changes released together; cause of a defect unclear | No release coordination | Release calendar and change windows |
| Quality fell after a model changed | Unpinned model version | Pinning and evaluation gates |
| Agent works in test but fails in production | Settings not carried in the solution | Environment variables, connection references and a deployment checklist |
| Nobody knows who owns an agent | Missing inventory and ownership | Agent inventory with named owners and reassignment of ownerless agents |
| Credit consumption doubled overnight | A loop, a new trigger or unexpected traffic | Per-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.
Which Copilot Studio analytics figure often hides unreported problems?
Show answer
Abandoned sessions.
Do Foundry identity permissions carry over when an agent moves to another project?
Show answer
No; permissions must be granted in each project.
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.
Create a free account to save your progress, take quizzes and earn a certificate.