Copilot Studio for Dynamics 365
By Emil Björk · Microsoft business apps consultant, Gothenburg
Building AI agents on top of Dynamics 365 with Copilot Studio — topics, knowledge sources, generative answers, and Dataverse integration.
On this page (12)
Microsoft Copilot Studio is the low-code platform for building AI agents — conversational and increasingly autonomous — that integrate deeply with Dynamics 365 and the rest of the Microsoft cloud. It is the successor to Power Virtual Agents, with a much heavier generative AI core. For Dynamics 365 customers, Copilot Studio is the standard way to deflect routine support, augment sales sellers, and front-end the data and processes the rest of the platform manages.
Agents
A Copilot Studio agent is configured with a role and instructions (its job and tone), one or more knowledge sources (Dataverse data, SharePoint sites, websites, documents), one or more actions (the operations it can perform via connectors), and trigger conditions (where it activates — Teams, the web, a Power Pages site, inside Dynamics 365). The agent uses an LLM (Azure OpenAI under the hood) to converse, reason, and decide what to do at each turn — the natural-language part of that reasoning is what AI prompts in Power Platform formalises as a reusable, parameterised artefact rather than inline text.
Topics and generative answers
Classic agent design used topics — structured conversation paths with named triggers and explicit dialog steps. Modern Copilot Studio combines topics with generative answers that synthesise responses from knowledge sources on the fly. Topics still handle critical, deterministic flows (e.g. "reset my password" with strict steps); generative answers handle the long tail of "how do I..." questions.
Knowledge
Connect Copilot Studio to:
- Dataverse tables — query Dynamics 365 data with natural language.
- SharePoint sites — index documents and pages.
- Public websites — index a public domain.
- File uploads — PDFs, Office documents, knowledge articles.
- External APIs — through Power Platform connectors.
The agent answers questions grounded in these sources, with citations linking back to the source for verification.
Actions
Beyond reading, agents act. Built-in actions can create cases in Customer Service, update opportunities in Sales, fetch records, post journal entries, send emails, kick off Power Automate flows. Each action is permissioned and respects the user's CRM security.
Channels
A single agent publishes to Microsoft Teams, the web (embed widget), Power Pages portals, Dynamics 365 Customer Service Omnichannel, WhatsApp, SMS, Facebook Messenger, and a handful of others. The same conversation logic runs everywhere. When publishing fails or a channel shows no response, publishing and channel errors decodes the common causes.
Hand-off
Agents recognise when a question is beyond them and hand off to a human agent via Omnichannel for Customer Service, with the full conversation context.
Governance
Microsoft Purview integrates for content filtering, content tracking, and data loss prevention. Multi-environment ALM (dev → test → prod) is supported via solutions.
Operating reality
Start small. Pick one well-defined use case (FAQ deflection, an internal HR helper), measure deflection and customer satisfaction, and grow from there.
A concrete first project: Customer Service deflection
The most common first Copilot Studio project on a Dynamics 365 estate is Tier-0 case deflection on the customer-facing web channel. A defensible shape:
- Scope one product line. Not the whole catalogue — pick one where the knowledge base is well-curated and case volume is high. Faster wins land the political capital for the second project.
- Ground on your own KB. Point the agent at the Customer Service knowledge base (Dataverse) plus a small SharePoint site of PDFs — the two libraries most contact centres already maintain. Skip public web indexing at first; it dilutes the answer quality.
- Add one topic per compliance-sensitive intent. "Reset password" and "cancel subscription" belong in explicit topics with deterministic steps; generative answers on the rest.
- Wire hand-off to Omnichannel from day one. Every conversation the agent cannot answer with high confidence must open a case with the full transcript attached, so the human agent is not starting from zero.
- Publish to the web widget first, Teams second. The web widget is the honest test — anonymous, unfiltered traffic. Teams inside the org is easier and therefore less informative.
- Report weekly on deflection rate, customer satisfaction, and topics with the lowest confidence. Feed the low-confidence topics back into either better KB content or a new explicit topic.
Every part of that pattern is repeatable across sales, HR, and IT help agents — the only pieces that change are the knowledge sources and the hand-off destination.
What to build with topics vs generative answers
A rule of thumb after a dozen projects:
- Use a topic when the process is transactional, has verifiable pre-conditions (user identity, subscription status, region), and a wrong answer has cost (a refund, a security event, a compliance breach). Password resets, refund flows, "cancel my account", MFA re-enrolment.
- Use generative answers for the open-ended "how do I…" and "what does X mean" questions. They synthesise from your knowledge and cite the source, and are what the LLM is actually good at.
- Combine them by triggering a topic from a generative answer. The agent decides the user needs a password reset, the topic collects the identifiers, the flow executes.
Governance, DLP, and cost
Copilot Studio agents inherit the Power Platform environment they live in — its data-loss-prevention policies, its region, its solution boundaries. Three governance checks worth doing before the first agent goes live:
- DLP: the Copilot Studio connector, the AI Builder connector, and any premium data connectors the agent uses should live in a policy group that matches your data classification. A customer-facing agent must not reach non-approved data sources by accident.
- Environment strategy: dev / test / prod as separate environments with solution-based ALM, and no writable connections from prod to the sandbox. This is a Power Platform best practice; agents make it non-negotiable, because a mid-conversation misroute to test data is user-visible.
- Cost model: agents consume messages metered against your Copilot Studio capacity. Reserve capacity per environment (as with AI Builder credits) and instrument message volume from day one. The number that surprises people is not the per-message cost — it is the human hand-off cost when the agent's deflection rate is lower than promised.
Where to go next
For the build itself, building agents with Copilot Studio; for the taxonomy of Microsoft's agents, Copilot agents vs Copilot Studio. Reaching outside Microsoft is covered in integrating agents with external APIs and MCP servers. The wider Copilot picture is Copilot across Dynamics 365.
Frequently asked questions
What is a Copilot Studio agent made of?
- A role and instructions, one or more knowledge sources (Dataverse tables, SharePoint, websites, uploaded documents, external APIs through connectors), actions it may perform, and trigger conditions for where it activates. A large language model on Azure OpenAI drives the conversation and decisions.
What is the difference between topics and generative answers?
- Topics are structured conversation paths with explicit steps, right for deterministic flows such as a password reset. Generative answers synthesise responses from knowledge sources on the fly and handle the long tail of how-do-I questions, with citations back to the source.
Where can a Copilot Studio agent be published?
- Microsoft Teams, a web embed widget, Power Pages portals, Dynamics 365 Customer Service Omnichannel, WhatsApp, SMS, Facebook Messenger, and more — the same conversation logic runs on every channel.
Can an agent hand off to a human?
- Yes. When a question exceeds it, the agent hands off through Omnichannel for Customer Service with the full conversation context, the identified topic, and any collected variables.
How should a first Copilot Studio project be scoped?
- Small: one well-defined use case such as FAQ deflection or an internal HR helper, with deflection and satisfaction measured before growing. Governance through Purview and solution-based ALM across dev, test, and production is supported from the start.
Further reading
Related guides
- Building agents with Copilot StudioHow to design Copilot Studio agents — topics vs generative answers, knowledge grounding, actions, multi-turn dialogs, and operational patterns.
- Copilot agents vs Copilot StudioHow Microsoft's agent strategy splits — Copilot Studio for building custom agents, declarative agents in Microsoft 365 Copilot, autonomous agents.
- Microsoft 365 Copilot for Dynamics 365How Microsoft 365 Copilot reaches into Dynamics 365 — graph connectors, agents, and the licensing layers that determine what users actually get.
- AI Builder explainedMicrosoft's no-code AI model library inside the Power Platform — pre-built models, custom training, and what AI Builder is good at.
- AI Builder document automation, in depthHow AI Builder's document automation works — pre-built models, custom training, output structure, and the right way to integrate it with Dynamics 365.
Browse every guide in Power Platform or just Copilot & AI.
Copilot & AI in Dynamics 365
Was this helpful?
Signals which guides land and which need work. No account, no comment box — corrections go through the contact page.
Spot something wrong or want a topic covered? Send a correction or a topic request — both are welcome.