Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

2.2.4. When to Build, Extend, or Use Prebuilt Agents

One of the highest-value architectural decisions is knowing when to build custom agents versus extending existing capabilities versus using prebuilt agents out of the box. The exam tests this frequently because it directly impacts cost, time-to-value, and maintainability.

Prebuilt Agents — Microsoft provides prebuilt agents that are ready to deploy with configuration:

  • Account Reconciliation Agent (D365 Finance)
  • Quality Evaluation Agent (D365 Customer Service)
  • Customer Intent Agent (D365 Contact Center)
  • Supplier Communications Agent (D365 Supply Chain Management)
  • Employee Self-Service Agent (Microsoft 365)

Use prebuilt agents when the business process aligns with the agent's designed purpose. The agent handles the AI logic; you configure the business rules, data sources, and integration points.

Extend Microsoft 365 Copilot — When users need AI capabilities within their existing Microsoft 365 workflow (Teams, Outlook, Word), extend Copilot rather than building a standalone agent:

  • Declarative agents — Custom agents published to M365 Copilot with specific instructions and knowledge
  • API plugins — Connect Copilot to external APIs for real-time data
  • Graph connectors — Index external data sources so Copilot can search them alongside Microsoft 365 content

Build Custom Agents — Build from scratch only when:

  • No prebuilt agent covers the use case
  • Extension points don't provide enough control
  • The solution requires custom models, specialized orchestration, or unique conversational flows
  • Regulatory or compliance requirements mandate custom implementations
Decision Matrix:
FactorUse PrebuiltExtend CopilotBuild Custom
Time to valueDays to weeksWeeksMonths
Maintenance burdenMicrosoft maintains core logicShared responsibilityFully your responsibility
Customization depthConfiguration onlyModerate (plugins, connectors)Unlimited
CostIncluded in license or low incrementalModerateHighest
RiskLowestLowHighest
WhenProcess matches prebuilt purposeUsers work in M365Unique requirements

Exam Trap: The exam frequently presents scenarios where a prebuilt agent or Copilot extension would suffice, but a distractor recommends building a custom agent in Microsoft Foundry. The correct answer almost always favors the simplest solution that meets requirements. Building custom is a last resort, not a default.

Reflection Question: A sales team wants an AI assistant that pulls CRM data, suggests next actions, and summarizes meeting notes — all within Microsoft Teams. Should you build a custom agent, extend Microsoft 365 Copilot, or configure a prebuilt agent?

Alvin Varughese
Written byAlvin Varughese
Founder15 professional certifications