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
- Pattern 1: Start in Studio, Scale with Azure
- Pattern 2: Pro-Code First, Surface in Copilot
- Pattern 3: Microsoft 365 & Dataverse Knowledge Grounding
- Pattern 4: Multi-Channel Custom Engine Agent with M365 Agents SDK
- Pattern 5: Multi-Agent Workflows with Microsoft Agent Framework
- Pattern 6: Progressive Enhancement (Low-Code to Pro-Code Bridge)
- Pattern 7: Translytical Agent (Fabric + Power BI)
- Pattern 8: Agentic DevOps Lifecycle
- Pattern 9: Foundry Agent → M365 Copilot Publish Path
- Pattern 10: Foundry IQ Grounded Agent
- Pattern 11: Responses API Migration (Assistants → Agents)
- Pattern 12: System-of-Record Agents on Dataverse
- Pattern Selection Guide
- 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 acrossSKILL.mdskills, isolated sandbox Office/PDF file generation (GA), Work IQ (GA, writes enabled by default), Memory (GArolling out;Previewin 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 (
GAannounced November 18, 2026 by VP Jason Moore; Learnwhats-newchangelog still listsPreview): Customer-facing voice and digital chat with specialist sub-agents and contextual human escalation, paired with Microsoft Contact Center Intelligence (GANovember 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:
- 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. - Match the protocol to the boundary: use MCP for tools (Standard outbound MCP
GA; Microsoft Copilot harness MCP tool setupPreview; Foundry ToolboxesGAcollapse Studio’s 30-to-40 tool routing cliff behindtool_search), A2A for independently operated agents (Standard outboundGA; Microsoft Copilot harness outbound A2A and inbound MCP/A2A publish channelsPreview), and the Activity protocol (BotServiceRbac) for the native Studio-to-Foundry connected agent (Previewon Standard; 1-hop delegation limit, rephrases prompts). Activity is off by default on new Foundry agents (HTTP 400until enabled via M365 publish orPATCH /agents/{name}?api-version=v1while preserving"responses"). It is neither a Responses API call nor an A2A handoff. - Do not confuse prompt BYOM with an orchestrator swap: AI Builder BYOM for prompts (
GAon Standard prompt tools) calls/chat/completionsfor one bounded prompt step (and excludes GPT-5+ model families). It never replaces Studio’s primary orchestrator model. - Separate state, transcripts, telemetry, and wallets: Keep authoritative business records in Dataverse if Dataverse owns them, separate from operational
ConversationTranscriptrows (30-day default bulk delete;Bot Transcript Viewerrequired), Purview compliance logs, and Application Insights traces. Do not draw managed Foundry-to-Dataverse MCP OAuth passthrough as unrestricted GA; that route isFrontier(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 SDKcopilotstudio-clientsupports 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:
- Harnesses in Copilot Studio · Upgrade from Standard to Microsoft Copilot harness (
Preview) - Publish Copilot Studio agents to Teams and M3652 · Connect a Foundry agent · BYOM for prompts
- Build and manage business processes (Customer Conversation GA, Nov 18, 2026) · Contact Center Intelligence GA (Nov 18, 2026)
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 throughmanifest.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’sAgentOnBehalfOfUserblueprint delegation remainsPreviewand is unsupported over Bot Service channels). In Microsoft Agent 365 (GA),Agents -> Tools -> Registrygoverns plugins and MCP servers (per-tool blocking rolling out on the Tooling Gateway),Agents -> All agents -> Registrytracks agent lifecycle, andApps -> All appsgoverns 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:
- Choose the right agent path · Declarative agents overview · MCP and API plugins4
- Plugin authentication · Create and deploy with M365 Agents SDK5
- Publish Foundry agents via REST / VNet · Copilot Managed Runtime overview · Entra Agent ID
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:
- 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) (crawlexternalItemcontent 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 SalesforcePreview).8 - 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/callunlicensed PAYGPreview): returns raw text chunks and sensitivity labels from onedataSourceper call (sharePoint,oneDriveBusiness,externalItem), omits.xlsx/.pdftable extraction, and silently succeeds (200 OK) without filtering iffilterExpressionKQL 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 (
GAAPIs & Studio):asksynthesizes work context across mail, meetings, chats, files, and people; Work IQ MCPretrievereturns grounding content (doc conflict: the Ignite Nov 17 IQ announcement calls RetrieveGA, while the MCPretrievespec still carries aPublic Previewbanner and excludes Dataverse and Power BI sources; Foundry’s native Work IQ wrapper remainsPreview). - 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.
- Copilot Retrieval API (
- Live Business Records (Dataverse): Never export CRM tables into SharePoint
.xlsxspreadsheets for chunked RAG. Use Business Applications in Work IQ and the Dataverse Ask API (/api/iq/v1.0/) (GAannounced 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’sBusiness appspicker doc still shows a laggingPreviewbadge, and Dynamics 365 ERP in Work IQ plus the Cowork plugin remainPreview). Inside Copilot Studio, native Dataverse table grounding isGAfor 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 isPreview. 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-labelVIEW+EXTRACTrights.
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:
- Declarative agent knowledge (
plugins)7 · Synced & Federated Copilot connectors8 - Copilot Retrieval API (
GA) · Copilot Search API (Preview) · Work IQ in Studio (GA) - Business Applications in Work IQ GA (Nov 18, 2026) · Dataverse Ask API · Studio Dataverse tables · Restricted Content Discovery
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 (
GAin 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 Toolsdoes not target custom engine agents).59 - Teams SDK (
GAin 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 remainPreview.
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). KeepFrontier PreviewAgent User Accounts (dedicated mailboxes, Teams presence, and notifications) plusPreviewDynamic 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:
- Microsoft 365 Agents SDK overview · Create & deploy custom engine agents5 · Teams SDK
- Foundry Native Activity adapter · Agent 365 SDK v2.0 · Entra Agent ID
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 Pythonactions: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 legacymicrosoft/agent-frameworkGitHub 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:
- Model the graph in Microsoft Agent Framework 1.0: Core SDKs are
GAfor .NET (Microsoft.Agents.AI) and Python (agent-framework), while Go isPublic Preview(supportingworkflow.NewBuildergraphs,RequestPortHITL, and OpenTelemetry, without declarative YAML or Durable Task).1213 Choose deterministicWorkflowBuilderedges (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.) - Distinguish superstep checkpoints from distributed durable replay: Use in-runtime
CheckpointManager(CosmosCheckpointStorage--pre) for superstep state snapshots, or adopt the Durable Task Extension (GANovember 9, 2026 for C# and Python) on Azure Functions (including Flex Consumption scale-to-zero during multi-dayWaitForExternalEventhuman 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. - Host safely on Foundry Hosted Agents (
GAservice;Python&C#only; MAF hosting adaptersprerelease) 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 quotaGA), and egress controls (GA; customer-owned AKS targetPreview). Register workflows via a request-aware nativeworkflow=factory, never a sharedagent=workflow.as_agent()instance (deprecated due to cross-user state bleed). - Bound neighbor protocols and UI transports:
- Azure Logic Apps Agentic Workflows: Best when 1,400+ enterprise connectors drive the process (Consumption agent loop is
Previewwith no regional data-residency guarantee; Standard carries no preview banner on the core agent loop and no explicit GA statement, with Foundry/MCP connectors inPreview). - A2A Protocol: Foundry A2A v1.0 is
GAfor Prompt Agent inbound endpoints and outbounda2atools (explicitly passA2A-Version: 1.0, or unversioned requests fall back toPreviewv0.3). Hosted Agents A2A supports single-turnSendMessageonly (no task polling or streaming, with rollout caveats noted at Ignite; self-hosted MAF A2A packages remainprerelease). - AG-UI Protocol: SSE streaming, shared state, and human-approval UI transport (Python
agent-framework-ag-uistable; .NET and Go adaptersPreview), natively served by Hosted Agents overInvocations.16
- Azure Logic Apps Agentic Workflows: Best when 1,400+ enterprise connectors drive the process (Consumption agent loop is
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 remainprerelease.
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:
- Microsoft Agent Framework overview12 · Workflows13 · Orchestrations14
- Durable Task Extension (
GANov 9, 2026) · Host Agent Framework on Foundry Hosted Agents17 - Foundry Workflows retirement (
2026-12-01) · Foundry A2A endpoints · Logic Apps agentic workflows
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 (
msagentCLI 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:
- Copy Agent Builder agents to Studio · Upgrade Standard to Microsoft Copilot harness (
Preview) · Studio credit billing - BYOM for prompts18 · Foundry Skills (
Preview) · Power Apps Code Apps (GA) · Copilot Managed Runtime (GA)
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 (andPreviewFabric-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 MCPtool (GA) must useUserauth rather thanMakerauth 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:
- Fabric data agent (
GA) · Data agent MCP server · Fabric IQ MCP server (GA) - Translytical task flows (
GA)19 · Operations agent (GA) · Fabric IQ overview (Previewworkload)20 - Foundry Fabric IQ tool (
Preview, replacing deprecatedFabricTool) · Dataverse Link to Fabric (GA)
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:
- Configure: Enable GitHub Copilot cloud agent (
GAon paid plans) and choose the execution host: GitHub Cloud Sandboxes (GAOctober 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-inPublic Preview) and VS Code Agent mode (GA; legacy extension-host Local harness deprecated, removing February 2027). Encode repo standards inAGENTS.md(“currently not supported by all Copilot features”) and custom agents (.github/agents/*.agent.md,GAfor cloud agent/VS Code/Visual Studio;Public Previewfor JetBrains/Eclipse/Xcode). (Lifecycle note: GitHub Models retired July 30, 2026; GitHub Spark on GitHub.com retired August 31, 2026.) - Plan & Automate: Trigger work from Issues,
@copilotPR comments, GitHub Agentic Workflows (gh-aw,GAOctober 28, 2026) compiling Markdown into read-only-by-default Actions YAML with explicit safe outputs, or Agentic Autofix (GAOctober 15, 2026) batching up to 25 default-branch CodeQL alerts into draft PRs. - Code, Review, & Evaluate: Require CI, security scans, Copilot Code Review (
GAon GitHub andGAon Azure Repos at Ignite; adaptive effort, cross-repo context, secret detection, and desktop ADO integrationPublic Preview), and Copilot Evals (Public Preview) before human/policy-gated merge and CI/CD deployment. - 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.0latest formal GitHub release; unreleasedv5/mainstripped commercial stage strings via PR#4373and targets alphaagent-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:
- GitHub Cloud Sandboxes (
GA) · GitHub Agentic Workflowsgh-aw(GA) · Agentic Autofix (GA) - Copilot Code Review Ignite updates (
Azure Repos GA) · Copilot Evals (Public Preview) - Azure SRE Agent overview · Azure SRE Agent pricing & AAUs · Agent Governance Toolkit
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:
- Self-Host Microsoft Copilot SDK 2.0 (
GA, renamed October 28, 2026 from GitHub Copilot SDK) on ACA or AKS: Shipped across sixGAlanguage bindings (Node.js/TypeScript, Python, Go, .NET/C#, Java, and Rust; migrating packages from@github/copilot-sdk/github-copilot-sdkto@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), addingmode: "empty"high-density multi-session hosting (disabling untrusted shell execution), per-sessiongithub.tokenProviderand EntrabearerTokenProviderauth, explicitdefineToolallowlists, pluggable durablesessionFsevent 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. - Deploy to Foundry Hosted Agents (
GAservice;Python 3.13/3.14andC# .NET 10ONLY): Gives each session a dedicated VM-isolated sandbox (up to 16 vCPU/32 GiB, configurable 2m-to-4h idle timeoutGA, shared subnet IPsGA), Entra Agent ID, and direct M365 publishing (Pattern 9). - 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 sixGAbindings, TypeScript, Go, Java, and Rust SDK agents belong on Azure Container Apps or AKS (usingmode: "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:
- Microsoft Copilot SDK (
microsoft/copilot-sdk) · Microsoft Copilot SDK 2.0 Ignite architecture · SDK rename changelog - Foundry Hosted Agents language & runtime spec (
GA) · Microsoft Copilot harness in Foundry (Public Preview)
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.
- No citations: Direct-published Foundry agents do not render citations in Microsoft 365 Copilot or Teams.
- 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; .NETPreview).- 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).
- Public IP-filtered Activity ingress, not Private Link: M365 and Teams cannot traverse Private Link. Private-network Foundry projects (
PNA: Disabled) get403in the portal and must publish viav1REST withenable_m365_public_endpoint: true, opening a service-managed, source-IP-filtered public exception solely on theactivityroute while keepingresponses,a2a, andmcpprivate. 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 Administratorviews inventory without extra seats). - Ingesting runtime telemetry, Purview audit, and Defender Dynamic Agent Risk (
Preview) requires Agent 365 / M365 E7 licensing,agent365Configopt-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:
- Publish Foundry agents to M365 Copilot and Teams (
GA)21 · REST & VNet publishing (enable_m365_public_endpoint) - Foundry Autopilot & Agent 365 (
Frontier Preview) · Agent 365 integration · Connected Platforms - Foundry user delegation · Evaluate Foundry agents23
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 theMicrosoft.Searchresource provider,*.search.windows.netendpoints, SDK namespaces, and RBAC roles unchanged (knowledge base replaced knowledge agent; Serverless tier conflict: Learn’s November 2026whats-newmarks ServerlessGA, while the November 17 Ignite blog targets December 2026).24 - Path 10A (End-to-End
GAProduction Contract via2026-10-01REST): Application or agent code calls the2026-10-01GAREST data plane (retrieve) directly (replacing the narrower2026-04-01extractive baseline). Supports model-backed query planning acrossminimal,low, andmedium(GA) reasoning effort,extractiveData(raw chunks + references) oranswerSynthesis(model-written answer + references), SSE, andGAdocument-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-backedweb(GA, notingwebstill uses Grounding with Bing and egresses outside Azure geo/compliance boundaries, distinct fromGAWeb IQ powering Foundry’sWeb Searchtool). - Path 10B (
Public PreviewManaged Bridge & Frontier Retrieval): Connecting Foundry Agent Service via projectRemoteTool(2025-10-01-preview) to the KB MCP endpoint (knowledge_base_retrieveon2026-11-01-preview), Azure and Foundry portal KB authoring, Microsoft Retriever 1 /autoreasoning 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 remainPublic 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-authorizationfor document trimming. Use Azure Content Understanding in Foundry Tools (GAon2025-11-01; Agentic modePublic Preview) plus theGASearch enrichment skill, layout-aware semantic chunking, and figure descriptions (GAon2026-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:
- What’s new in Foundry IQ (Azure AI Search,
2026-10-01GA) · Agentic retrieval overview · Document-level access control - Foundry IQ overview24 · Connect Foundry IQ to Foundry Agent Service (
PreviewMCP bridge)25
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) andazure-ai-inferenceSDK (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:
- 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 aFunctiontool,OpenAPItool, Logic Apps action, or custom MCP server on Azure Functions (/runtime/webhooks/mcp). - Connected Agents (
Dropped): Replace with Agent to Agent (A2Av1.0GA; v0.3Preview) 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:MCPandWeb SearchareGA;Image GenerationisPublic Preview;Browser AutomationandComputer UseareGAin current tool guides while private-network browser access remainsPreview; legacyFabricToolwas deprecated Nov 6 forFabricIQPreviewToolPreview.)
- Azure Functions (
- Archive historical state before endpoint shutoff: Historical
threads,runs, andmessagesare never migrated intoconversations. Export required audit transcripts from still-accessible endpoints into customer-owned storage (such as BYO Cosmos DB or Blob archive) before cutover. - Refactor against the official mapping guide (ignore the dead
404shortlink): Do not rely onaka.ms/agent/migrate/tool, which returns HTTP404despite 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) intoAGENTS.mdand a.github/agents/*.agent.mdprofile so GitHub Copilot cloud agent (GA) can draft reviewed refactoring PRs, then validate explicit tool-call andmcp_approval_requestloops.26 - Adopt v2 SDKs and the two-client split: Separate agent administration on
AIProjectClient(project.agents.create_version()) from runtimeconversationsandresponseson the OpenAI client (project.get_openai_client()in Pythonazure-ai-projects>=2.3.0and JS@azure/ai-projects>=2.8.0on Node.js 22+;ProjectResponsesClientin C#). Callingconversations.create()onAIProjectClientthrowsAttributeError. Only Python’s standalone 1.xazure-ai-agentspackage is retired; Java actively usescom.azure:azure-ai-agents:2.2.0. - 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), testbackground=Trueseparately fromstream=True(documented combined-mode degradation), and apply Pattern 9’sGAdirect-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:
- Migrate to the current Foundry agents experience26 · Agent tool availability matrix
- Navigate from Foundry classic (
2026-08-26Assistants sunset) · Classic Agent Service (2027-03-31retirement) · Responses API27
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:
- Read Live Under Caller Identity:
- Employee & cross-agent context: Use Business Applications in Work IQ and the Dataverse Ask API (
/api/iq/v1.0/) (GANovember 18, 2026 across Dynamics 365 Sales, Customer Service, Power Apps model-driven apps, Studio, and Work IQ MCP, replacing Dataverse intelligence [Preview]; Studio’sBusiness appstoggle guide lags atPreview, and Dynamics 365 ERP in Work IQ plus the Cowork plugin remainPreview). - Curated Studio knowledge & exact Web API reads: Native Dataverse table grounding is
GAfor structured columns (up to 15 tables/source with Dataverse Search +Authenticate with Microsoft), whileMemoType(Multiline Text) andFileType(File) columns arePreview. 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 isPreview; Dataverse for Teams blocked net-new environments2026-11-15and excludes the Microsoft Copilot harness).
- Employee & cross-agent context: Use Business Applications in Work IQ and the Dataverse Ask API (
- 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-dayConversationTranscriptoperational logs, and Dataverse SDK record audit). (Automated low-code plug-ins and Dataverse Functions arePreview, replacing deprioritized instant low-code plug-ins.) A skill tells the agent what to propose; server-side code decides whether the ledger permits it. - Gate the Dataverse MCP Server (
/api/mcpGAvs. FoundryFrontier):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_previewand Agent 365 catalog listing arePreview).- 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 toFrontiertenants. Non-Frontier Foundry workloads requiring an end-to-endGApath 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/mcptools (create_table,update_table,delete_table, anddelete_skillmutate schema). Pinread_query/describefor reads andinvoke_apifor writes, update allowlists for breaking tool renames (describe_table/list_tables/fetchreplaced bydescribe; datasearchrenamed tosearch_data), and model Triple-Meter Burn:search_databills 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/$batchavoids Copilot Credits).
- 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 andShare with othersuser-credential execution (Dedicated Agent Accounts areFrontier Previewtoday with mandatory shared memory across users and encrypted-label exclusions, enteringPublic PreviewDecember 2026). Route human exceptions into Model-Driven Power Apps via the Power Apps MCP Server (Preview, English-only) (invoke_data_entryhuman-approved draft staging,request_assistanceasync Needs Attention pause,log_for_reviewCompleted audit), or use a standard Dataverse queue whenGA-only is required. - 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:
- Connect to Dataverse with MCP (
GA/api/mcp) · Dataverse MCP FAQ · Foundry MCP auth (FrontierDataverse gate) - Business Applications in Work IQ (
GANov 18, 2026) · Dataverse Ask API · Dataverse Custom APIs - Standard event triggers (
GA) · Microsoft Copilot harness triggers (Preview) · Service protection API limits
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
- Gate 0 (Triage Brownfield Deadlines First): Cut over surviving Assistants API (
2026-08-26passed) or Classic Foundry Agents v1 (2027-03-31) workloads with Pattern 11, retired Azure OpenAI On Your Data (2026-10-14passed) with Pattern 10, and retiring Foundry portal Workflows (2026-12-01) with Pattern 5, Logic Apps, or A2A. - 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).
- 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-01RESTGA; managed KB MCPPreview), operational business records and C# domain commands to Pattern 12, and app-owned Azure SQL/Cosmos DB stacks to Pattern 2. - 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 (
GAFoundry Direct Publish when its four citation/streaming/file/VNet constraints pass), or Pattern 4 (M365 Agents SDK/Teams SDKwhen you must own channel rendering, external channels, or custom OBO). - 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
- For technology comparison tables, see Quick Reference
- For real-world applications of these patterns, see Scenarios
- For evaluation criteria, see Evaluation Criteria
- For guardrail guidance, see Action Safety Guardrail Playbook
Next: Technologies - Deep dive into technical specifications
-
Microsoft Copilot Studio overview, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-copilot-studio/fundamentals-what-is-copilot-studio ↩
-
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
-
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 ↩
-
MCP and API plugins for declarative agents, Microsoft Learn. https://learn.microsoft.com/en-us/plugins/overview-plugins ↩
-
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
-
Add knowledge sources to Declarative Agents, Microsoft Learn. https://learn.microsoft.com/en-us/plugins/agent-builder-add-knowledge ↩ ↩2
-
Microsoft 365 Copilot connectors overview (Synced and Federated), Microsoft Learn. https://learn.microsoft.com/en-us/plugins/overview-copilot-connector ↩ ↩2
-
Microsoft 365 Agents Toolkit overview, Microsoft Learn. https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/overview-agents-toolkit ↩
-
Microsoft Agent Framework overview, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/overview/ ↩
-
Custom engine agents for Microsoft 365 overview, Microsoft Learn. https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/overview-custom-engine-agent ↩
-
Microsoft Agent Framework overview, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/overview/ ↩ ↩2
-
Microsoft Agent Framework Workflows overview, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/workflows/ ↩ ↩2
-
Agent Framework orchestration patterns, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/workflows/orchestrations/ ↩ ↩2
-
Checkpointing and resuming workflows, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/workflows/checkpoints ↩
-
AG-UI integration with Agent Framework, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/ ↩
-
Host Agent Framework agents on Foundry Hosted Agents, Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/hosting/foundry-hosted-agent ↩
-
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 ↩
-
Translytical task flows in Power BI (
GA), Microsoft Learn. https://learn.microsoft.com/en-us/power-bi/create-reports/translytical-task-flow-overview ↩ ↩2 -
What is Fabric IQ (
Previewworkload), Microsoft Learn. https://learn.microsoft.com/en-us/fabric/iq/overview ↩ -
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 -
Evaluate your AI agents in Microsoft Foundry, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/evaluate-agent ↩ ↩2
-
Foundry IQ overview, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/what-is-foundry-iq ↩ ↩2
-
Connect Foundry IQ to Foundry Agent Service (
PreviewMCP bridge), Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/foundry-iq-connect ↩ ↩2 -
Migrate to the current Foundry agents experience, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/migrate ↩ ↩2
-
Use the Responses API, Microsoft Learn. https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/responses ↩ ↩2