MSBA-319 · Lesson 8 of 12 · 23 min
Integration questions
▶ Video coming soon A video version of this lesson is on the way.
Pascal Wojtyniak owns the BrokerDesk API, the custom connector the Policy Service Assistant uses and the BrokerDesk MCP server he built that autumn. On Thursday, November 19, he ran the integration session at seven in the morning, with a whiteboard covered in boxes and arrows before Bram arrived. "Every integration question is the same question," he said. "How does the agent reach the system, as whom, and what happens when the system is not there?"
Integration does not have its own domain in the AB-100 outline, but it runs through all three. Planning asks you to organize data for other AI systems and design multi-agent solutions across platforms. Design asks for connectors for Copilot in Dynamics 365 Sales, Contact Center channel integration, extensibility in Copilot Studio, MCP, Computer Use and interoperability of the finance and operations agent chats. Deployment asks for ALM for connectors and actions and for security of agents. The audience profile names MCP and Agent2Agent (A2A) explicitly. This lesson reviews the options, the identity question, failure handling and the question patterns, drawing on Integrating and Extending Agents in Copilot Studio and Multi-Agent Orchestration, MCP and Agent-to-Agent Integration.
The integration options
Pascal drew the options as a ladder, from the least effort at the bottom to the most at the top, and Bram added the condition under which each is the right answer.
| Option | Right when | Watch for |
|---|---|---|
| Prebuilt Power Platform connector | A connector exists for the system and covers the operations needed | Premium connectors and data policy classification |
| Custom connector | The system has a REST API with no connector | Authentication design and connector ALM |
| Agent flow | Several steps must run in a fixed order, or work is long-running | Respond early with a reference, finish in the background |
| MCP server | A system exposes tools and resources for agents, reused across several agents or platforms | Requires generative orchestration in Copilot Studio; tool descriptions drive selection |
| Child or connected agent | Work belongs to another agent with its own owner or lifecycle | Context passing and who answers the user |
| Agent2Agent (A2A) | A remote agent run by another organization or platform must take on a task | Trust, Agent Cards, contracts and data shared |
| Dataverse virtual table | Data should be read in place, without copying | Performance and supported operations |
| Microsoft 365 Copilot connector | External content should be indexed for Microsoft 365 Copilot and its agents | Permissions mapping for indexed items |
| Computer Use | No API, connector or data access exists | Fragility, speed, credentials, confirmation |
The difference between MCP and A2A is the most common integration distinction on the exam. MCP connects an agent to tools and data: the agent stays in charge and calls the server's tools. A2A connects an agent to another agent: the remote agent takes on a task, reasons on its own and returns a result, possibly after a long time. Northmark Mutual's appetite server is an MCP server, because Quillfield's agents call its tools. Northmark's quote intake agent, which it began piloting in November 2026, is an A2A agent, because Quillfield hands it a task and Northmark's agent decides how to handle it. A2A reached its first stable version, 1.0, under the Linux Foundation in April 2026.
As whom: the identity question
Pascal's second question, "as whom", decides more integration answers than any other. There are three identities an integration can use.
| Identity | What it means | Use when |
|---|---|---|
| End user | The call runs with the signed-in user's own permissions | Reading or changing data the user is entitled to; the default for internal agents |
| Maker or author credentials | The call runs with the connection owner's permissions for everyone | Rarely; only for shared, non-sensitive data with written justification |
| Agent or service identity | The agent has its own identity, such as a Microsoft Entra Agent ID or a service principal | Autonomous agents and narrow, audited operations no user performs directly |
Quillfield's rule, written by Wendell for the Policy Service Assistant, is a model exam answer: read tools use end-user credentials; maker credentials need written justification and a narrow service identity. The certificates-mailbox agent, which runs with no user in the conversation, has its own dedicated identity and can only draft. The claims first-notice design used a narrow service identity for a policy match that reads three fields, because the reporting clients are not Quillfield users.
Worked problem
Choosing the identity
An external website agent must check whether a reported loss matches an active policy. Website visitors are not signed in and have no accounts in the brokerage's directory. Which identity should the policy lookup use, and how should it be limited?
Show solution
- End-user identity is impossible: visitors have no accounts.
- Maker credentials would give every visitor the maker's full access.
- A dedicated service identity can be limited to one operation that returns only what is needed.
- The operation should confirm a match on a few fields without revealing policy details.
Answer: A narrow service identity with access to a single lookup that returns only whether a match exists, logged and reviewed. This is the pattern Quillfield's claims design used.
Reaching systems behind the firewall
Many scenarios include a system that is on premises or in a private network. The usual answers are an on-premises data gateway for Power Platform connectors and flows, private networking for Azure resources such as Foundry projects, and an API gateway that publishes a controlled interface to an internal API. Pascal's BrokerDesk MCP server sits behind an API gateway, which handles authentication, throttling and logging so that the server itself can stay simple. A question that offers "open the firewall to the internet" is never the right answer.
When the system is not there
The third question, what happens when the system is not there, separates expert answers from associate ones. Integrations fail: services go down, fields are renamed, responses slow. A design must say what the agent does then.
| Failure | Design response |
|---|---|
| Service unavailable | Fallback ladder: retry with backoff, then a cached or alternative source labelled as such, then an honest message and a hand-off |
| Slow response | Timeouts, asynchronous patterns and responding early with a reference number |
| Contract change, such as a renamed field | Contract tests in the pipeline; change notice terms with the provider; feature flags to switch the integration off |
| Duplicate requests after a retry | Idempotency keys so that a retried create does not create twice |
| Partial data | Validate required fields before acting; ask the user rather than guess |
Two Quillfield incidents illustrate the table. In mid-November, during the Commercial Submission Desk pilot, Northmark's appetite server was down for about 40 minutes and the prototype agent invented an appetite answer rather than saying it could not check. The fix was a fallback ladder, source labels on every answer and fault-injection tests that switch the server off on purpose. On November 4, Northmark's MCP server renamed a response field and the Policy Service Assistant's appetite tool broke; a feature flag switched it off until a fix was deployed, and contract tests now catch such a change. Both are exactly the kind of story an exam question compresses into three sentences.
Integration with Dynamics 365
The Dynamics 365 bullets add their own integration patterns. Agents read and write customer engagement data in Dataverse through the Dataverse connector or tools. Contact Center integration puts a Copilot Studio agent in front of voice, chat and messaging channels and transfers to a human representative with context. Copilot in Dynamics 365 Sales can be extended with connectors to external data. The finance and operations chat experience can be extended through Copilot Studio with additional knowledge sources and actions. Data between finance and operations apps and Dataverse can be shared through mechanisms such as virtual tables and dual-write, and the architect chooses based on whether data must be copied or read in place.
Worked problem
An integration trade-off
A distributor wants its Copilot Studio agent, its Foundry agent and a partner's agent platform all to use the same set of inventory lookup operations from its warehouse system, which has a REST API. Which design minimizes duplicated integration work?
Show solution
- Three different agent platforms need the same operations.
- A custom connector would serve Copilot Studio but not the Foundry agent or the partner's platform directly.
- An MCP server exposes the operations once as tools that any MCP-capable agent can use.
- The MCP server should sit behind an API gateway with authentication and logging.
Answer: Build an MCP server for the inventory operations, published through an API gateway, and add it as a tool in each platform. In Copilot Studio this requires generative orchestration.
Question patterns
| Scenario phrase | Likely answer |
|---|---|
| The system has a REST API but no connector | Custom connector, or an MCP server if several agents or platforms need it |
| Another company's agent must handle the task | A2A, with an approved list of remote agents and a contract |
| The operation takes several minutes | Agent flow or asynchronous pattern; respond early with a reference |
| No API and no database access | Computer Use, with confirmation and secured credentials |
| Data must stay current without copying | Virtual table or live tool call |
| The system is on premises | On-premises data gateway or an API gateway with private networking |
| A retried call created two records | Idempotency key |
At the end of the session Pascal erased the whiteboard except for three words in the corner: how, whom, when-down. Bram copied them onto the last card of his integration stack.
Knowledge integration versus action integration
Pascal drew a line down the middle of the whiteboard to separate two kinds of integration that candidates often mix up. Knowledge integration brings content into an agent's answers: SharePoint sites, Dataverse tables used as knowledge, websites, files and Microsoft 365 Copilot connectors that index external content. Action integration lets an agent read live records or change something: connectors, custom connectors, agent flows, REST tools, MCP tools and other agents. The difference matters for freshness, permissions and cost.
| Aspect | Knowledge integration | Action integration |
|---|---|---|
| Purpose | Ground answers in content | Read live records or make changes |
| Freshness | As fresh as the last index or crawl | Live at the moment of the call |
| Permissions | Depend on how the source and index trim results | Depend on the identity used for the call |
| Typical failure | Stale or overshared content | Wrong identity, broken contract or unavailable service |
| Example at Quillfield | HR policies on the HR SharePoint site | Creating a change request in BrokerDesk |
A question that describes a policy lookup that returns last month's figure is usually a knowledge freshness problem; a question that describes a lookup returning someone else's record is usually an identity problem. Knowing which kind of integration is involved narrows the answer quickly.
Integration and ALM
Integrations have lifecycles too, and the deploy domain asks for ALM for connectors and actions. Custom connectors, connection references and environment variables travel in solutions, so that the same agent can point at a test API in the test environment and the production API in production without editing the agent. Credentials are not exported with a solution; each environment has its own connections, owned by the right accounts. MCP servers and APIs behind a gateway need their own versioning and change notices, which is why Quillfield's carrier agreements now include a change notice clause. A question that asks how to move an agent between environments without changing its configuration by hand is almost always asking for environment variables and connection references.
Worked problem
Moving an integration between environments
An agent calls a supplier API. In test it must call the supplier's sandbox; in production, the live API. Makers currently edit the URL by hand after each deployment and sometimes forget. What should the architect change?
Show solution
- The URL differs by environment, which is configuration, not code.
- Editing by hand after deployment is error-prone and unaudited.
- Environment variables hold per-environment values and travel with the solution, with values set per environment.
- Connection references let each environment use its own connection and credentials.
Answer: Store the URL in an environment variable and use connection references, set per environment during deployment through the pipeline.
Bram tested the whiteboard's three words against every integration question in his error log. Each miss failed one of them: he had chosen a design without asking how the agent reached the system, used the wrong identity, or ignored what would happen when the system was down. The three words went to the top of his integration cards.
Common mistakes
MistakeConfusing MCP with A2A.
InsteadMCP gives an agent tools and data; A2A hands a task to another agent.
MistakeUsing maker credentials for convenience.
InsteadDefault to end-user identity; use a narrow, justified service identity when no user exists.
MistakeDesigning only the success path.
InsteadSpecify retries, fallbacks, labels, contract tests and hand-offs for failure.
MistakeChoosing Computer Use when an API exists.
InsteadUse connectors or APIs first; Computer Use is a last resort.
Summary and key terms
- Integration runs through all three domains; ask how, as whom and what happens when the system is down.
- Choose the lowest rung of the integration ladder that meets the requirement.
- MCP connects agents to tools and data; A2A connects agents to other agents; A2A 1.0 was released in April 2026.
- Default to end-user identity; use a narrow agent or service identity for autonomous or anonymous cases.
- Design for failure with fallbacks, source labels, contract tests, feature flags and idempotency keys.
- Model Context Protocol (MCP)
- An open protocol that lets agents discover and call tools and read resources from servers.
- Agent2Agent (A2A)
- An open protocol that lets an agent delegate tasks to a remote agent and receive results.
- Agent Card
- A description an A2A agent publishes of its skills, endpoint and authentication requirements.
- Idempotency key
- A unique value sent with a request so that a retry does not perform the action twice.
- On-premises data gateway
- Software that lets Power Platform services reach data sources in a private network.
- Fallback ladder
- An ordered set of responses when a dependency fails, ending with an honest message and a hand-off.
Practice problems
Work each problem on paper first, then reveal the answer to check.
A partner's agent must assess a request and reply later. MCP or A2A?
Show answer
A2A, because a remote agent takes on the task.
What prevents a retried create call from making a duplicate record?
Show answer
An idempotency key.
What identity should an anonymous website agent use for a policy match?
Show answer
A narrow service identity limited to the one lookup, logged and reviewed.
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.