Implementation Patterns

A pattern is a decision you don’t have to make twice.

By the time you reach this page you have named the outcome, described the behavior, and chosen a rung on the ladder. What remains is the shape of the thing: how the pieces sit together, where the boundaries fall, and which parts you will regret if you get them wrong.

The patterns below are execution-ready shapes, not blueprints to copy verbatim. They are deliberately composable: most real solutions start with one pattern for speed and adopt another as requirements harden. That is not a failure of planning. It is the planning. The signal you are watching for is the pivot, the moment a requirement arrives that your current shape cannot hold, and each pattern names its own.

Read the trade-off before the diagram. The architecture is the easy part.

Table of contents

  1. Pattern 1: Start in Studio, Scale with Azure
  2. Pattern 2: Pro-Code First, Surface in Copilot
  3. Pattern 3: Microsoft 365 & Dataverse Knowledge Grounding
  4. Pattern 4: Multi-Channel Custom Engine Agent with M365 Agents SDK
  5. Pattern 5: Multi-Agent Workflows with Microsoft Agent Framework
  6. Pattern 6: Progressive Enhancement (Low-Code to Pro-Code Bridge)
  7. Pattern 7: Translytical Agent (Fabric + Power BI)
  8. Pattern 8: Agentic DevOps Lifecycle
    1. Pattern 8b: The Copilot SDK → Foundry Hosted Agents Seam
  9. Pattern 9: Foundry Agent → M365 Copilot Publish Path
  10. Pattern 10: Foundry IQ Grounded Agent
  11. Pattern 11: Responses API Migration (Assistants → Agents)
  12. Pattern 12: System-of-Record Agents on Dataverse
  13. Pattern Selection Guide
  14. Pattern Decision Tree

Pattern 1: Start in Studio, Scale with Azure

The Trade-off: Maker Velocity vs. Architectural Control

Most enterprise pilots stall at the prototype-to-production cliff: business teams prove value in two weeks, hit a networking, latency, or reasoning ceiling, and get told by platform engineering to throw the pilot away and rewrite it in Python. A better architecture treats the front door as a strangler fig. Keep Copilot Studio in front only while it owns useful work: intent routing, bounded conversation, human handoffs, or SaaS approvals.1 The moment a single specialist task outgrows managed SaaS, attach one Azure-backed capability behind a clean protocol contract rather than rebuilding the reception desk.

Choose the harness before promising the feature:

  • Standard harness (GA): Explicit topics, Power Fx, deterministic Agent flows (GA), generative orchestration (GA), 13+ channels, and conditional Microsoft 365 Copilot USL zero-rating on eligible internal channels.
  • Microsoft Copilot harness (GA, renamed October 28, 2026 from GitHub Copilot harness): Adaptive multi-step planning across SKILL.md skills, isolated sandbox Office/PDF file generation (GA), Work IQ (GA, writes enabled by default), Memory (GA rolling out; Preview in select regions), and Hooks (Preview, fail-open on workflow error). Upgrading from Standard via the harness upgrade utility (Preview) creates a one-way copy that consumes Copilot Credits and excludes knowledge sources, Power Fx expressions, and child agents (no in-place conversion, no reverse path).
  • Customer Conversation harness (GA announced November 18, 2026 by VP Jason Moore; Learn whats-new changelog still lists Preview): Customer-facing voice and digital chat with specialist sub-agents and contextual human escalation, paired with Microsoft Contact Center Intelligence (GA November 18, 2026) for live contact-center routing (note: Speech channels do not support end-user sign-in for user-authenticated knowledge).
%%{init: {'theme':'dark'}}%%
flowchart LR
    U(["User / Channel"]) --> CS["Copilot Studio Front Door<br/>Standard / M365 Copilot / Customer Conv. (GA)"]
    CS -->|"Business Records"| DV["Microsoft Dataverse (GA)<br/>RLS/CLS + Custom APIs"]
    CS -->|"Shared Tools: MCP"| TB["Foundry Toolbox / AI Gateway (GA)<br/>Dynamic tool_search"]
    CS -->|"Independent Agent: A2A"| EXT["Remote A2A Agent<br/>Std GA / M365 Harness <i>Preview</i>"]
    CS -->|"Native Connected Agent:<br/>Activity + BotServiceRbac"| FA["Foundry Agent Service (GA)<br/>Connected Seam <i>Preview</i>"]
    FA -.->|"Agent 365 OAuth<br/><i>Frontier</i>"| DV

    style CS fill:#004578,color:#fff
    style DV fill:#4b2070,color:#fff
    style TB fill:#0b6a0b,color:#fff
    style EXT fill:#8c5e00,color:#fff
    style FA fill:#a52617,color:#fff

Approach:

  1. Validate on the right Studio harness and publish to Teams or Microsoft 365 Copilot.2 Keep deterministic steps in Agent flows (GA) or Dataverse Custom APIs (GA) before adding extra agents.
  2. Match the protocol to the boundary: use MCP for tools (Standard outbound MCP GA; Microsoft Copilot harness MCP tool setup Preview; Foundry Toolboxes GA collapse Studio’s 30-to-40 tool routing cliff behind tool_search), A2A for independently operated agents (Standard outbound GA; Microsoft Copilot harness outbound A2A and inbound MCP/A2A publish channels Preview), and the Activity protocol (BotServiceRbac) for the native Studio-to-Foundry connected agent (Preview on Standard; 1-hop delegation limit, rephrases prompts). Activity is off by default on new Foundry agents (HTTP 400 until enabled via M365 publish or PATCH /agents/{name}?api-version=v1 while preserving "responses"). It is neither a Responses API call nor an A2A handoff.
  3. Do not confuse prompt BYOM with an orchestrator swap: AI Builder BYOM for prompts (GA on Standard prompt tools) calls /chat/completions for one bounded prompt step (and excludes GPT-5+ model families). It never replaces Studio’s primary orchestrator model.
  4. Separate state, transcripts, telemetry, and wallets: Keep authoritative business records in Dataverse if Dataverse owns them, separate from operational ConversationTranscript rows (30-day default bulk delete; Bot Transcript Viewer required), Purview compliance logs, and Application Insights traces. Do not draw managed Foundry-to-Dataverse MCP OAuth passthrough as unrestricted GA; that route is Frontier (see Pattern 12). Model Copilot Credits (including authoring, testing, and evaluation runs on the Microsoft Copilot harness) separately from downstream Azure Foundry inference and compute meters; conditional Standard USL use rights never make the Azure hop free.

Strengths & Trade-offs:

  • Strengths: Days-to-weeks validation with Power Platform DLP and Managed Environments; clean specialist escape hatch via MCP, A2A, or Activity without rewriting user channels.
  • Trade-offs: Dual-environment ALM (Power Platform + Azure) and two billing meters; same-environment requirement for Studio-to-Studio connected agents (Preview); service-account or maker-credential tools require strict Action Safety Guardrail Playbook review; M365 Agents SDK copilotstudio-client supports Standard-harness agents only.3

Signals this fits: Fusion (maker + pro-dev) squads, days-to-weeks delivery targets, and workloads where Copilot Studio genuinely owns conversation, triage, or human escalation.

When to pivot: If Copilot Studio becomes a pass-through relay, move to Pattern 9 to publish an existing Foundry agent directly, Pattern 4 to own channel adapters in code, or Pattern 5 when Microsoft Agent Framework owns a stateful multi-agent graph.

Sources:

Status: Core Studio harnesses (Standard, Microsoft Copilot, Customer Conversation), outbound Standard MCP/A2A, and Foundry Agent Service GA; Studio connected-agent seams, Microsoft Copilot harness MCP/A2A, and harness upgrade utility Preview Confidence Level: High


Pattern 2: Pro-Code First, Surface in Copilot

The Trade-off: Backend Ownership vs. Surface Overhead

Own the business logic; take on the conversation engine only when the job demands it. As Anthropic’s distinction between predefined workflows and self-directed agents highlights, looking up a supplier or submitting a governed approval only needs a bounded tool behind the employee’s existing copilot. Controlling step order, model versions, or custom memory justifies owning the engine. Reconciling exceptions across 500 rows calls for a workbench UI, not another chat thread. Check built-in Microsoft 365 Copilot first, then pick the lightest ownership route below.

Keep action plugins distinct from installable plugin packages. In Microsoft Learn’s plugin architecture, API and MCP plugins used as actions (ai-plugin.json) belong inside a Declarative Agent, and only that containing agent can invoke them. Separately, an installable plugin package can expose remote MCP servers directly to supported hosts at the package level through manifest.json -> agentConnectors. Both routes can call the same backend MCP server, yet their manifests, authentication schemas, and host support differ. (MCP and API plugins · Package MCP connectors)

%%{init: {'theme':'dark'}}%%
flowchart TD
    M365(["Microsoft 365 Surface"]) --> R1["Route A: Declarative Agent (GA)<br/>+ Nested API / MCP Action"]
    M365 --> R1P["Installable Plugin Package (GA)<br/>manifest.json -> agentConnectors"]
    M365 --> R2["Route B: Custom Engine Agent (GA)<br/>M365 Agents SDK / Teams SDK"]
    M365 --> R3["Route C: Foundry Direct Publish (GA)<br/>Autopilot Blueprint <i>Frontier</i>"]
    M365 --> R4["Route D: Copilot Managed Runtime (GA)<br/>JS/TS SPA Workbench"]
    R1 --> API["Customer-Owned REST API / MCP Server<br/>Azure Landing Zone (ACA / AKS / Functions)"]
    R1P --> API
    R2 --> ENG["Foundry Prompt / Hosted / Ephemeral Responses (GA)<br/>or Agent Framework"]
    R3 --> ENG
    R4 --> API

    style R1 fill:#0b6a0b,color:#fff
    style R1P fill:#004578,color:#fff
    style R2 fill:#4b2070,color:#fff
    style R3 fill:#a52617,color:#fff
    style R4 fill:#8c5e00,color:#fff
    style API fill:#004578,color:#fff
    style ENG fill:#4b2070,color:#fff

Four Ownership Routes:

Route Choose When What You Own & Verify
A. Declarative Agent + API/MCP Action (GA) Copilot’s orchestrator suffices and users invoke bounded backend operations. Microsoft runs the model and orchestrator; you own the OpenAPI service or remote MCP server (pin sensitive tools instead of open dynamic discovery). Authoring note: Work IQ Dev Tools (wiqd) is recommended for declarative/plugin projects, though Learn pages carry conflicting GA vs. experimental preview banners.
B. Custom Engine via M365 Agents SDK / Teams SDK (GA) You must own model choice, orchestration, custom cards, or external channels (Pattern 4). Run persisted Foundry Agents, Ephemeral Agents via direct Foundry Responses API (GA), or Agent Framework on ACA/AKS/App Service behind Azure Bot Service and an M365 app package.
C. Foundry Direct Publish (GA; Autopilot Frontier Preview) You already run a versioned Foundry Prompt or Hosted Agent and want zero Bot Service code (Pattern 9). Portal and v1 REST store publish are GA, subject to four hard limits: no citations, no streaming on translated Responses, Teams-only file uploads/image generation (blocked in M365 Copilot), and IP-filtered public Activity ingress (enable_m365_public_endpoint: true) rather than Private Link.
D. Copilot Managed Runtime (GA hosting, rolling out) Users need a task-specific reconciliation grid or workbench UI rather than chat. Hosts an Entra-governed JS/TS SPA at managedapps.cloud.microsoft (@microsoft/cmr-cli / @microsoft/cmr-apps GA; Studio/Cowork app creation announced GA rolling out at Ignite while Learn overviews retain Preview/Frontier badges; CMR Fabric storage Frontier Public Preview; CMR Code Agents Early-Access Preview). Keep backend compute separate; default policy blocks custom/3P connectors until approved.

Authenticate Each Hop Deliberately:

  • Surface sign-in vs. downstream actor: Declarative OpenAPI and MCP actions support Entra SSO and OAuth 2.0 auth code (API keys work on OpenAPI actions and host-supported agentConnectors, not declarative MCP actions, and never prove user identity; dynamic client registration excludes Entra-protected MCP servers). Entra SSO authenticates the user at the middle tier; On-Behalf-Of (OBO) exchanges that token for a downstream delegated token. Never forward incoming tokens raw or silently fall back to app-only credentials.
  • Agent identity & admin registries: Use Microsoft Entra Agent ID (GA) for autonomous or service-scoped workloads (Foundry’s AgentOnBehalfOfUser blueprint delegation remains Preview and is unsupported over Bot Service channels). In Microsoft Agent 365 (GA), Agents -> Tools -> Registry governs plugins and MCP servers (per-tool blocking rolling out on the Tooling Gateway), Agents -> All agents -> Registry tracks agent lifecycle, and Apps -> All apps governs CMR apps. None replaces backend authorization.

Strengths & Trade-offs:

  • Strengths: Landing-zone alignment (VNet, private endpoints, CI/CD, custom evals) while meeting employees inside Microsoft 365.
  • Trade-offs: Weeks-to-months pro-developer ownership on Routes B and C; separate Azure hosting/search/token meters (plus Power Apps Premium or CMR Copilot Credits policy on Route D); custom content-safety and approval engineering outside Declarative Agents.

Signals this fits: Pro-developer teams operating an Azure landing zone who need owned APIs, deterministic state, or custom model selection.

When to pivot: Step down to Pattern 3 for read-focused knowledge, Pattern 1 if makers can own the front door, or Pattern 4 when bespoke multi-channel rendering drives the roadmap.

Sources:

Status: Declarative Agents, M365 Agents SDK, Entra Agent ID, Agent 365, Foundry Direct Publish, and CMR app hosting GA; Foundry Autopilot Frontier Preview; AgentOnBehalfOfUser and CMR Code Agents Preview Confidence Level: High


Pattern 3: Microsoft 365 & Dataverse Knowledge Grounding

The Trade-off: Zero-Copy Context vs. Retrieval Control

Building a custom vector ETL pipeline just to copy SharePoint policies or CRM rows into a second database creates an immediate permission-sync liability. In-place grounding queries enterprise truth where it already lives under the caller’s delegated Entra identity. Yet enterprise context spans three distinct shapes (files, collaboration signals, and live operational records), and two dangerous myths surround it: in-place grounding is not read-only by default, and permission trimming faithfully enforces existing ACLs, including overshared ones.

Design Across Three Grounding Planes:

  1. Files & External Repositories: Ground SharePoint Agents (.agent, GA), Declarative Agents (GA), or Copilot Studio directly on SharePoint and OneDrive.6 Note that Agent Builder embeds up to 20 files and its Only use specified sources toggle prioritizes rather than hard-blocks general model weights; use Studio (Allow ungrounded responses = Off) for strict abstention.7 For external systems, choose between Synced Copilot Connectors (GA) (crawl externalItem content into Graph, read-only, Commercial + US Gov) and Federated Copilot Connectors (live MCP query-time calls under user OAuth with zero Graph copy; can expose write/delete tools; connector-specific maturity such as Salesforce Preview).8
  2. Pro-Code Retrieval, Discovery, & Work IQ:
    • Copilot Retrieval API (POST /v1.0/copilot/retrieval, GA; Commercial-only, delegated Entra auth only, 200 req/user/hr; $0.10/call unlicensed PAYG Preview): returns raw text chunks and sensitivity labels from one dataSource per call (sharePoint, oneDriveBusiness, externalItem), omits .xlsx/.pdf table extraction, and silently succeeds (200 OK) without filtering if filterExpression KQL is malformed. Validate scope independently.
    • Copilot Search API (POST /beta/copilot/search, Preview): OneDrive-only document discovery returning file hits rather than RAG chunks.
    • Work IQ (GA APIs & Studio): ask synthesizes work context across mail, meetings, chats, files, and people; Work IQ MCP retrieve returns grounding content (doc conflict: the Ignite Nov 17 IQ announcement calls Retrieve GA, while the MCP retrieve spec still carries a Public Preview banner and excludes Dataverse and Power BI sources; Foundry’s native Work IQ wrapper remains Preview).
    • Enforce read-only deliberately: In Copilot Studio, Work IQ (GA) is attached by default on new Microsoft Copilot harness agents across all workloads with writes enabled by default, and scopes only by entire workload (never a single site or mailbox). Deselect workloads or strip write tools explicitly.
  3. Live Business Records (Dataverse): Never export CRM tables into SharePoint .xlsx spreadsheets for chunked RAG. Use Business Applications in Work IQ and the Dataverse Ask API (/api/iq/v1.0/) (GA announced November 18, 2026 by Julie Koesmarno across Dynamics 365 Sales, Customer Service, Power Apps model-driven apps, Studio, and Work IQ MCP, replacing Dataverse intelligence [Preview]; Studio’s Business apps picker doc still shows a lagging Preview badge, and Dynamics 365 ERP in Work IQ plus the Cowork plugin remain Preview). Inside Copilot Studio, native Dataverse table grounding is GA for structured columns (up to 15 tables/source, requiring Dataverse Search + Authenticate with Microsoft; the 2-source cap applies only to classic orchestration on Standard), while Multiline Text (MemoType) and File (FileType) column reasoning is Preview. If the agent must mutate records, pair with Pattern 12.

Fix Access Before Recall:

  • Restricted SharePoint Search (RSS) is retiring (new enablement blocked July 31, 2026) and actively breaks Studio and Agent Builder SharePoint sources when enabled. Use Restricted Content Discovery (RCD, GA) in SharePoint Advanced Management (which restricts tenant-wide discovery rather than underlying file permissions) alongside unified Microsoft Purview DSPM and sensitivity-label VIEW + EXTRACT rights.

Strengths & Trade-offs:

  • Strengths: Zero custom vector-store infrastructure; live delegated ACL trimming across M365 and Dataverse; fastest path for employee policy, collaboration, and CRM/case Q&A.
  • Trade-offs: Delegated user OBO required on Work IQ and Retrieval API (no app-only background daemons); custom ranking, cross-cloud corpora, or strict VNet isolation require Pattern 10 (Foundry IQ).

Signals this fits: Employee-facing discovery, meeting/work-context synthesis, and read-focused CRM/case lookups inside the Microsoft 365 and Power Platform boundary.

When to pivot: Escalate to Pattern 12 when business transactions mutate Dataverse records, or Pattern 10 when custom multi-repository indexing, app-only execution, or owned retrieval ranking is required.

Sources:

Status: SharePoint/Synced connectors, Copilot Retrieval API, Work IQ core/Studio, Business Apps in Work IQ (CRM/Power Apps), Dataverse structured knowledge, and RCD GA; Copilot Search API, Work IQ MCP retrieve spec, Dynamics ERP/Cowork Work IQ, and Dataverse Memo/File knowledge Preview Confidence Level: High


Pattern 4: Multi-Channel Custom Engine Agent with M365 Agents SDK

The Trade-off: Channel Control vs. Plumbing Ownership (“One Brain, Inspected Doors”)

Make this pattern earn its keep. Now that Foundry Direct Publish to Microsoft 365 Copilot and Teams is GA (Pattern 9), wanting an Azure agent inside Teams or Copilot is no longer enough reason to maintain your own bot adapter. Build Pattern 4 when a managed route fails a concrete engineering test: custom OBO or per-tool identity mapping, rich client-specific rendering (meetings, bespoke Adaptive Cards, streaming web UIs), non-M365 external channels (Web, Slack, SMS/Twilio), or independent channel release and rollback gates. The mental model is one brain, inspected doors: a decoupled reasoning engine behind channel adapters you own and verify individually.

1. Pick the Right Channel Edge (M365 Agents SDK vs. Teams SDK):

  • Microsoft 365 Agents SDK (GA in C#/.NET, JavaScript/TypeScript, and Python): Activity routing, turn state, and OAuth/OBO plumbing across Microsoft 365 Copilot, Teams, custom web, Direct Line, Slack, and SMS, scaffolded with Microsoft 365 Agents Toolkit (GA) (Work IQ Dev Tools does not target custom engine agents).59
  • Teams SDK (GA in TypeScript, C#, and Python; composable with M365 Agents SDK): Preferred starting point when Teams collaboration primitives (meetings, group chats, @mentions, tabs, message extensions) are the product rather than generic multichannel bot routing. Teams HTML widgets and dev-only socket mode remain Preview.

2. Decouple the Inner Reasoning Engine:

Inner Engine Integration Contract & Nov 2026 Status
Microsoft Agent Framework 1.0 Run single agents or multi-agent graphs in-process or over HTTP (.NET and Python core GA; Go Public Preview).10
Foundry Agent Service Call versioned Prompt Agents (GA) or Ephemeral Agents via direct Responses API (GA) from your edge, or deploy a Hosted Agent (GA service, Python & C# only) using the Native Activity adapter (Python GA; .NET Preview) for streaming replies and card callbacks.
LangGraph Invoke compiled graphs in-process or deploy Python LangGraph on Foundry Hosted Agents.
Microsoft Copilot SDK 2.0 (GA) Formerly GitHub Copilot SDK; embed the Rust-backed multi-session runtime in six GA languages and translate session events at the channel edge (Pattern 8b).

3. Separate Publishing, Identity, and Fleet Governance:

  • Publishing: Package manifests via Agents Toolkit / Developer Portal and deploy behind your Azure landing zone (ACA, App Service, AKS).11
  • Identity: Bind Microsoft Entra Agent ID (GA) for blueprints, service principals, Conditional Access, and sponsor lifecycle, paired with SDK OAuth/OBO so downstream tools act as the signed-in user rather than an over-privileged bot secret.
  • Governance: Onboard to Microsoft Agent 365 (GA) (SDK 2.0 + CLI) and instrument traces with the Microsoft OpenTelemetry Distro (legacy *-observability* packages are deprecated). Keep Frontier Preview Agent User Accounts (dedicated mailboxes, Teams presence, and notifications) plus Preview Dynamic Agent Risk and manual read-only Connected Platforms discovery off unapproved GA critical paths.

Strengths & Trade-offs:

  • Strengths: Total control over channel UX, streaming, OBO token exchange, private networking, and multi-channel reuse from one engine.
  • Trade-offs: Weeks-to-months pro-code CI/CD and Bot Service lifecycle ownership; customer-owned content safety, approvals, and per-channel regression testing.

Signals this fits: Teams needing streaming/Adaptive Card parity, custom OBO flows blocked on Bot Service direct publish (AgentOnBehalfOfUser), Teams meeting apps, or 10+ external channels.

When to pivot: Drop to Pattern 9 (GA Foundry Direct Publish) if standard Teams/Copilot chat meets your requirements, or Pattern 1 when a managed Studio harness covers the channel UX.

Sources:

Status: M365 Agents SDK, Teams SDK, Agent Framework (.NET/Python), Copilot SDK 2.0, Entra Agent ID, and Agent 365 GA; Foundry .NET Native Activity adapter & Teams HTML widgets Preview; Agent User mailboxes/presence Frontier Preview Confidence Level: High


Pattern 5: Multi-Agent Workflows with Microsoft Agent Framework

The Trade-off: Coordination Determinism vs. Handoff Overhead (“The Soloist vs. The Orchestra”)

Hard tasks do not automatically want more agents. Start with deterministic routing code, then audition a single Soloist agent equipped with scoped MCP tools or SKILL.md skills. Hire The Orchestra only when distinct security boundaries, separate domain owners, isolated context windows, or genuinely parallel work earn back the latency, token multiplication, and failure modes of every handoff. Even inside an orchestra, code should own the route while agents own the reasoning. Neither an A2A message handoff nor a visual connector loop substitutes for a type-safe, checkpointed execution graph.

Export Foundry portal Workflows YAML before December 1, 2026. Microsoft Foundry retires its visual Foundry Workflows (Preview) designer and in-portal runner on December 1, 2026. Export portal YAML before that cutoff. Exported definitions remain executable on Foundry Hosted Agents or migrate to Microsoft Agent Framework (note that C# Power Fx declarative YAML and Python actions: YAML schemas differ; validate tools and approvals explicitly), Azure Logic Apps for connector-centric integration, or A2A for lightweight cross-agent handoffs. Also note: the legacy microsoft/agent-framework GitHub repository URL returned HTTP 404 when checked in November 2026; use the Microsoft Agent Framework Learn hub as the canonical reference.

Approach: Separate the Graph, Its Durability, and Its Host:

  1. Model the graph in Microsoft Agent Framework 1.0: Core SDKs are GA for .NET (Microsoft.Agents.AI) and Python (agent-framework), while Go is Public Preview (supporting workflow.NewBuilder graphs, RequestPort HITL, and OpenTelemetry, without declarative YAML or Durable Task).1213 Choose deterministic WorkflowBuilder edges (Sequential, Concurrent, Handoff, or Group Chat); keep Magentic (Experimental / MAAIW001) and Python functional @workflow (Experimental) gated accordingly.14 (Lifecycle note: AutoGen was archived read-only on November 20, 2026; Semantic Kernel remains in maintenance mode with migration guides to Agent Framework.)
  2. Distinguish superstep checkpoints from distributed durable replay: Use in-runtime CheckpointManager (CosmosCheckpointStorage --pre) for superstep state snapshots, or adopt the Durable Task Extension (GA November 9, 2026 for C# and Python) on Azure Functions (including Flex Consumption scale-to-zero during multi-day WaitForExternalEvent human approvals) and self-hosted workers with Durable Task Scheduler (check package tags, as some Learn snippets still show --prerelease/--pre).15 Neither replay nor host crash recovery makes external API mutations exactly-once; require idempotency keys on every write tool.
  3. Host safely on Foundry Hosted Agents (GA service; Python & C# only; MAF hosting adapters prerelease) or ACA/AKS: Hosted Agents now scale from 0.25 vCPU/0.5 GiB to 16 vCPU/32 GiB with 2m-to-4h configurable idle timeouts (GA), shared subnet IPs (1,000 to 2,000 regional session quota GA), and egress controls (GA; customer-owned AKS target Preview). Register workflows via a request-aware native workflow= factory, never a shared agent=workflow.as_agent() instance (deprecated due to cross-user state bleed).
  4. Bound neighbor protocols and UI transports:
    • Azure Logic Apps Agentic Workflows: Best when 1,400+ enterprise connectors drive the process (Consumption agent loop is Preview with no regional data-residency guarantee; Standard carries no preview banner on the core agent loop and no explicit GA statement, with Foundry/MCP connectors in Preview).
    • A2A Protocol: Foundry A2A v1.0 is GA for Prompt Agent inbound endpoints and outbound a2a tools (explicitly pass A2A-Version: 1.0, or unversioned requests fall back to Preview v0.3). Hosted Agents A2A supports single-turn SendMessage only (no task polling or streaming, with rollout caveats noted at Ignite; self-hosted MAF A2A packages remain prerelease).
    • AG-UI Protocol: SSE streaming, shared state, and human-approval UI transport (Python agent-framework-ag-ui stable; .NET and Go adapters Preview), natively served by Hosted Agents over Invocations.16

Strengths & Trade-offs:

  • Strengths: Compile-time graph validation, OpenTelemetry span-link tracing across fan-in merges, scale-to-zero durable human approvals, and clean composition across Foundry, MCP, and custom models.
  • Trade-offs: Highest engineering ownership on this page; core .NET/Python SDKs are GA while several Foundry hosting, declarative, Cosmos, and A2A adapter packages remain prerelease.

Signals this fits: Multi-step regulated or cross-domain workflows in .NET or Python requiring typed routing, durable checkpoint/replay, or custom streaming approval UIs.

When to pivot: Stay on a single Soloist agent (Patterns 1, 2, or 4) or deterministic Logic Apps workflows whenever one reasoning loop with scoped MCP tools solves the task.

Sources:

Status: Agent Framework 1.0 core (.NET/Python), Durable Task Extension, Foundry Hosted Agents service, and Prompt A2A v1.0 GA; Go SDK, Logic Apps Consumption agent loop, and .NET/Go AG-UI Preview; MAF hosting/A2A adapters prerelease; Foundry Workflows retires 2026-12-01 Confidence Level: High


Pattern 6: Progressive Enhancement (Low-Code to Pro-Code Bridge)

The Trade-off: Incremental Seam vs. Dual-Stack Tax

A working Copilot Studio agent should not trigger a ground-up Python rewrite just because one requirement outgrew the maker canvas. Yet every second runtime introduces what Martin Fowler calls the Microservice Premium: another deployment pipeline, identity hop, and on-call boundary. Apply the Strangler Fig rule instead: keep the front door, and move only the specific seam that failed. Choose one of the four independent escalations below and stop climbing the moment the measured gap closes (or adopt Pattern 1 if Azure becomes a permanent co-architecture).

Four Independent Escalation Decisions:

Escalation Seam Verified Mechanism & Nov 2026 Status Hard Gates & Billing Cliffs
1. Promote from Agent Builder Copy to Copilot Studio (one-way snapshot; status not stated in the procedure). Creates an unlinked Studio agent; edits never sync back. Reconfigure enterprise Copilot connectors, re-upload embedded files, replace Teams/email sources, and enable code interpreter manually.
2. Switch Studio Harness (Standard -> Microsoft Copilot) Harness upgrade utility (Preview one-way copy into GA Microsoft Copilot harness). Channel & knowledge cliff: Drops knowledge sources, Power Fx, child agents, native Azure AI Search knowledge (connect Foundry IQ as a tool [Preview, max 1/agent] instead), custom auth, CUA (Planned on new harness vs. GA on Standard), Dataverse for Teams, and SharePoint/WhatsApp/Dynamics Contact Center channels. No reverse transfer or cross-harness Studio connected-agent bridge.
Billing cliff: Forfeits conditional M365 Copilot USL zero-rating; bills Copilot Credits across build, preview, test, eval, and runtime.
3. Extend One Operation Dataverse Custom API (GA) + C# plug-in, MCP (Standard GA; Microsoft Copilot harness Preview), Prompt BYOM (GA on Standard prompt tools), or Foundry Connected Agent (Preview on Standard) + Skills (Preview). No primary-model BYOM swap exists: Prompt BYOM runs /chat/completions for one bounded prompt tool (excludes GPT-5+) and bills Copilot Credits plus Azure Foundry tokens. On Dataverse /api/mcp (GA), pin invoke_api or read_query rather than all 16 schema/CRUD tools. Connected Foundry delegation requires Activity (BotServiceRbac), caps at 1 hop, and can rephrase prompts; reuse portable SKILL.md files locally when live Foundry delegation is unnecessary.
4. Add a Workbench UI Power Apps Code Apps (GA) or Copilot Managed Runtime (CMR, GA hosting) across 4 creation paths: Cowork, Studio Apps, Copilot Code (Frontier, GA coming weeks), and @microsoft/cmr-cli (ms) / @microsoft/cmr-apps SDK (GA). Code Apps run over Dataverse in Power Platform (bring your own Git; native Power Platform Git unsupported). CMR locks repository mode at creation (platform-managed Git, bound GHEC repo, or --repo none); Studio/Cowork app creation was announced GA rolling out at Ignite while Learn overviews retain Preview/Frontier badges. Runtime requires Power Apps Premium or a CMR Copilot Credits policy. Keep msagent local Studio CLI (Public Preview, bills Studio Copilot Credits) and CMR Code Agents (Early-Access Preview) distinct.

Strengths & Trade-offs:

  • Strengths: Surgical blast radius; makers retain conversational UX while engineers harden exact domain rules, specialist skills, or code-first workbenches.
  • Trade-offs: Authoring surface never dictates billing wallet (msagent CLI still bills Copilot Credits; CMR requires Premium/CMR credits; Prompt BYOM double-meters); harness upgrades require non-production cutover testing.

Signals this fits: An existing Copilot Studio agent hits one bounded rule, model, skill, or UI bottleneck without justifying full engine re-ownership.

When to pivot: Move to Pattern 2 or Pattern 9 when most business logic already runs in Azure and Copilot Studio no longer adds front-door value.

Sources:

Status: Power Apps Code Apps, CMR app hosting, Dataverse Custom APIs, and Standard MCP/Prompt BYOM GA; harness upgrade utility, Foundry Skills, msagent CLI, and connected-agent seams Preview; Copilot Code Frontier Confidence Level: High


Pattern 7: Translytical Agent (Fabric + Power BI)

The Trade-off: Unified Analytical Context vs. Operational Authority

Industry analysts coined translytical and HTAP for closing the gap between seeing an analytical anomaly and acting on it, yet raw NL2SQL fails without governed metrics and write-back dashboards fail when they mutate ERP or CRM tables behind the system of record’s back. Apply Command/Query Separation (CQRS) across three distinct lanes: read through governed semantic models, write analytics-owned annotations to analytical stores, and send validated domain commands to the operational ledger.

Link to Microsoft Fabric strips Dataverse row and column security. Connecting operational Dataverse tables to OneLake via Link to Microsoft Fabric (GA) avoids custom ETL, yet it consumes Dataverse Database storage for a managed replica, projects strictly read-only OneLake shortcuts (and Preview Fabric-backed virtual tables), and authenticates through a single Dataverse System Administrator principal. Dataverse RLS, business-unit hierarchies, and Column-Level Security do not cross into OneLake. Rebuild dynamic user RLS in a Power BI Semantic Model on Direct Lake on OneLake (GA) (never Direct Lake over SQL Delegated mode), or query Dataverse directly (Pattern 12) when live operational ACLs are mandatory.

Three Architectural Lanes:

Lane Locked Mechanism & Nov 2026 Status Governance & Boundary Rules
1. Read & Explain Fabric Data Agent (GA, F2+/P1+) over OneLake, Power BI Semantic Models (GA, Direct Lake on OneLake GA), Mirrored Cosmos DB (GA), or Graph in Fabric (GA; NL2GQL in Data Agent Preview). Strictly read-only (SELECT/DAX/KQL/GQL only; never mutates rows). Keep Fabric IQ granular: parent IQ workload, Ontology (legacy retiring 2027-01-31), and Semantic views (Apache Ossie YAML; blocks Git CI/CD & workspace private links) are Public Preview, while Planning, Fabric Apps (Rayfin), and Fabric IQ in M365 Copilot Chat & Cowork (Cowork omits citations/DLP) are GA (Power BI Q&A retires 2027-02).
2. Act from the Report Power BI Translytical Task Flows (GA) invoking serverless Python 3.11 Fabric User Data Functions (UDFs, GA) (not Power Automate or Logic Apps directly).19 Write analytics-owned forecast overrides or triage notes into SQL database in Fabric (GA) (escalating full CRUD UIs to Fabric Apps GA), and call a Dataverse Custom API or domain REST endpoint for operational writes. Report slicers are UI inputs, not backend authorization; rebind UDF buttons across deployment workspaces.
3. Act on Event or Chat Fabric Operations Agent (GA; Investigator insights & Workspace OAP Preview) + Activator (GA), or external MCP orchestrators. Operations Agent evaluates 5-minute Eventhouse KQL or Ontology (Preview) rules under a dedicated Entra Agent ID, yet executes Activator actions under its creator’s delegated OBO permissions even when another Teams user clicks Approve. In Foundry, legacy FabricTool was deprecated November 6, 2026 in favor of FabricIQPreviewTool (Public Preview). Keep the two Fabric MCP endpoints separate: Published Fabric Data Agent MCP (api.fabric.microsoft.com/.../agent, 1 read-only Q&A tool + io.modelcontextprotocol/tasks, user or SPN auth, unbadged in Learn) vs. Fabric IQ MCP Server (GA Sept 2026) (6 read-only Power BI tools, delegated user OAuth only, no SPN).

Strengths & Trade-offs:

  • Strengths: Governed DAX/GQL metric accuracy without moving analytical data; instant report-to-UDF action loops on SQL database in Fabric (GA).
  • Trade-offs: Paid F2+/P1+ same-region capacity alignment required; Studio’s Fabric IQ Data MCP tool (GA) must use User auth rather than Maker auth to preserve RLS; external MCP responses can cross Fabric geo/compliance boundaries.

Signals this fits: Insight-to-action analytics, KPI exception monitoring, and conversational BI over OneLake and Power BI semantic models.

When to pivot: Use Pattern 12 for live per-record operational reads and transactional writes in Dataverse, or Pattern 5 when multi-agent code graphs call Fabric MCP endpoints as one step among many.

Sources:

Status: Fabric Data Agents, Translytical Task Flows, Fabric UDFs, SQL DB in Fabric, Operations Agent core, Graph core, Fabric Apps, and Fabric IQ MCP Server GA; parent Fabric IQ workload, Ontology, Semantic views, and Foundry FabricIQPreviewTool Public Preview Confidence Level: High


Pattern 8: Agentic DevOps Lifecycle

The Trade-off: Autonomy vs. Oversight

An agent can shorten the time to a reviewable fix; it must never shorten the approval path. Safe delivery requires verified handoffs between operations and coding agents built around artifacts your organization already governs.

The Analogy: “The Two-Key Repair Shop.” Azure SRE Agent is the diagnostician gathering telemetry evidence, and the governed incident or GitHub Issue is the work order a human authorizes. GitHub Copilot in the cloud is the mechanic working on a separate branch inside an isolated sandbox. CI, Copilot code review, and ASSERT supply inspection evidence; OpenTelemetry keeps the service record. Branch protection and human approval hold the two keys required to merge and deploy.

Model Azure Agent Units (AAUs) and GitHub AI Credits accurately. Azure SRE Agent carries no preview banner on Microsoft Learn (per Article III, state no preview banner rather than an unstated GA claim) and bills in Azure Agent Units (AAUs) at 4 AAUs per provisioned agent-hour always-on plus active flow usage. Stopping an SRE Agent halts active flows only; the 4 AAU/hr base charge continues until the agent is deleted. On the GitHub side, GitHub AI Credits ($0.01/credit; 1,900 Business / 3,900 Enterprise pooled monthly per seat after the September 1, 2026 promo reset, plus $0 GHEC Copilot-access / $10 standalone usage-metered options) replaced PRUs on June 1, 2026 (except legacy annual Pro/Pro+ until renewal), while Agentic Autofix (GA) draws from a separate Code Security / Advanced Security AI Credit budget plus Actions minutes.

Approach:

  1. Configure: Enable GitHub Copilot cloud agent (GA on paid plans) and choose the execution host: GitHub Cloud Sandboxes (GA October 28, 2026; billing active November 23) for resumable multi-repo sessions across desktop/web/CLI, Actions for single-repo custom runners, or Remote registered hosts. Pair with GitHub Copilot CLI (GA; Entra sign-in Public Preview) and VS Code Agent mode (GA; legacy extension-host Local harness deprecated, removing February 2027). Encode repo standards in AGENTS.md (“currently not supported by all Copilot features”) and custom agents (.github/agents/*.agent.md, GA for cloud agent/VS Code/Visual Studio; Public Preview for JetBrains/Eclipse/Xcode). (Lifecycle note: GitHub Models retired July 30, 2026; GitHub Spark on GitHub.com retired August 31, 2026.)
  2. Plan & Automate: Trigger work from Issues, @copilot PR comments, GitHub Agentic Workflows (gh-aw, GA October 28, 2026) compiling Markdown into read-only-by-default Actions YAML with explicit safe outputs, or Agentic Autofix (GA October 15, 2026) batching up to 25 default-branch CodeQL alerts into draft PRs.
  3. Code, Review, & Evaluate: Require CI, security scans, Copilot Code Review (GA on GitHub and GA on Azure Repos at Ignite; adaptive effort, cross-repo context, secret detection, and desktop ADO integration Public Preview), and Copilot Evals (Public Preview) before human/policy-gated merge and CI/CD deployment.
  4. Monitor & Remediate: Point Azure SRE Agent (six subagents: Explore, Plan, CodeReview, Bash, Verification, GeneralPurpose) at production Azure Monitor telemetry to investigate incidents, then write reviewed findings to a GitHub Issue so a human authorizes the next repair pass.

Governance Layer:

  • Agent Governance Toolkit (AGT): MIT-licensed SemVer open-source middleware (v4.1.0 latest formal GitHub release; unreleased v5/main stripped commercial stage strings via PR #4373 and targets alpha agent-control-spec; OWASP Agentic Top 10: 7 Full, 3 Partial; zero Microsoft SLA).
  • ASSERT (open-source research project) & OpenTelemetry: Executable behavioral evals plus structured gen_ai.* traces into Azure Monitor, Grafana, or Datadog.
Component Post-Ignite Nov 2026 Status
Copilot Cloud Agent & Cloud Sandboxes GA on paid plans (Cloud Sandboxes GA Oct 28, 2026)
Copilot CLI & gh-aw Agentic Workflows GA (CLI Entra sign-in Public Preview)
Agentic Autofix (CodeQL) GA Oct 15, 2026 (Code Security AI Credits + Actions minutes)
Copilot Code Review (GitHub & Azure Repos) GA (adaptive effort, secret detection, cross-repo, & desktop ADO Public Preview)
Copilot Evals & Custom Agents (JetBrains/Eclipse/Xcode) Public Preview (Custom agents GA in cloud/VS Code/VS)
Azure SRE Agent No preview banner on Learn; 4 AAU/hr always-on until deleted
Agent Governance Toolkit / ASSERT MIT SemVer OSS (v4.1.0 / alpha agent-control-spec) / OSS research

Signals this fits: Mature DevOps teams with strong automated test suites and branch protection looking to offload routine maintenance, vulnerability remediation, and incident triage.

When to pivot: Establish deterministic CI tests and branch protection first; an agent without a test suite only manufactures regressions faster.

Sources:

Status: Recommended as assisted remediation with mandatory human and branch-policy gates Confidence Level: High

Pattern 8b: The Copilot SDK → Foundry Hosted Agents Seam

The Trade-off: Developer Velocity vs. Enterprise Hosting Contract

Every successful developer-loop agent eventually hits the moment someone asks to hand it to Customer Support, and suddenly a local tool needs Entra identity, VNet egress rules, audit logs, and an on-call rotation. Rewrite this seam in your head as a three-way hosting decision, not an automatic promotion button.

The Analogy: The Food Truck and the Restaurant. The food truck is fast, personal, and parks wherever the work is. The restaurant has a licensed kitchen, a health inspector, and a lease. Same cooking; completely different obligations.

Choose Your Hosting Contract:

  1. Self-Host Microsoft Copilot SDK 2.0 (GA, renamed October 28, 2026 from GitHub Copilot SDK) on ACA or AKS: Shipped across six GA language bindings (Node.js/TypeScript, Python, Go, .NET/C#, Java, and Rust; migrating packages from @github/copilot-sdk / github-copilot-sdk to @microsoft/copilot-sdk / microsoft-copilot-sdk). SDK 2.0 rebuilt the core in native Rust (in-process C ABI rather than shelling out to a CLI subprocess per user), adding mode: "empty" high-density multi-session hosting (disabling untrusted shell execution), per-session github.tokenProvider and Entra bearerTokenProvider auth, explicit defineTool allowlists, pluggable durable sessionFs event journals, and multi-client Agent Host Protocol (AHP). Note: in-process Rust execution is not a VM sandbox, and BYOK against Foundry bills Azure tokens + container compute rather than GitHub AI Credits.
  2. Deploy to Foundry Hosted Agents (GA service; Python 3.13/3.14 and C# .NET 10 ONLY): Gives each session a dedicated VM-isolated sandbox (up to 16 vCPU/32 GiB, configurable 2m-to-4h idle timeout GA, shared subnet IPs GA), Entra Agent ID, and direct M365 publishing (Pattern 9).
  3. Use the Microsoft Copilot Harness in Foundry (Public Preview, announced October 28, 2026; billing starts December 1, 2026): Zero-container managed runtime option for Foundry Prompt Agents invoked over the Responses API when you want Copilot’s multi-step skill and file loop without maintaining container images (does not currently support BYOM gateway connections).

The language gate decides day one. Foundry Hosted Agents support Python (3.13/3.14) and C# (.NET 10) only as documented first-party runtimes. While Microsoft Copilot SDK 2.0 ships six GA bindings, TypeScript, Go, Java, and Rust SDK agents belong on Azure Container Apps or AKS (using mode: "empty" for multi-session density, or container/VM isolation when untrusted shell execution is active) rather than a forced Python/C# rewrite.

When to pivot: Keep local developer tools on the CLI/SDK without cloud hosting; self-host on ACA/AKS (Pattern 2) for TypeScript/Go/Java/Rust or high-density mode: "empty" workloads; validate channel limits with Pattern 9 before exposing to Microsoft 365.

Sources:

Status: Microsoft Copilot SDK 2.0 and Foundry Hosted Agents GA (Python & C# only on Hosted Agents); Microsoft Copilot harness for Foundry Prompt Agents Public Preview Confidence Level: High


Pattern 9: Foundry Agent → M365 Copilot Publish Path

The Trade-off: Distribution Speed vs. Surface Certainty (“One Brain, Inspected Doors”)

Publishing an existing agent into enterprise chat is a border crossing where channel protocols, citations, attachments, and downstream OBO tokens routinely degrade if assumed instead of tested. Standard assistive publishing from Microsoft Foundry to Microsoft 365 Copilot and Microsoft Teams is now GA via both the Foundry portal and the v1 REST API (POST .../agents/<name>/microsoft365/publish?api-version=v1 with publishAsAutopilot: false, superseding the stale portal-only note in migrate-agent-applications).2122 Yet GA store publishing does not mean universal UX parity.

Inspect all four direct-publish constraints on day one.

  1. No citations: Direct-published Foundry agents do not render citations in Microsoft 365 Copilot or Teams.
  2. No streaming on translated Responses: Default Activity-to-Responses translation (all Prompt Agents and Responses-based Hosted Agents) cannot stream replies or handle interactive card callbacks; streaming requires a Hosted Agent running the Native Activity adapter (Python GA; .NET Preview).
  3. Teams vs. Copilot asymmetry: File uploads and image generation work in Microsoft Teams, not in Microsoft 365 Copilot (and RMS-encrypted uploads fail if the service identity cannot decrypt them).
  4. Public IP-filtered Activity ingress, not Private Link: M365 and Teams cannot traverse Private Link. Private-network Foundry projects (PNA: Disabled) get 403 in the portal and must publish via v1 REST with enable_m365_public_endpoint: true, opening a service-managed, source-IP-filtered public exception solely on the activity route while keeping responses, a2a, and mcp private. If security policy forbids that exception, rule out direct publish.

Compare the Four Doors into Microsoft 365:

Door Maturity Choose When & Identity Rule
1. Direct Assistive Store Publish GA (portal & v1 REST) Existing versioned Prompt or Hosted Agent (instance_identity != null; recreate legacy null-identity agents) fits within the four limits above. Uses BotServiceRbac (Foundry Agent Consumer RBAC for Just you/Shared) or BotServiceTenant (tenant-wide after M365 admin approval; B2B guests rejected; unify TAC/MAC app availability).
2. Foundry Autopilot Blueprint Frontier Preview (Hosted Agents only) publishAsAutopilot: true provisions a dedicated Entra agentUser account and M365 resources (mailboxes/Teams/OneDrive entering Frontier Public Preview November 24, 2026 at 100 Copilot Credits/agent/month + usage) to eliminate unattended and group-chat Confused Deputy leaks.
3. Copilot Studio Front Door Preview connected-agent seam (Pattern 1) A fusion squad owns conversational triage, approvals, or human handoff in Studio (adds an extra hop, 1-level delegation cap, prompt rephrasing, and a Copilot Credit bill).
4. Code-Owned Channel Adapter GA SDKs (Pattern 4) You require citations, bespoke card state, or AgentOnBehalfOfUser (Preview) custom MCP delegation (which is blocked on Azure Bot Service direct-publish channels, whereas allowlisted Microsoft UserEntraToken and per-tool OAuth2 sign-in cards work).

Separate Entra Agent ID (GA) from Agent 365 (GA) Governance:

  • Every published Foundry agent receives a secretless Microsoft Entra Agent ID (GA) and syncs automatically into the Microsoft Agent 365 Registry (GA) (AI Reader/AI Administrator views inventory without extra seats).
  • Ingesting runtime telemetry, Purview audit, and Defender Dynamic Agent Risk (Preview) requires Agent 365 / M365 E7 licensing, agent365Config opt-in, Microsoft OpenTelemetry Distro instrumentation on Hosted Agents, and cross-geo review (Foundry region vs. M365 chat vs. Entra tenant geo). Third-party Connected Platforms discovery (Bedrock, Vertex AI, Agentforce, Genie, Claude, Oracle, Snowflake) is manual and read-only by default.

Signals this fits: Teams already operating evaluated Foundry agents (Prompt or Hosted) who want governed M365/Teams reach alongside a custom endpoint.23

When to pivot: Choose Pattern 4 if missing citations, streaming, Private Link ingress, or custom OBO blocks acceptance; pair AG-UI (Pattern 5) when users need a generative canvas rather than chat.

Sources:

Status: Foundry Agent Service, Entra Agent ID, Agent 365, and Direct Assistive Publish GA; Foundry Autopilot Frontier Preview; .NET Native Activity, AgentOnBehalfOfUser, and Dynamic Agent Risk Preview Confidence Level: High


Pattern 10: Foundry IQ Grounded Agent

The Trade-off: Agentic Recall vs. Latency and Authority (“Authority Before Relevance”)

A support agent answering “Which return policy governs this enterprise contract?” needs the current policy, strict document permissions, and a deterministic way to abstain when evidence is missing. More retrieval reasoning cannot cure stale ACLs or turn a document index into a transactional system of record. Start with single-pass hybrid search; adopt agentic retrieval only when multi-query decomposition across heterogeneous sources measurably lifts recall.

Foundry IQ Rename & Production Contract Split:

  • Official Rename: In November 2026, Microsoft renamed Azure AI Search to Foundry IQ (Foundry IQ [Azure AI Search]), while keeping the Microsoft.Search resource provider, *.search.windows.net endpoints, SDK namespaces, and RBAC roles unchanged (knowledge base replaced knowledge agent; Serverless tier conflict: Learn’s November 2026 whats-new marks Serverless GA, while the November 17 Ignite blog targets December 2026).24
  • Path 10A (End-to-End GA Production Contract via 2026-10-01 REST): Application or agent code calls the 2026-10-01 GA REST data plane (retrieve) directly (replacing the narrower 2026-04-01 extractive baseline). Supports model-backed query planning across minimal, low, and medium (GA) reasoning effort, extractiveData (raw chunks + references) or answerSynthesis (model-written answer + references), SSE, and GA document-level ACL trimming across Search indexes, Blob/ADLS Gen2, indexed SharePoint (GA), basic indexed OneLake files, indexed Azure SQL/MI, direct file uploads, and Bing-backed web (GA, noting web still uses Grounding with Bing and egresses outside Azure geo/compliance boundaries, distinct from GA Web IQ powering Foundry’s Web Search tool).
  • Path 10B (Public Preview Managed Bridge & Frontier Retrieval): Connecting Foundry Agent Service via project RemoteTool (2025-10-01-preview) to the KB MCP endpoint (knowledge_base_retrieve on 2026-11-01-preview), Azure and Foundry portal KB authoring, Microsoft Retriever 1 / auto reasoning effort (2026-11-01-preview), entity/topic knowledge graphs, Remote SharePoint (via Copilot Retrieval API), Remote MCP / Work IQ / Fabric Data Agent / Fabric Ontology KB sources, OneLake query-time permissions, and Purview sensitivity-label enforcement all remain Public Preview (Dataverse is not a native Foundry IQ KB source).25
  • Separate Auth & Multimodal Ingestion: Authenticate Search service calls with a least-privilege workload identity and pass the caller’s delegated Entra token in x-ms-query-source-authorization for document trimming. Use Azure Content Understanding in Foundry Tools (GA on 2025-11-01; Agentic mode Public Preview) plus the GA Search enrichment skill, layout-aware semantic chunking, and figure descriptions (GA on 2026-10-01) at ingestion rather than query time.

Choose Grounding by Authority Before Relevance:

Enterprise Question Authoritative Grounding Plane Why It Owns the Answer
“Which approved return policy clause applies?” Foundry IQ (2026-10-01 REST GA; KB MCP Preview) Curated, multi-repository document evidence with owned chunking, citations, and ACL sync.
“What did the account team agree in yesterday’s call?” Work IQ / M365 Copilot (GA delegated OBO) Live collaboration signals across meetings, mail, chats, and files (Pattern 3; Foundry IQ Work IQ bridge is Preview).
“What was Q3 net return rate under Finance’s DAX logic?” Fabric Data Agent / Fabric IQ MCP (GA; Ontology Preview) Governed semantic measures and OneLake analytical aggregates (Pattern 7).
“What is the live payout status of return case #734?” Microsoft Dataverse (GA table grounding, Ask API, & /api/mcp) Operational row/column permissions and live transactional state (Pattern 12).

Signals this fits: Custom or multi-agent applications needing governed, citation-backed retrieval across mixed Azure and enterprise document repositories.

When to pivot: Choose Pattern 3 when content lives inside Microsoft 365 for Copilot users, Pattern 7 for governed BI metrics, or Pattern 12 for live operational records.

Sources:

Status: Foundry IQ 2026-10-01 REST data plane (minimal/low/medium, synthesis, document ACLs) and Content Understanding (2025-11-01) GA; portal KB authoring, Foundry Agent Service RemoteTool/MCP bridge, 2026-11-01-preview (auto / Microsoft Retriever 1), Remote SharePoint/MCP/IQ sources, and Purview label enforcement Public Preview Confidence Level: High


Pattern 11: Responses API Migration (Assistants → Agents)

The Trade-off: A Wire-Protocol Cutover Disguised as an SDK Upgrade

Migrating off the Assistants API or Classic Foundry Agents v1 is not a package bump. You are cutting over from server-polled state machines (Threads + Runs) to item streams and caller-owned tool loops (Conversations + Responses), with zero server-side state migration.

Track the four verified Foundry cutover dates (2026-11-24).

  • August 26, 2026 (PASSED): Official sunset date for the Assistants API (client.beta.assistants / Azure OpenAI Assistants) and azure-ai-inference SDK (Migrate from Foundry classic; classic doc banners still display static future-tense text, so treat any surviving workload as an emergency cutover).
  • October 14, 2026 (PASSED): Azure OpenAI On Your Data retired (move retrieval to Pattern 10).
  • December 1, 2026 (IMMINENT): Foundry Workflows visual portal designer retires (Pattern 5).
  • March 31, 2027 (ACTIVE DEADLINE): Classic Foundry Agents v1 (create_agent(), classic Threads/Runs) retires (Classic Agent Service What’s New).

Five Engineering Cutover Gates:

  1. Audit target region and dropped Classic tools first: Verify your Foundry resource sits in a Responses API-supported region (navigate-from-classic), and pick either persisted Foundry Agents v2 (GA) or app-owned Ephemeral Responses API (GA) calls. Per the agent tool availability matrix, three Classic Foundry tools do not carry over and require redesign:
    • Azure Functions (Dropped): Rebuild as a Function tool, OpenAPI tool, Logic Apps action, or custom MCP server on Azure Functions (/runtime/webhooks/mcp).
    • Connected Agents (Dropped): Replace with Agent to Agent (A2A v1.0 GA; v0.3 Preview) or Microsoft Agent Framework (Pattern 5).
    • Deep Research tool (Dropped): Switch to the Deep Research model paired with the Web Search (GA) tool. (Also note: MCP and Web Search are GA; Image Generation is Public Preview; Browser Automation and Computer Use are GA in current tool guides while private-network browser access remains Preview; legacy FabricTool was deprecated Nov 6 for FabricIQPreviewTool Preview.)
  2. Archive historical state before endpoint shutoff: Historical threads, runs, and messages are never migrated into conversations. Export required audit transcripts from still-accessible endpoints into customer-owned storage (such as BYO Cosmos DB or Blob archive) before cutover.
  3. Refactor against the official mapping guide (ignore the dead 404 shortlink): Do not rely on aka.ms/agent/migrate/tool, which returns HTTP 404 despite lingering in Learn’s tip banner and only ever translated boilerplate syntax. Encode the official migration guide mappings (Threads -> Conversations, Runs -> Responses, Assistants -> Prompt/Hosted Agents) into AGENTS.md and a .github/agents/*.agent.md profile so GitHub Copilot cloud agent (GA) can draft reviewed refactoring PRs, then validate explicit tool-call and mcp_approval_request loops.26
  4. Adopt v2 SDKs and the two-client split: Separate agent administration on AIProjectClient (project.agents.create_version()) from runtime conversations and responses on the OpenAI client (project.get_openai_client() in Python azure-ai-projects>=2.3.0 and JS @azure/ai-projects>=2.8.0 on Node.js 22+; ProjectResponsesClient in C#). Calling conversations.create() on AIProjectClient throws AttributeError. Only Python’s standalone 1.x azure-ai-agents package is retired; Java actively uses com.azure:azure-ai-agents:2.2.0.
  5. Recreate legacy identities and test streaming modes: Legacy null-identity agents (instance_identity == null) and deprecated Agent Applications cannot upgrade identity in place; create a new v2 agent definition to provision Entra Agent ID (GA), reassign renamed RBAC (Foundry User, Foundry Project Manager, Foundry Agent Consumer), test background=True separately from stream=True (documented combined-mode degradation), and apply Pattern 9’s GA direct-publish checks if targeting M365.2722

When to pivot: Net-new projects skip this pattern and build directly on Foundry Agents v2 or the Responses API (GA) from day one.

Sources:

Status: Foundry Agents v2 and Responses API GA; Assistants API sunset passed 2026-08-26; Classic Foundry Agents v1 retires 2027-03-31 Confidence Level: High


Pattern 12: System-of-Record Agents on Dataverse

The Trade-off: Turnkey Domain Governance vs. Storage and Throttle Economics

Start with the business question that separates an operational agent from a document bot: who may see this record, and what must be true before it changes? When an agent checks an entitlement, triages a warranty claim, or updates a renewal, neither chunked document RAG nor raw LLM-selected SQL UPDATE calls is safe. A sequence of model-chosen CRUD calls is not a database transaction. If Dynamics 365 or Power Platform already owns the process, Microsoft Dataverse acts as a governed transactional clearinghouse: row/business-unit/hierarchy RLS, Column-Level Security profiles, synchronous server-side invariants, and SDK-layer auditing execute inside the data plane across human and agent callers alike.

%%{init: {'theme':'dark'}}%%
flowchart LR
    EMP(["Employee / M365 Copilot"]) -->|Delegated OBO| WIQ["Business Apps in Work IQ & Ask API (GA)<br/>D365 ERP & Cowork <i>Preview</i>"]
    MKR(["Copilot Studio Agent"]) -->|"Table Grounding GA /<br/>Memo & File <i>Preview</i>"| DV["Microsoft Dataverse Core (GA)<br/>RLS / CLS + C# Custom APIs"]
    TRG(["Dataverse Row Trigger<br/>Std GA (Maker Auth) /<br/>M365 Harness <i>Preview</i>"]) --> MKR
    MKR -->|Human Exceptions| FEED["Model-Driven App +<br/>Power Apps MCP <i>Preview</i>"]
    MAF(["VS Code / Self-Hosted MAF"]) -->|"Pinned Tools: /api/mcp"| MCP["Dataverse MCP Server (GA)<br/>/api/mcp_preview <i>Preview</i>"]
    FND(["Managed Foundry Agent Service"]) -.->|"Agent 365 OAuth<br/>McpServers.Dataverse.All <i>Frontier</i>"| MCP
    FND -->|"GA Non-Frontier Path:<br/>/api/data/ OBO Wrapper"| DV
    MCP --> DV
    DV -->|"Link to Fabric (GA, Read-Only)<br/>Strips RLS: Rebuild in Direct Lake"| FAB["OneLake / Pattern 7 (GA)"]

    style WIQ fill:#0b6a0b,color:#fff
    style DV fill:#4b2070,color:#fff
    style TRG fill:#8c5e00,color:#fff
    style FEED fill:#8c5e00,color:#fff
    style MCP fill:#004578,color:#fff
    style FND fill:#a52617,color:#fff
    style FAB fill:#8c5e00,color:#fff

Five Architectural Planes:

  1. Read Live Under Caller Identity:
    • Employee & cross-agent context: Use Business Applications in Work IQ and the Dataverse Ask API (/api/iq/v1.0/) (GA November 18, 2026 across Dynamics 365 Sales, Customer Service, Power Apps model-driven apps, Studio, and Work IQ MCP, replacing Dataverse intelligence [Preview]; Studio’s Business apps toggle guide lags at Preview, and Dynamics 365 ERP in Work IQ plus the Cowork plugin remain Preview).
    • Curated Studio knowledge & exact Web API reads: Native Dataverse table grounding is GA for structured columns (up to 15 tables/source with Dataverse Search + Authenticate with Microsoft), while MemoType (Multiline Text) and FileType (File) columns are Preview. Use Dataverse Web API (/api/data/ OBO) for exact deterministic lookups. Explicitly add derived Prompt Columns (GA, max 5/table, unaudited) to Column-Level Security profiles, as source field security never auto-propagates (Filter-based ABAC is Preview; Dataverse for Teams blocked net-new environments 2026-11-15 and excludes the Microsoft Copilot harness).
  2. Commit State Through Named Domain Verbs: Route consequential mutations through versioned Dataverse Custom APIs (GA) backed by synchronous C# server-side plug-ins (enforcing multi-table rollback, concurrency tokens, idempotency, and three-record audit separation across Purview AI compliance, 30-day ConversationTranscript operational logs, and Dataverse SDK record audit). (Automated low-code plug-ins and Dataverse Functions are Preview, replacing deprioritized instant low-code plug-ins.) A skill tells the agent what to propose; server-side code decides whether the ledger permits it.
  3. Gate the Dataverse MCP Server (/api/mcp GA vs. Foundry Frontier):
    • https://<org>.crm.dynamics.com/api/mcp (GA, 16 tools) is production-ready for Copilot Studio, VS Code / Copilot CLI, Claude Desktop/Code, and self-hosted Microsoft Agent Framework containers using a customer-owned Entra OAuth client (/api/mcp_preview and Agent 365 catalog listing are Preview).
    • Avoid the composition fallacy in Foundry: Connecting managed Foundry Agent Service directly to Dataverse MCP via Agent 365 OAuth identity passthrough (McpServers.Dataverse.All) is gated to Frontier tenants. Non-Frontier Foundry workloads requiring an end-to-end GA path today must invoke a bounded Custom API / OpenAPI wrapper over /api/data/ OBO or run self-hosted Agent Framework MCP clients.
    • Pin tools, audit renames, & watch Triple-Meter Burn: Never grant all 16 /api/mcp tools (create_table, update_table, delete_table, and delete_skill mutate schema). Pin read_query/describe for reads and invoke_api for writes, update allowlists for breaking tool renames (describe_table/list_tables/fetch replaced by describe; data search renamed to search_data), and model Triple-Meter Burn: search_data bills variable Copilot Credits and the other 15 tools bill the basic generative AI rate per 10 responses, plus Power Platform API requests plus Azure model tokens (direct /api/data/ $batch avoids Copilot Credits).
  4. Separate Event Triggers from Human Exception Queues: Standard-harness Dataverse triggers (GA) require generative orchestration, filter Update events on scalar columns only, and execute strictly under maker credentials (guard against privilege leaks). Microsoft Copilot harness event triggers (Public Preview) add session isolation and Share with others user-credential execution (Dedicated Agent Accounts are Frontier Preview today with mandatory shared memory across users and encrypted-label exclusions, entering Public Preview December 2026). Route human exceptions into Model-Driven Power Apps via the Power Apps MCP Server (Preview, English-only) (invoke_data_entry human-approved draft staging, request_assistance async Needs Attention pause, log_for_review Completed audit), or use a standard Dataverse queue when GA-only is required.
  5. Offload Analytical Scans (Pattern 7): Project heavy reporting via Link to Microsoft Fabric (GA, read-only), remembering that System Administrator sync strips Dataverse RLS/FLS.

Honest Trade-Offs: Dataverse vs. Azure SQL vs. Azure Cosmos DB

Azure SQL and Cosmos DB are first-class operational stores when your application code already owns the domain layer; never migrate a working high-QPS ledger into Dataverse just to match a diagram.

Decision Lever Microsoft Dataverse Azure SQL DB / SQL Server 2025 Azure Cosmos DB for NoSQL
Storage Economics High ($40/GB/mo add-on; PAYG $48/GB DB, $12/GB Log, $2.40/GB File; Search & Fabric Link consume DB pool; offset by D365/Power Apps seat pools). Low (~$0.115-$0.25/GB/mo + vCore/DTU compute; VECTOR_SEARCH() GA on Azure SQL/Fabric SQL, Preview on SQL 2025). Low ($0.25/GB/mo + RU/s; flat, quantizedFlat, diskANN vector indexes GA).
Throughput & Meters 6,000 req / 1,200s / 52+ concurrent per 5-min window per user (HTTP 429); Triple-Meter Burn on /api/mcp vs. /api/data/. Tens of thousands of QPS; single Azure wallet (also supported as a Studio knowledge source). Millions of ops/sec; single Azure wallet; native Foundry BYO thread store & Fabric mirroring.
Domain Governance Turnkey clearinghouse: Row/BU/hierarchy RLS, CLS, C# plug-ins, model-driven UI, /api/mcp, Work IQ. App-owned domain layer: SQL RLS, Dynamic Data Masking, Always Encrypted; your code builds business workflows/MCP. App-owned domain layer: RBAC & global active-active scale; your code enforces schema, field ACLs, and invariants.

Signals this fits: Dynamics 365 or Power Platform business processes needing row/column security, atomic C# domain validation, and human-agent exception queues.

When to pivot: Keep >1,000 QPS state, telemetry, embeddings, and custom app-owned ledgers on Azure Cosmos DB or Azure SQL (Pattern 2), and route multi-repo unstructured documents to Pattern 10.

Sources:

Status: Dataverse core, Custom APIs, /api/mcp (16 tools), Business Apps in Work IQ (CRM/Power Apps), Ask API, structured Studio knowledge, and Standard triggers GA; /api/mcp_preview, Microsoft Copilot harness triggers, Power Apps MCP/Agent Feed, Dynamics ERP/Cowork Work IQ, Memo/File knowledge, ABAC, and low-code plug-ins/Functions Preview; Managed Foundry -> Dataverse MCP OAuth passthrough and Studio Agent Accounts Frontier Confidence Level: High


Pattern Selection Guide

Shortcut for experienced architects: scan by parallel bucket, ownership boundary, and post-Ignite November 2026 maturity.

Pattern Bucket & Center of Gravity Time to Market Complexity Control Boundary Primary Surface Maturity & Key Non-GA Gates
Pattern 1 (Studio → Azure) AI for You / Product · Studio front door Fast (days to weeks) Low → High Studio UX + Azure specialist M365 Copilot, Teams, Contact Center Core harnesses & CCI GA; connected-agent seam & harness upgrade Preview
Pattern 2 (Pro-Code First) Product / AI for You · Owned backend Moderate (weeks to months) High Backend owned; engine/UI by route Declarative actions, SDK, Direct Publish, CMR SPA Core routes & CMR hosting GA; Autopilot Frontier; CMR Code Agents Preview
Pattern 3 (M365 & Dataverse Grounding) AI for You · In-place Graph, Work IQ, & CRM Fast (days) Low Delegated source ACLs M365 Copilot, SharePoint, Studio Retrieval API, Work IQ, Business Apps, & RCD GA; Search API, retrieve spec, ERP, & Memo/File Preview
Pattern 4 (Multi-Channel SDK) Product · Owned channel edge Moderate (weeks to months) High Full channel + engine decoupling M365, Teams meetings, Web, 10+ channels M365 Agents SDK, Teams SDK, Entra Agent ID, & Agent 365 GA; .NET Native Activity Preview; mailboxes Frontier
Pattern 5 (Agent Framework) Product · Programmable multi-agent graph Moderate (weeks to months) Very High Full code/YAML graph + durability API, Hosted Agents, AG-UI .NET/Python core & Durable Ext. GA; Go & Logic Apps Consumption Preview; Foundry Workflows retires 2026-12-01
Pattern 6 (Progressive) AI for You / Product · Surgical Studio seam Moderate (weeks) Medium Move only the failing seam Studio, Code Apps, CMR Code Apps, CMR, & Custom APIs GA; harness copy, Foundry Skills, & msagent CLI Preview; Copilot Code Frontier
Pattern 7 (Translytical) AI for You / Product · OneLake & Power BI Fast (days to weeks) Medium Analytical CQRS + UDF write-back Power BI, Fabric, M365 Copilot Data Agent, Task Flows, UDFs, Ops Agent, & IQ MCP GA; IQ workload, Ontology, Semantic views, & FabricIQPreviewTool Preview
Pattern 8 (Agentic DevOps) Codebase · Governed PR & SRE loop Moderate (weeks) Medium Human + branch-policy two-key gate GitHub, VS Code, Azure Repos, Azure Monitor Cloud Sandboxes, CLI, gh-aw, Autofix, & Azure Repos review GA; Copilot Evals Preview; SRE Agent unbadged (4 AAU/hr)
Pattern 8b (Copilot SDK → Foundry) Codebase → Product · SDK hosting contract Moderate (weeks) High ACA/AKS (mode: "empty") vs. Hosted VM Custom endpoints, Foundry Hosted Copilot SDK 2.0 GA (6 langs); Hosted Agents GA (Python/C# only); Foundry Copilot harness Preview
Pattern 9 (Foundry → M365) Product → AI for You · Foundry store publish Moderate (weeks) Medium Shared Foundry engine, inspected doors M365 Copilot, Teams, Agent 365 Direct store publish GA (4 UX/VNet limits); Foundry Autopilot Frontier Preview
Pattern 10 (Foundry IQ) Product · Multi-repo corpus retrieval Moderate (weeks) High Owned chunking, ranking, & ACL sync Custom & Foundry agents 2026-10-01 REST & Content Understanding GA; portal, RemoteTool MCP, Retriever 1/auto, & Purview labels Preview
Pattern 11 (API Migration) Brownfield Cutover · Legacy OpenAI/Foundry Immediate (days to weeks) Medium Explicit item streams & tool loops Surviving Assistants & Classic Agents Responses API & Agents v2 GA; Assistants passed 2026-08-26; Classic Agents retires 2027-03-31
Pattern 12 (Dataverse LoB) Product / AI for You · Operational ledger Fast → Moderate (weeks) Medium → High Row/column RBAC + C# Custom APIs Model-Driven Apps, Studio, MCP Dataverse, /api/mcp, Ask API, & Std triggers GA; Copilot triggers & Power Apps MCP Preview; Foundry OAuth Frontier

Pattern Decision Tree

Select a base pattern by authority and ownership, then layer data or channel overlays only where needed. Never let a data source dictate your UI host, and never assume GA travels automatically across an arrow.

%%{init: {'theme':'dark'}}%%
flowchart TD
    Start(["Start: Architecture Intake"]) --> G0{"Active brownfield<br/>retirement deadline?"}
    G0 -->|"Assistants API past 2026-08-26<br/>or Classic Agents 2027-03-31"| P11["Pattern 11: Responses API Cutover (GA)"]
    G0 -->|"Foundry Workflows<br/>retiring 2026-12-01"| P5["Pattern 5: Agent Framework 1.0 (GA)<br/>Go & Logic Apps Loop <i>Preview</i>"]
    G0 -->|"AOAI On Your Data<br/>retired 2026-10-14"| P10["Pattern 10: Foundry IQ (2026-10-01 REST GA)<br/>Portal, KB MCP, & Retriever 1 <i>Preview</i>"]
    G0 -->|"Net-new or active baseline"| G1{"Which parallel<br/>AI Bucket?"}

    G1 -->|"AI for Your Codebase"| DevQ{"Repo remediation or<br/>promoting SDK agent?"}
    DevQ -->|"Repo PRs, Autofix, SRE"| P8["Pattern 8: Agentic DevOps (GA)<br/>Evals <i>Preview</i>"]
    DevQ -->|"Promote Copilot SDK 2.0"| P8b["Pattern 8b: Copilot SDK Seam (GA)<br/>Hosted Python/C# or ACA/AKS,<br/>Foundry Harness <i>Preview</i>"]

    G1 -->|"AI for You /<br/>AI as a Product"| G2{"Where does authoritative<br/>truth & state live?"}
    G2 -->|"M365 files, Work IQ,<br/>read-focused CRM"| P3["Pattern 3: M365 & Dataverse Grounding (GA)<br/>Search API & ERP <i>Preview</i>"]
    G2 -->|"OneLake, Power BI,<br/>semantic analytics"| P7["Pattern 7: Translytical Fabric + BI (GA)<br/>IQ Workload & Ontology <i>Preview</i>"]
    G2 -->|"Multi-repo corpus<br/>with synced ACLs"| P10
    G2 -->|"Dataverse operational<br/>records & invariants"| P12["Pattern 12: Dataverse System of Record (GA)<br/>Agent Feed <i>Preview</i> / Foundry OAuth <i>Frontier</i>"]
    G2 -->|"Custom APIs, Azure SQL,<br/>or Cosmos DB"| G3{"Who owns runtime,<br/>UI, & distribution?"}

    P3 -.->|"Needs runtime/channel overlay"| G3
    P10 -.->|"Needs runtime/channel overlay"| G3
    P12 -.->|"Needs runtime/channel overlay"| G3

    G3 -->|"Fusion squad, Studio<br/>owns useful front door"| StudioQ{"New build or<br/>extending live bot?"}
    StudioQ -->|"New Studio + Azure seam"| P1["Pattern 1: Studio, Scale with Azure (GA)<br/>Connected Agent Seam <i>Preview</i>"]
    StudioQ -->|"Surgical seam, Code App,<br/>or CMR workbench"| P6["Pattern 6: Progressive Enhancement (GA)<br/>Harness Copy & Skills <i>Preview</i>"]

    G3 -->|"Pro-code backend,<br/>declarative action, or CMR"| P2["Pattern 2: Pro-Code First in Copilot (GA)<br/>Autopilot <i>Frontier</i>"]
    G3 -->|"Existing Foundry agent<br/>entering M365 / Teams"| PubQ{"Do 4 direct-publish<br/>limits pass?"}
    PubQ -->|"Yes: store publish"| P9["Pattern 9: Foundry Direct Publish (GA)<br/>Autopilot Blueprint <i>Frontier</i>"]
    PubQ -->|"No: need citations,<br/>streaming, or custom OBO"| P4["Pattern 4: M365 Agents / Teams SDK (GA)<br/>Mailboxes <i>Frontier</i>"]
    G3 -->|"10+ channels or<br/>Teams meeting UX"| P4

    P1 -.->|"Single agent hits<br/>graph/checkpoint wall"| G4{"Need typed multi-agent<br/>graph & durable replay?"}
    P2 -.-> G4
    P4 -.-> G4
    G4 -->|"Yes: earned boundaries"| P5

    style P11 fill:#a52617,color:#fff
    style P8 fill:#4b2070,color:#fff
    style P8b fill:#8c5e00,color:#fff
    style P3 fill:#0b6a0b,color:#fff
    style P7 fill:#8c5e00,color:#fff
    style P10 fill:#004578,color:#fff
    style P12 fill:#4b2070,color:#fff
    style P1 fill:#004578,color:#fff
    style P6 fill:#004578,color:#fff
    style P2 fill:#0b6a0b,color:#fff
    style P9 fill:#a52617,color:#fff
    style P4 fill:#4b2070,color:#fff
    style P5 fill:#a52617,color:#fff
  1. Gate 0 (Triage Brownfield Deadlines First): Cut over surviving Assistants API (2026-08-26 passed) or Classic Foundry Agents v1 (2027-03-31) workloads with Pattern 11, retired Azure OpenAI On Your Data (2026-10-14 passed) with Pattern 10, and retiring Foundry portal Workflows (2026-12-01) with Pattern 5, Logic Apps, or A2A.
  2. Gate 1 (Intake & Parallel Bucket): Pass Viability, Desirability, and Feasibility in Decision Framework Phase 1, and stop if built-in M365 Copilot or deterministic code solves the job. In AI for Your Codebase, route governed repo/incident loops to Pattern 8, and route Microsoft Copilot SDK 2.0 enterprise hosting to Pattern 8b (Python/C# on Hosted Agents; TypeScript/Go/Java/Rust on ACA/AKS via Pattern 2).
  3. Gate 2 (Where Truth & Write Authority Live): Route M365 collaboration and read-focused CRM context to Pattern 3, governed OneLake/Power BI analytics and UDF write-back to Pattern 7, multi-repository ACL-trimmed document search to Pattern 10 (2026-10-01 REST GA; managed KB MCP Preview), operational business records and C# domain commands to Pattern 12, and app-owned Azure SQL/Cosmos DB stacks to Pattern 2.
  4. Gate 3 (Runtime, UI, & Channel Ownership): Use Pattern 1 when a fusion squad owns a Copilot Studio front door, or Pattern 6 to add one surgical Custom API, skill, or Power Apps Code App / CMR workbench to an existing Studio agent. For pro-code teams, use Pattern 2 (nested Declarative Agent actions, CMR SPAs, or custom backends), Pattern 9 (GA Foundry Direct Publish when its four citation/streaming/file/VNet constraints pass), or Pattern 4 (M365 Agents SDK / Teams SDK when you must own channel rendering, external channels, or custom OBO).
  5. Gate 4 (Earn Multi-Agent Graphs): Keep a single Soloist agent with scoped MCP tools by default; escalate to Pattern 5 (Microsoft Agent Framework 1.0 + Durable Task Extension GA) only when separate security perimeters, domain ownership, or checkpointed fan-out/fan-in boundaries earn the handoff cost. Validate final scoring in Scenarios, Evaluation Criteria, and Quick Reference.

Related Resources


Next: Technologies - Deep dive into technical specifications


  1. Microsoft Copilot Studio overview, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-copilot-studio/fundamentals-what-is-copilot-studio ↩

  2. Publish Copilot Studio agents to Microsoft Teams and Microsoft 365, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-copilot-studio/publication-add-bot-to-microsoft-teams ↩ ↩2

  3. Integrate with Copilot Studio using the Microsoft 365 Agents SDK, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/integrate-with-mcs ↩

  4. MCP and API plugins for declarative agents, Microsoft Learn. https://learn.microsoft.com/en-us/plugins/overview-plugins ↩

  5. Create and deploy a custom engine agent with Microsoft 365 Agents SDK, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/create-deploy-agents-sdk ↩ ↩2 ↩3

  6. Add SharePoint as a knowledge source in Copilot Studio, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-add-sharepoint ↩

  7. Add knowledge sources to Declarative Agents, Microsoft Learn. https://learn.microsoft.com/en-us/plugins/agent-builder-add-knowledge ↩ ↩2

  8. Microsoft 365 Copilot connectors overview (Synced and Federated), Microsoft Learn. https://learn.microsoft.com/en-us/plugins/overview-copilot-connector ↩ ↩2

  9. Microsoft 365 Agents Toolkit overview, Microsoft Learn. https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/overview-agents-toolkit ↩

  10. Microsoft Agent Framework overview, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/overview/ ↩

  11. Custom engine agents for Microsoft 365 overview, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/overview-custom-engine-agent ↩

  12. Microsoft Agent Framework overview, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/overview/ ↩ ↩2

  13. Microsoft Agent Framework Workflows overview, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/workflows/ ↩ ↩2

  14. Agent Framework orchestration patterns, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/workflows/orchestrations/ ↩ ↩2

  15. Checkpointing and resuming workflows, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/workflows/checkpoints ↩

  16. AG-UI integration with Agent Framework, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/ ↩

  17. Host Agent Framework agents on Foundry Hosted Agents, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/hosting/foundry-hosted-agent ↩

  18. Bring your own model for prompts in AI Builder and Copilot Studio, Microsoft Learn. https://learn.microsoft.com/en-us/ai-builder/byom-for-your-prompts ↩

  19. Translytical task flows in Power BI (GA), Microsoft Learn. https://learn.microsoft.com/en-us/power-bi/create-reports/translytical-task-flow-overview ↩ ↩2

  20. What is Fabric IQ (Preview workload), Microsoft Learn. https://learn.microsoft.com/en-us/fabric/iq/overview ↩

  21. Publish agents to Microsoft Copilot and Microsoft Teams (GA), Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/publish-copilot ↩ ↩2

  22. Migrate legacy Agent Applications, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/migrate-agent-applications ↩ ↩2

  23. Evaluate your AI agents in Microsoft Foundry, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/evaluate-agent ↩ ↩2

  24. Foundry IQ overview, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/what-is-foundry-iq ↩ ↩2

  25. Connect Foundry IQ to Foundry Agent Service (Preview MCP bridge), Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/foundry-iq-connect ↩ ↩2

  26. Migrate to the current Foundry agents experience, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/migrate ↩ ↩2

  27. Use the Responses API, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/responses ↩ ↩2


Back to top

Copyright © 2025. This documentation is based on official Microsoft sources and best practices.

This site uses Just the Docs, a documentation theme for Jekyll.