4.3 Build vs Buy vs Extend Architectural Decision Framework

Key Takeaways

  • The Build vs. Buy vs. Extend framework evaluates AI initiatives across three architectural tiers: Commercial Off-The-Shelf (Buy), low-code composable extensions (Extend), and bespoke pro-code multi-agent development (Build).
  • The Buy tier (e.g., Microsoft 365 Copilot, Dynamics 365 Sales Copilot) delivers immediate time-to-value with zero hosting maintenance, but offers no custom model routing and minimal proprietary business differentiation.
  • The Extend tier utilizes Microsoft Copilot Studio to augment prebuilt copilots with custom conversational topics, Power Platform connectors, declarative agents, and Prompt Actions, achieving tailored automation without infrastructure overhead.
  • The Build tier relies on Azure AI Foundry, Semantic Kernel, and AutoGen to construct custom multi-agent choreography, providing complete architectural control, proprietary IP ownership, and data isolation at the expense of high development and ALM maintenance.
  • The five architectural dimensions driving the decision matrix are Strategic Differentiation, Regulatory/Compliance Isolation, Latency & Throughput SLAs, Integration Depth with Legacy Systems, and In-House Engineering Maturity.
Last updated: September 2026

4.3 Build vs Buy vs Extend Architectural Decision Framework

Quick Architecture Summary: Successfully architecting enterprise AI solutions requires matching business requirements to the correct execution tier: Buy (Commercial Off-The-Shelf Copilots like Microsoft 365 Copilot and Dynamics 365 Copilots for rapid time-to-value and commodity workflows), Extend (customizing and grounding copilots via Microsoft Copilot Studio declarative agents, Power Platform connectors, and Prompt Actions for tailored departmental processes), or Build (bespoke pro-code engineering using Azure AI Foundry, Semantic Kernel, and AutoGen for core competitive differentiation, complex multi-agent state machines, and air-gapped regulatory compliance). The architect must systematically evaluate these tiers across five dimensions: strategic differentiation, compliance isolation, latency SLAs, legacy integration depth, and technical maturity.


1. The Three Architectural Tiers: Buy, Extend & Build

Enterprise architects are frequently confronted with conflicting pressures: business leaders demand immediate AI capabilities, compliance officers require strict data sovereignty, and engineering teams advocate for custom code. Navigating these demands requires a structured classification across three tiers.

+-----------------------------------------------------------------------------------------+
|                        THE BUILD vs. BUY vs. EXTEND SPECTRUM                            |
+-----------------------------------------------------------------------------------------+
|  BUY: Commercial Off-The-Shelf (COTS)                                                   |
|  - Microsoft 365 Copilot, Dynamics 365 Sales/Service Copilot, GitHub Copilot           |
|  - Fastest Time-to-Value (Days/Weeks) | SaaS Subscription Pricing ($30/user/mo)         |
|  - Zero infrastructure maintenance | Limited to native application boundaries           |
+-----------------------------------------------------------------------------------------+
                                           |
                                           v
+-----------------------------------------------------------------------------------------+
|  EXTEND: Low-Code / Composable Customization                                            |
|  - Microsoft Copilot Studio, Declarative Agents, Power Platform Connectors              |
|  - Moderate Time-to-Value (Weeks/Months) | Capacity & Message Pack Pricing              |
|  - Custom business logic & Dataverse actions without managing model hosting             |
+-----------------------------------------------------------------------------------------+
                                           |
                                           v
+-----------------------------------------------------------------------------------------+
|  BUILD: Bespoke Pro-Code Multi-Agent Systems                                            |
|  - Azure AI Foundry, Semantic Kernel, Microsoft AutoGen, Custom Containerized Agents   |
|  - Longest Time-to-Value (Months) | Azure Infrastructure & Consumption Pricing          |
|  - Full architectural control, proprietary IP, fine-tuned SLMs, strict data isolation   |
+-----------------------------------------------------------------------------------------+

The Buy Tier: Commercial Off-The-Shelf (COTS)

  • Core Technologies: Microsoft 365 Copilot (Word, Excel, PowerPoint, Outlook, Teams), Dynamics 365 Sales Copilot, Dynamics 365 Customer Service Copilot, Dynamics 365 Field Service Copilot, GitHub Copilot.
  • Architectural Mechanics: Turnkey Software-as-a-Service (SaaS). Microsoft hosts, manages, fine-tunes, and patches all underlying models and semantic retrieval layers (Microsoft Graph). Grounding is automatically scoped to the authenticated user's Entra ID security permissions.
  • When to Choose: General personal and organizational productivity, standard CRM/ERP task assistance, collaborative drafting, and code completion where the workflow conforms to industry-standard patterns.

The Extend Tier: Low-Code / Composable Augmentation

  • Core Technologies: Microsoft Copilot Studio, Declarative Agents for Microsoft 365, Copilot Extensions, Power Platform Custom Connectors, Power Automate Cloud Flows, Dataverse Plugins, Prompt Actions.
  • Architectural Mechanics: Architects leverage existing Microsoft enterprise copilot shells but inject custom business logic, domain-specific conversational topics, external enterprise grounding (via Azure AI Search or Dataverse Virtual Tables), and automated actions (via 1,200+ pre-built Power Platform connectors).
  • When to Choose: When standard SaaS copilots require integration with line-of-business (LOB) databases (e.g., SAP, Workday, ServiceNow), specialized internal policy documents, or custom approval workflows, without taking on the burden of managing GPU compute or custom agent orchestration frameworks.

The Build Tier: Bespoke Pro-Code Multi-Agent Systems

  • Core Technologies: Azure AI Foundry, Semantic Kernel (C#, Python, Java), Microsoft AutoGen, Azure OpenAI Service, custom Small Language Models (Phi-3.5/Phi-4), Azure Cosmos DB (state persistence), Azure API Management.
  • Architectural Mechanics: Professional engineering teams build custom multi-agent distributed systems from scratch. Developers author explicit agent personas, design complex routing and voting state machines, configure bespoke vector retrieval pipelines with hybrid search, and host models in dedicated virtual networks (VNets).
  • When to Choose: Workloads that represent an organization's core intellectual property, highly specialized algorithmic tasks, systems requiring sub-100ms deterministic execution, multi-agent debates/consensus algorithms, or environments requiring air-gapped on-premises or sovereign cloud hosting.

2. The Five Architectural Decision Criteria Dimensions

To determine the correct tier for an enterprise initiative, architects evaluate five key dimensions:

                        FIVE-DIMENSIONAL DECISION FRAMEWORK

                 [1. STRATEGIC DIFFERENTIATION]
                           /        \
                          /          \
                         /            \
                        /              \
  [2. REGULATORY & COMPLIANCE] -------- [3. LATENCY & THROUGHPUT SLAs]
            |                                       |
            |                                       |
  [4. INTEGRATION DEPTH] ----------------- [5. ENGINEERING MATURITY]

1. Strategic Differentiation & Core Intellectual Property

  • Commodity Workloads (Buy): Summarizing meeting transcripts, drafting routine sales follow-up emails, or querying an employee handbook. These provide operational convenience but zero competitive advantage in the marketplace.
  • Differentiating Workloads (Build): A hedge fund's proprietary quantitative portfolio rebalancing agent, a healthcare provider's specialized clinical diagnostic assistant, or an aerospace manufacturer's component stress-analysis engine. These constitute core corporate IP; using generic COTS tools exposes intellectual capital and limits innovation.

2. Regulatory, Security & Compliance Isolation

  • Standard Enterprise Governance (Buy/Extend): Complies with standard commercial cloud commitments (ISO 27001, SOC 2, FedRAMP, HIPAA BAA). Data remains within the tenant boundary and is never used to train foundation models.
  • Strict Isolation & Air-Gapped Environments (Build): Highly regulated defense, intelligence, or banking scenarios requiring Customer-Managed Keys (CMK), private VNet endpoints, zero internet egress, strict EU Data Boundary adherence, or local on-premises deployment via ONNX Runtime and Windows Copilot Runtime.

3. Latency, Throughput & Deterministic Performance SLAs

  • Conversational Latency Tolerant (Buy/Extend): End-user chat interfaces where a Time-to-First-Token (TTFT) of 800ms to 2 seconds is completely acceptable.
  • Ultra-Low Latency & High-Throughput (Build): Real-time telecommunications call-routing, algorithmic fraud detection, or industrial IoT anomaly parsing requiring sub-50ms deterministic response times. Requires dedicated PTUs or fine-tuned SLMs deployed via Semantic Kernel on dedicated GPU clusters.

4. Integration Depth & Non-Standard Data Sources

  • Modern REST & OData APIs (Extend): Systems supporting standard web APIs, OpenSearch, OData, or existing Power Platform connectors.
  • Legacy, Proprietary, or Binary Protocols (Build): Legacy mainframes, IBM AS/400 terminal emulators, raw TCP socket streams, specialized vector databases (Milvus, Qdrant), or proprietary file formats requiring custom C# deserialization.

5. In-House Engineering Maturity & Application Lifecycle Management (ALM)

  • Low to Moderate Technical Maturity (Buy/Extend): Business analysts, citizen developers, and functional consultants who can build topics and declarative agents in Copilot Studio without managing CI/CD pipelines, container registries, or Kubernetes clusters.
  • High Technical Maturity (Build): Professional software engineering organizations capable of managing Git-backed prompt repositories, automated red-teaming in Azure DevOps, vector database sharding, and distributed tracing in Application Insights.

3. Comparative Architectural Evaluation Matrix

Evaluation DimensionBuy (e.g., M365 / D365 Copilot)Extend (Copilot Studio)Build (Azure AI Foundry / Semantic Kernel)
Time-to-ValueDays to Weeks2 to 6 Weeks3 to 9 Months
Initial CapexMinimal (Configuration only)Low to MediumHigh (Dedicated engineering team)
Ongoing OpexFixed predictable user license ($/user/mo)Capacity message packs + add-on licensesConsumption tokens, PTU reservations, VM compute
CustomizabilityMinimal (Out-of-the-box settings)High (Topics, Connectors, Prompt Actions)Complete (Arbitrary code, custom orchestration)
Model FlexibilityLocked to Microsoft-selected modelsPrimarily Azure OpenAI foundation modelsAny model (OpenAI, Phi-4, Mistral, Meta Llama, custom)
IP OwnershipNone (SaaS subscription)Moderate (Proprietary flows & topics)Complete (Full proprietary code & model weights)
Maintenance BurdenZero (Managed entirely by Microsoft)Low (Managed low-code platform)High (Full ALM, infrastructure, drift, security)
Target PersonaBusiness knowledge workersCitizen developers & Low-code consultantsPro-developers & Cloud Solutions Architects

4. Deep-Dive: Extension Architecture via Microsoft Copilot Studio

When standard SaaS applications require tailored workflows, Microsoft Copilot Studio serves as the primary architectural bridge between Buy and Build.

                    COPILOT STUDIO EXTENSION ARCHITECTURE
+-----------------------------------------------------------------------------------------+
|                           MICROSOFT 365 COPILOT USER SHELL                              |
+-----------------------------------------------------------------------------------------+
                                           |
                                           v
+-----------------------------------------------------------------------------------------+
|                    DECLARATIVE AGENT (COPILOT STUDIO EXTENSION)                         |
|  - Custom System Prompt & Persona Directives                                            |
|  - Grounding Knowledge Sources: SharePoint, Dataverse, Azure AI Search                  |
|  - Security Trimming: Inherited Entra ID User Context (OAuth 2.0)                       |
+-----------------------------------------------------------------------------------------+
                                           |
                 +-------------------------+-------------------------+
                 |                                                   |
                 v                                                   v
+---------------------------------+                 +---------------------------------+
| PROMPT ACTIONS & TOPICS         |                 | POWER PLATFORM CONNECTORS       |
| - Natural language instruction  |                 | - 1,200+ certified connectors   |
| - Generative answers fallback   |                 | - Custom REST APIs (OpenAPI)    |
| - Azure AI Content Safety       |                 | - Power Automate Cloud Flows    |
+---------------------------------+                 +---------------------------------+

Declarative Agents for Microsoft 365

Declarative agents are custom extensions packaged for Microsoft 365 Copilot. They define tailored instructions, operational boundaries, and specific enterprise knowledge sources, allowing users to invoke specialized assistants directly within Teams, Word, or Outlook without navigating to a separate portal.

Prompt Actions & Plugins

Prompt actions enable agents to dynamically invoke external tools. When a user asks a declarative agent to verify inventory or initiate an RMA, the agent selects the matching Power Platform connector or Power Automate cloud flow, executes the action under the user's delegated identity, and renders the result using Adaptive Cards.


5. Deep-Dive: Pro-Code Multi-Agent Architectures (Build)

When business requirements demand complex agent orchestration that exceeds low-code capabilities, architects build bespoke solutions using the Azure AI Foundry ecosystem.

Semantic Kernel

Semantic Kernel is Microsoft's open-source enterprise orchestration SDK for C#, Python, and Java. It provides:

  • Kernel Plugins: Native functions (C# or Python code) and semantic prompts exposed to the model as callable tools.
  • Planners and Orchestrators: Step-by-step reasoning engines that dynamically decompose complex user goals into execution graphs.
  • Filters: Pipeline hooks (IPromptRenderFilter, IFunctionInvocationFilter) that inspect and modify prompts, enforce security policies, and implement custom model routing before and after tool execution.

Microsoft AutoGen

AutoGen is an advanced multi-agent framework facilitating autonomous multi-agent conversations:

  • Multi-Agent Choreography: Enables specialized agents (e.g., Coder Agent, Reviewer Agent, Planner Agent) to converse with one another to solve complex, iterative engineering or legal tasks.
  • Consensus & Voting Patterns: Multiple agents independently evaluate a hypothesis, critique each other's reasoning, and achieve consensus before committing a transaction.

6. Real-World Architectural Case Scenario: Tier Rationalization for a Wealth Management Institution

The Incident

A tier-1 wealth management institution initiated an enterprise AI transformation program. The initial strategy mandated building all capabilities in-house via pro-code Python microservices on Azure Kubernetes Service (AKS). After nine months and $4.2M in engineering expenditures:

  1. Timeline Collapse: Basic employee document search and meeting summarization tools were still in alpha testing due to complex authentication and Entra ID graph integration hurdles.
  2. Maintenance Backlog: The engineering team was completely consumed patching custom connectors and managing GPU VM node scaling, leaving zero bandwidth for core proprietary quantitative investment algorithms.
  3. Shadow IT Surge: Frustrated financial advisors began adopting unapproved consumer AI tools to draft client communications, creating severe regulatory compliance vulnerabilities.

Root Cause Analysis (RCA)

The enterprise architecture review diagnosed a severe failure of tier rationalization:

  • The organization attempted to Build commodity capabilities (M365 productivity and document summarization) that existed out-of-the-box in the Buy tier.
  • They neglected the Extend tier for internal CRM workflows, building complex custom Python middleware where Copilot Studio and Power Platform connectors would have delivered value in three weeks.
  • They starved their core competitive differentiator—proprietary algorithmic asset allocation—of engineering resources.

The Architectural Realignment

The solutions architect instituted a strict Three-Tier Realignment:

  1. Buy Tier Adoption: Immediately rolled out Microsoft 365 Copilot to all 3,500 advisors and analysts, delivering meeting summaries, email drafting, and SharePoint grounding within 10 days while fully complying with FINRA records retention.
  2. Extend Tier Implementation: Built a Copilot Studio Declarative Agent connected via Power Platform custom connectors to Dynamics 365 Customer Insights and Charles River IMS, providing client portfolio overviews directly in Microsoft Teams in four weeks.
  3. Build Tier Focus: Concentrated the elite pro-code engineering team entirely on Azure AI Foundry, Semantic Kernel, and AutoGen to build a proprietary, air-gapped Multi-Agent Portfolio Stress-Testing Engine running within an isolated Azure VNet with Customer-Managed Keys (CMK). This realignment eliminated $1.8M in annual maintenance overhead and delivered the proprietary trading system three months ahead of schedule.

[!TIP] AB-100 Exam Tip: When an exam question involves integrating standard Microsoft 365 applications with an external ERP via REST APIs, the correct architectural tier is Extend (Copilot Studio). When a scenario requires a proprietary consensus algorithm between multiple autonomous agents, specialized on-premises deployment, or full ownership of intellectual property, select Build (Azure AI Foundry / Semantic Kernel / AutoGen). If the requirement is rapid deployment of standard office productivity features with zero custom development, select Buy (Microsoft 365 Copilot).

Loading diagram...
Architectural Decision Tree for Buy vs. Extend vs. Build Tiers
Test Your Knowledge

An enterprise field service organization uses Dynamics 365 Field Service. Management requires an AI assistant that field technicians can use to look up equipment repair manuals, check replacement part inventory in SAP, and automatically create return merchandise authorization (RMA) tickets. The organization has no in-house Python or C# developers, possesses a mature team of Power Platform functional consultants, and mandates a production go-live within 4 weeks. Which architectural tier and implementation approach should the solutions architect recommend?

A
B
C
D
Test Your Knowledge

A global investment bank is engineering an autonomous algorithmic trading and risk analysis system. The platform must execute multi-agent debate and consensus protocols across five specialized agents, perform multi-hop mathematical risk simulations, achieve sub-80ms deterministic execution, enforce air-gapped isolation with Customer-Managed Keys (CMK) within a private Azure Virtual Network, and retain full proprietary ownership of all software intellectual property. Which architectural tier must the solutions architect select?

A
B
C
D
Test Your Knowledge

A corporate human resources department at a healthcare conglomerate wishes to provide employees with automated self-service answers to standard corporate benefits questions, holiday schedules, and 401(k) enrollment deadlines. All source documents already reside in corporate SharePoint Online document libraries. The department has zero IT budget for custom software engineering and requires full deployment across Microsoft Teams within five business days. Which tier should the architect recommend?

A
B
C
D