Domain 2 β€” Module 6 of 9 67%
13 of 29 overall
Domain 2: Design AI-Powered Business Solutions Free ⏱ ~15 min read

Extensibility: Custom Models, M365 Agents & Copilot Studio

Design AI extensibility using custom Foundry models, M365 Copilot declarative agents with instructions, knowledge, and actions, and Copilot Studio plugins and connectors.

Three paths to extend AI capabilities

Simple explanation

Think of prebuilt AI as a company car β€” it gets you where most people need to go.

Custom Foundry models are like building a custom vehicle for a specific job. Need an armoured truck for transporting cash? A refrigerated van for food delivery? You design and build it yourself because no off-the-shelf vehicle fits.

M365 Copilot agents are like adding a specialised GPS to the company car β€” it still uses the same engine (Microsoft 365 Copilot), but now it has custom instructions, maps (knowledge), and shortcuts (actions) for your specific business.

Copilot Studio extensibility is like adding aftermarket parts to the company car β€” custom connectors, extra tools, and plugins that make it do things the manufacturer didn’t plan for.

Comparing the three extensibility paths

Three extensibility paths in the Microsoft AI ecosystem
FeatureWhat You're ExtendingHow It WorksWhen to Choose It
Custom Foundry modelsThe AI model itself β€” custom training, fine-tuning, or deploying specialised modelsDeploy from the model catalogue, fine-tune with domain data, or build custom pipelines with prompt flowsWhen prebuilt models can't handle the domain-specific task β€” specialised classification, domain reasoning, or unique output formats
M365 Copilot agentsMicrosoft 365 Copilot's behaviour β€” adding custom instructions, knowledge, and actionsCreate declarative agents with a manifest that defines instructions, knowledge sources (SharePoint, web), and actions (API plugins)When users work in M365 and need Copilot to understand domain-specific knowledge or perform custom business actions
Copilot Studio extensibilityA Copilot Studio agent's capabilities β€” adding new tools, data sources, and integrationsAdd custom connectors, Power Automate actions, plugins, or external API endpoints to agent topicsWhen the Copilot Studio agent needs to interact with external systems, call APIs, or perform actions beyond its built-in connectors

Custom Foundry models

Use custom Foundry models when prebuilt AI capabilities don’t meet the requirement. Common scenarios:

ScenarioWhy CustomFoundry Approach
Credit risk scoring with proprietary algorithmsGeneric models lack domain-specific risk factorsFine-tune a model on historical credit decisions
Medical image analysisRequires specialised visual understandingDeploy a custom vision model trained on clinical images
Regulatory document classificationIndustry-specific taxonomy not covered by general NLUTrain a custom classifier with labelled regulatory documents
Multi-language customer intent for a niche industryStandard NLU models underperform on domain jargon in multiple languagesFine-tune a multilingual model with domain-specific training data

Architecture pattern: Deploy the custom model in Foundry β†’ expose via a managed endpoint β†’ consume from Copilot Studio, Power Apps, or D365 via a custom connector or API.

M365 Copilot declarative agents

Declarative agents extend Microsoft 365 Copilot without building a model. You declare:

  • Instructions β€” what the agent does, its persona, rules, and guardrails
  • Knowledge β€” where the agent looks for information (SharePoint sites, web URLs, files)
  • Actions β€” what the agent can do beyond answering questions (call APIs, trigger workflows)

Design decisions for declarative agents:

DecisionOptionsGuidance
ScopePersonal agent, shared agent, or org-wideStart narrow (team), expand after validation
Knowledge sourcesSharePoint, Graph connectors, web, filesKeep focused β€” too many sources dilute accuracy
Action complexitySimple (read data) or complex (write data, trigger processes)Start read-only. Add write actions after trust is established
GuardrailsInstructions that limit what the agent discussesAlways include β€œdo not answer questions outside of…” instructions

Copilot Studio extensibility

Extend Copilot Studio agents to interact with the world beyond Microsoft’s built-in connectors:

  • Custom connectors β€” connect to any REST API (internal tools, SaaS platforms, databases)
  • Power Automate actions β€” trigger complex workflows that span multiple systems
  • Plugins β€” reusable capability packages that add skills to an agent
  • External API integration β€” direct HTTP calls to external services from within topics
Scenario: Dev builds a custom credit risk model for Vanguard

Dev Patel (AI Platform Engineer at Vanguard Financial Group) designs a credit risk assessment solution. The prebuilt AI models can’t handle Vanguard’s proprietary risk scoring methodology.

Step 1 β€” Custom model: Dev fine-tunes a GPT model in Foundry with 10 years of anonymised credit decisions. The model learns Vanguard’s specific risk factors (industry exposure, counterparty relationships, regulatory capital requirements).

Step 2 β€” Evaluation: Runs the model against 500 known cases. Measures accuracy against human risk analyst decisions β€” achieves 91% agreement.

Step 3 β€” Deployment: Deploys the model as a managed endpoint in Foundry with content safety filters.

Step 4 β€” Copilot Studio integration: Natalie’s team builds a Copilot Studio agent for loan officers. When a loan officer asks β€œWhat’s the risk assessment for Application 4521?”, the agent:

  1. Retrieves the application from D365 Finance (custom connector)
  2. Calls the Foundry credit risk model (custom connector to the endpoint)
  3. Returns the risk score with reasoning

Step 5 β€” M365 Copilot agent: Adrienne wants the same capability in Teams. Dev creates a declarative agent that gives the investment team access to risk assessments directly in their M365 workflow β€” without leaving Teams.

Marcus Webb (CISO) reviews the architecture: all data stays within Vanguard’s tenant, the model endpoint is secured with managed identity, and every assessment is logged for audit.

Exam tip: don't over-extend

The exam tests judgment on WHEN to use extensibility:

  • β€œStandard Copilot already does this well” β†’ Don’t extend. Use prebuilt capabilities.
  • β€œThe AI needs domain-specific knowledge that lives in SharePoint” β†’ M365 declarative agent with knowledge source β€” no custom model needed.
  • β€œThe AI needs to call a third-party API” β†’ Copilot Studio custom connector or action β€” no custom model needed.
  • β€œThe AI’s reasoning accuracy is insufficient for the domain” β†’ Custom Foundry model with fine-tuning.

The simplest extensibility path that meets the requirement is usually the right answer.

Flashcards

Question

What are the three components of an M365 Copilot declarative agent?

Click or press Enter to reveal answer

Answer

Instructions (what the agent does, its persona and rules), Knowledge (where it looks for information β€” SharePoint, web, files), and Actions (what it can do β€” call APIs, trigger workflows). You declare these in a manifest β€” no model training required.

Click to flip back

Question

When should you choose a custom Foundry model over other extensibility options?

Click or press Enter to reveal answer

Answer

When prebuilt AI models cannot handle the domain-specific task β€” proprietary risk scoring, specialised image analysis, industry-specific classification, or custom reasoning that RAG alone doesn't achieve. Custom models require ML expertise, training data, and ongoing maintenance.

Click to flip back

Question

What forms of extensibility does Copilot Studio support?

Click or press Enter to reveal answer

Answer

Custom connectors (REST APIs), Power Automate actions (complex multi-system workflows), plugins (reusable capability packages), and external API integration (direct HTTP calls). These extend what the agent can DO β€” interact with systems beyond Microsoft's built-in connectors.

Click to flip back

Question

What is the key design principle for AI extensibility in the AB-100 exam?

Click or press Enter to reveal answer

Answer

Use the simplest extensibility path that meets the requirement. Don't build a custom model when a declarative agent with knowledge sources will do. Don't build a custom connector when a prebuilt connector exists. Extensibility adds complexity β€” justify every extension with a clear gap in prebuilt capabilities.

Click to flip back

Knowledge check

Knowledge Check

Adrienne wants to give Vanguard's compliance team an AI assistant that answers questions about the company's internal policies. The policies are stored in SharePoint. The assistant should work inside Teams. What is the most appropriate extensibility approach?

Knowledge Check

Dev needs to extend a Copilot Studio agent to check a customer's credit score from a third-party credit bureau API in real-time during a conversation. The API returns a JSON response with the score and risk factors. What extensibility approach should Dev use?

Next up: MCP, Computer Use & Agent Behaviours β€” extending agents with Model Context Protocol, automating tasks with Computer Use, and designing reasoning and voice behaviours.