Microsoft now ships a fast-growing roster of AI agents inside Dynamics 365 — across Sales, Customer Service, Finance, and Business Central. But what happens when none of them fits the process you actually need automated? That is the real question behind most searches for custom AI agents in Dynamics 365: not "does Microsoft have an agent," but "how do I get one built for my workflow, and who builds it?"
This guide answers that end to end. We at Craftware are a Microsoft Partner whose team has 20+ years of combined experience building on the Microsoft stack, delivering through a Human + AI model — senior developers accelerated by AI. Below: what agents are (and how they differ from Copilot), which ones Microsoft already ships, the three ways to get a custom one, plus real cost, governance, and how a mid-market business should start. No hype — just the decision framework we use with clients.
Agents vs. Copilot: What "Autonomous" Actually Means
The words "Copilot" and "agent" get used interchangeably, but they describe two different things, and the distinction matters when you're deciding what to build.
- Copilot assists a person in the flow of work — drafting an email, summarizing a case, answering a question from your data. A human is always driving. Copilot changes how the work gets done.
- An agent acts. It's a system that uses an AI model to reason about a goal, decide which steps and tools to use, and carry them out — often without a person clicking through each one. An agent changes what work gets done, because it takes the task off a person's plate entirely.
Think of it as a spectrum. A retrieval agent answers questions grounded in your knowledge. A task agent completes a bounded job on request. At the far end, autonomous agents in Dynamics 365 monitor for a trigger, start themselves, work a process to completion, and pause only when they need a human decision — like the prebuilt Sales Qualification Agent researching leads overnight, or the Business Central Payables Agent turning vendor emails into draft purchase invoices.
The business takeaway: Copilot makes your people faster; agents remove work altogether. Most custom-agent projects are about the second outcome.
What Microsoft Ships Out of the Box
Before you commission anything custom, know what you already get. Microsoft has released prebuilt AI agents across most Dynamics 365 apps, and the list grows with every release wave. Here is a representative sample of what is available as of 2026:
| Dynamics 365 area | Example prebuilt agents | What they do |
|---|---|---|
| Sales | Sales Qualification, Sales Opportunity, Sales Close, Sales Research, Recommended Actions | Research and qualify leads, flag opportunity risk, prioritize the next best seller actions |
| Customer Service & Contact Center | Case Management, Customer Knowledge Management, Customer Intent, Quality Evaluation | Automate the case lifecycle, draft knowledge articles, discover intents, score interactions |
| Finance (F&O) | Account Reconciliation | Match and reconcile accounts to speed the close |
| Supply Chain | Supplier Communications, Sales Order | Handle supplier back-and-forth and order intake |
| Business Central | Sales Order, Payables | Convert quotes and emails into sales orders; draft purchase invoices from vendor documents |
| Field Service & Project Operations | Scheduling and work-management agents | Optimize scheduling and project task handling |
If one of these covers your process, start there. It's the fastest, cheapest path, and turning a prebuilt agent on is largely an administrative task — you don't build what Microsoft already ships.
But many businesses have a process Microsoft doesn't cover: a quote-to-cash flow shaped by your own pricing rules, an industry-specific approval chain, or a service-to-billing handoff that crosses two systems. That's exactly where custom AI agents in Dynamics 365 earn their keep.
Three Ways to Build Custom AI Agents in Dynamics 365
Here's the decision most articles skip. "Custom agent" isn't one thing — there are three distinct build paths, and they differ enormously in what they can do, who maintains them, and what they cost.
| Dimension | Configure a prebuilt agent | Low-code custom (Copilot Studio / BC agent design) | Pro-code custom (Azure + AL) |
|---|---|---|---|
| Best for | A Microsoft-shipped agent that nearly fits | A new process inside the Microsoft ecosystem, reachable by standard connectors | A unique or cross-system process low-code can't handle |
| Build surface | Admin settings + instructions | Copilot Studio; Business Central AI Development Toolkit | Microsoft Foundry Agent Service, Microsoft Agent Framework, the Agent SDK for AL, custom connectors and MCP |
| Customization ceiling | Low — guardrails and configuration | Moderate — topics, tools, connectors, grounding | Effectively none — your logic, your models, your integrations |
| Data & integration depth | Its built-in scope | Dataverse plus standard and Graph connectors | Any system, any API — CRM and ERP together |
| Who builds & maintains | Your admin | Admin or maker, often with partner help | Developers (a partner like Craftware) plus your IT |
| Typical time to value | Days to weeks | Weeks | A few months, phased |
| Relative cost | Lowest | Low to moderate | Higher upfront, no low-code ceiling later |
| When to choose | An out-of-box agent matches | The process is standard and Microsoft-native | The process is strategic, complex, or spans systems |
Path 1 — Configure a prebuilt agent. You enable a Microsoft agent, set its instructions and guardrails, and point it at your data. This is configuration, not development — the right first move whenever an out-of-box agent is close to what you need.
Path 2 — Low-code custom. Copilot Studio is Microsoft's low-code home for building agents: you describe the agent in natural language, ground it on your Dynamics 365 data in Dataverse, add tools and connectors, then test and publish. Copilot Studio agents work across Dynamics 365, and in Business Central the AI Development Toolkit's agent design experience does something similar directly inside BC (at the time of writing, a preview capability aimed at sandboxes — confirm current availability). Low-code fits when your process lives mostly inside the Microsoft ecosystem and standard connectors already reach your data.
Path 3 — Pro-code custom. When you need something low-code can't do — custom orchestration across many systems, your own AI models, complex branching logic, or an agent that spans CRM and ERP — you build pro-code. On Azure, Microsoft Foundry Agent Service hosts code-first agents written with the Microsoft Agent Framework (or frameworks like LangGraph and Semantic Kernel), lets you choose models from a catalog that includes OpenAI, Anthropic, Meta, and Mistral, and connects to Dynamics through custom connectors and Model Context Protocol (MCP) servers — including a Dynamics 365 ERP MCP server for finance and operations. Inside Business Central, the Agent SDK for AL lets developers code agents against BC directly (recently supported in production environments — confirm the current version). This pro-code column is the one no low-code tool fills, and it is Craftware's core service.
Both low-code and pro-code are legitimately "custom." The skill is matching the path to the process — not defaulting to the most powerful, or most expensive, option. It's the first call our forward-deployed Dynamics 365 engineers make.
Custom Agent Use Cases — Including Cross-Module CRM + ERP
Most custom agents start inside a single app:
- Sales: a qualification agent tuned to your ideal-customer profile and scoring rules, not a generic one.
- Customer Service: an agent that triages tickets against your product taxonomy and drafts replies grounded in your knowledge base.
- Finance / Business Central: an agent that validates incoming invoices against your approval matrix before anything posts.
- Supply chain: an agent that chases supplier confirmations and updates expected dates.
The highest-value custom agents, though, cross the CRM-to-ERP boundary that Microsoft's prebuilt agents — siloed by app — don't. This is where a partner who builds integrations, not just agents, changes the equation.
Illustrative scenario (not a specific client). A mid-market manufacturer wants to compress quote-to-cash. We build an agent that watches Dynamics 365 Sales for a won opportunity, checks the customer's credit terms and applies the right pricing rules, creates the corresponding sales order in Business Central, and routes anything unusual — an unfamiliar discount, a credit hold — to a human for sign-off. The order-entry step that used to bounce between a salesperson and a billing clerk now runs in the background, with people supervising exceptions instead of keying every order. Your actual savings depend on volume and process maturity — which is what a fixed-fee scoping sprint establishes.
How Dynamics 365 AI Agent Development Actually Works
Whether the build is low-code or pro-code, Dynamics 365 AI agent development follows the same six steps. Here's what we do at each stage:
- Define the objective and instructions. An agent's behavior starts as a natural-language "job description" — its purpose, scope, boundaries, and the rules for when it must stop and ask a human. We treat those instructions as configuration: versioned, reviewed, and refined.
- Give it capabilities and tools. Agents act through tools — connectors and actions that read and write records or call other systems, increasingly exposed as MCP tools. This is where an agent gains the ability to create an order or update a case, not just talk about one.
- Ground it on your data. An agent is only as good as what it knows. We ground it on operational data in Dataverse, reach external systems (Salesforce, ServiceNow, and more) through virtual entities and Graph/Copilot connectors, and add analytical data where it helps. This retrieval-augmented grounding keeps answers tied to your reality, not the model's guesswork.
- Test in a sandbox. We run the agent against realistic data, read its reasoning logs to see why it made each decision, and tune the instructions until behavior is reliable.
- Publish with an identity and permissions. Each agent gets its own Microsoft Entra identity and role-based permission sets — in Business Central, a custom agent is even treated as a user. It touches only what you explicitly allow.
- Supervise. Publishing isn't the finish line; oversight is a permanent part of the design — the next section.
Steps 2, 3, and 5 — tools, grounding, and least-privilege permissions — are exactly where do-it-yourself agent projects stall, and where our team's 20+ years of combined Microsoft integration experience does the most good.
Governance, Security, and Human Oversight for Autonomous Agents in Dynamics 365
This is where "let AI act on our data" has to get concrete. Microsoft's platform gives you several real controls, and a credible build uses all of them.
Human-in-the-loop (the agent feed). You decide which actions an agent takes on its own and which need a person's sign-off. Across Customer Service, Field Service, Project Operations, and model-driven apps, an "agent feed" surfaces what agents are doing, split into Needs Attention (tasks waiting on your approval) and Completed (work done, logged for review) — some of this is in preview, so confirm what's live for your apps. In Business Central, you review and approve agent work — a draft quote, a vendor's details, a flagged exception — from a Tasks pane or directly on the document. Agents do the routine work and pause at the moments you define.
Identity, RBAC, and least privilege. Because each agent runs under its own identity with permission sets, you scope it exactly like a carefully limited employee — it sees and changes only what its role permits.
Purview and compliance. Microsoft Purview treats agents much like users: you can extend audit, data loss prevention (DLP), sensitivity labels, retention, Communication Compliance, and eDiscovery to agent activity, and Dataverse data policies restrict what an agent may use as a knowledge source. Interactions — human-to-agent, agent-to-tools, agent-to-agent — are captured for audit. That's the foundation for SOX-, GDPR-, and residency-type obligations, though the exact controls depend on your licensing and region, so confirm specifics.
The takeaway: autonomy and control aren't opposites here. The platform lets you dial in precisely how much rope an agent gets — and prove, afterward, what it did.
What Custom AI Agents Cost (Including Copilot Credits)
Budget for two separate layers: what the agent costs to run and what it costs to build.
Run cost — Copilot Credits. Microsoft meters agent usage in Copilot Credits — the currency that replaced "messages" in September 2025, a reminder that these details move, so treat any figure as directional. You buy credits as prepaid packs or pay-as-you-go through an Azure subscription. The rough shape today:
| Agent activity | Approximate Copilot Credits |
|---|---|
| Simple / classic answer | ~1 |
| Generative answer | ~2 |
| Agent action (a step that does something) | ~5 |
| Grounding across your tenant's data | ~10 |
| Automated agent flow actions | ~13 per 100 actions |
Users with a Microsoft 365 Copilot license generally don't incur these charges for core activity, and bring-your-own Azure models are billed separately. Microsoft's agent usage estimator helps you forecast before you commit. The practical point: an autonomous agent processing hundreds of records a day carries a real, ongoing consumption cost — plan for it.
Build cost and timeline (illustrative — every project differs). In our experience, configuring a prebuilt agent runs from a few days to a couple of weeks with minimal build cost; a low-code Copilot Studio pilot on a single process lands in a few weeks; and a pro-code, cross-module custom build on Azure is typically a few months, delivered in phases. Our fixed-fee AI scoping sprint maps your actual process and data in one to two weeks and ends with a fixed price for the build, rather than a number quoted blind.
Is a Custom AI Agent Right for a Mid-Market Business?
Yes — and you don't have to boil the ocean to benefit. For a 20-to-500-person company, the right first move is almost never a sprawling pro-code build. It's this:
- Pick one high-value, high-friction process — invoice entry, lead qualification, order creation.
- Start with a prebuilt or low-code agent if one fits, and prove the value on that single process.
- Graduate to pro-code only when it's earned — when the process is strategic and genuinely outgrows low-code because it spans systems, needs complex logic, or calls for your own models.
That staged path keeps risk and cost proportional to what you've proven. When you do build a custom agent in Dynamics 365, a Microsoft Partner de-risks the parts that sink DIY efforts: grounding an agent on the right data, scoping its permissions, wiring up governance, and integrating across CRM and ERP. Get those right once and you avoid the more expensive outcome — building the same agent twice.
Frequently Asked Questions
What are custom AI agents in Dynamics 365, and how do they differ from Copilot?
Custom AI agents are AI "workers" you configure or build to run a specific process inside Dynamics 365 — researching, deciding, and acting, then escalating to a human when needed. Copilot assists a person in the moment (drafting, summarizing); an agent takes the task off their plate and runs it.
What prebuilt agents does Microsoft already provide — and when do I need a custom one?
Microsoft ships agents across Sales, Customer Service, Finance, Supply Chain, and Business Central — Sales Qualification, Case Management, Account Reconciliation, Payables, and more — with new ones each release. Start there if one fits. You need a custom agent when your process is unique, spans multiple systems, or needs logic and data access the prebuilt agents don't offer.
Should I build my agent in Copilot Studio (low-code) or as a pro-code Azure build?
Use Copilot Studio when the process lives mostly inside the Microsoft ecosystem and standard connectors reach your data — it's faster and cheaper. Go pro-code on Azure when you need bespoke orchestration, your own AI models, deep cross-system integration, or an agent spanning CRM and ERP. Many businesses start low-code and graduate.
Can a custom agent span multiple modules, such as Sales and Finance?
Yes, and that's often where the biggest value sits. Microsoft's prebuilt agents are siloed by app, but a custom agent — usually pro-code, using connectors and MCP servers — can act on a won opportunity in Sales and then create the order in Business Central or Finance, bridging CRM and ERP in one flow.
How much do custom agents cost, including Copilot credits?
Two layers: build cost (from a few days for a configured prebuilt agent to a few months for a pro-code cross-module build) and run cost (Copilot Credits metered per action, bought prepaid or pay-as-you-go). High-volume, model-heavy agents cost more to run. Rates change, so forecast with Microsoft's agent usage estimator and confirm current pricing.
How do we keep agents secure, compliant, and under human supervision?
Each agent runs under its own identity with role-based permission sets, so it only accesses what you allow. Microsoft Purview extends audit, DLP, sensitivity labels, and retention to agent activity, and human-in-the-loop features — the agent feed and Business Central's task review — let you require human sign-off on the actions that matter.
Build a Custom Agent for Your Dynamics 365
Tell us the process you wish Dynamics 365 could run on its own. In a free 30-minute consultation, a senior engineer will tell you whether the right answer is likely a prebuilt agent, a low-code Copilot Studio build, or a pro-code custom agent on Azure, with a rough cost and timeline you can take to your budget conversation. If a custom agent is worth building, the scoping sprint maps your process and data and returns a concrete plan and a fixed price for the first agent. Book your free consultation and find out what to build first.



