Copilot Studio Agent Design: Topics, Tools, and Autonomy
Copilot Studio agent design connects a business requirement to the right topics, tools, knowledge, and level of autonomy. For AB-100, this lesson covers Design AI-powered business solutions (25–30% in the course outline before the announced November 16, 2026 update). You will design a conversational or event-driven agent, enforce approval rules, and verify the identity behind every action. The orchestration and trigger behavior discussed here refers to Copilot Studio’s standard harness; check the selected agent type and environment policies before implementation.
Learning objectives
After this lesson you can:
- Place a business need on the agent spectrum, from prompt-and-response agents to task agents and autonomous agents.
- Explain how generative orchestration chooses topics, tools, agents and knowledge, and why descriptions matter.
- Contrast classic orchestration (trigger phrases, fallback) with generative orchestration.
- Design an autonomous agent with triggers, instructions and guardrails, and explain the maker-credentials risk.
- Decide when an agent should act through tools, computer use, or another agent.
- Match Dynamics 365 and Power Apps scenarios to the right agent design.
1. The agent spectrum
Microsoft describes agents as a spectrum. The architect's first design decision is how much autonomy the scenario needs, because autonomy raises value but also risk, cost and testing effort.
| Agent type | Who starts it | What it does | Typical example |
|---|---|---|---|
| Prompt and response agent | A user, with a question | Answers from instructions and knowledge; little or no action | HR policy question-and-answer agent |
| Task agent | A user, with a request | Plans several steps, calls tools, and returns a result | "Create a quote and send it to the customer" |
| Autonomous agent | An event or a schedule | Perceives events, decides and acts without waiting for a prompt, inside defined guardrails | Process incoming invoices, triage new support cases |
Rules of thumb:
- Start with the least autonomous design that delivers the outcome. A prompt-and-response agent is cheaper to govern than an autonomous one.
- Add actions only when the answer is not enough; add autonomy only when waiting for a person is the bottleneck.
- Keep a human in the loop for high-impact steps (payments, deletions, external communication) even in an autonomous agent.
2. Declarative and custom engine agents
For Microsoft 365 Copilot, Microsoft distinguishes two build approaches:
- Declarative agents configure Copilot for a scenario with instructions, knowledge and actions. Copilot's own orchestrator and models do the work, and interactions are user-initiated. They are quick to build and inherit Microsoft 365 security and compliance.
- Custom engine agents bring their own orchestration and model choice. They suit scenarios that need full control of the planning logic, or triggering without user input.
Copilot Studio is the low-code place to build both conversational agents and autonomous agents. Requirements for custom orchestration, model deployment, or hosting may point toward Microsoft Foundry, which offers portal-based authoring as well as SDKs. Compare these integration choices in Foundry models, MCP, and Copilot extensibility.
3. How a Copilot Studio agent decides: orchestration
An agent has building blocks: instructions, knowledge sources, topics, tools (connectors, flows, prompts, MCP servers, computer use) and optionally other agents. The orchestration mode decides how the agent picks among them.
| Classic orchestration | Generative orchestration | |
|---|---|---|
| Selection | Matches the user message to a topic's trigger phrases using natural language understanding | An LLM-driven planner interprets intent and selects topics, tools, agents and knowledge using their names and descriptions |
| Multi-step requests | One topic at a time | Breaks a request into steps and chains tools and knowledge |
| Missing inputs | The topic asks for each slot with fixed questions | The agent can ask for missing inputs or fill them from the conversation |
| Knowledge | Used as a fallback when configured, or called explicitly from a generative answers node in a topic | Searched proactively whenever it helps answer |
| Control | Authored topic branches control the dialogue; any generative answers still vary | Planner choices and generated responses require evaluation; fixed checks remain necessary |
Design consequences:
- With generative orchestration, the description of every topic, tool, agent and knowledge source is the main selection signal, together with its name and the descriptions of its inputs and outputs. Write one or two precise sentences about what it does and when to use it; vague or overlapping descriptions cause wrong choices.
- Keep names meaningful and tool sets focused. Overlapping tool descriptions can lead to ambiguous selection and unnecessary calls.
- Use authored topics and flows for fixed steps, such as approval checks and exact legal wording. A topic containing a generative node can still produce variable output. Enforce authorization, amount limits, and transaction validation in the connected service; instructions alone cannot enforce these rules.
- Put stable behavior (tone, scope, what to refuse, escalation rules) in instructions; put changing facts in knowledge.
- Keep a fallback and escalation path: when no topic, tool or knowledge answers, the agent should say so and hand off to a human instead of guessing.
Exam tip: if an agent picks the wrong tool, the first fix is usually clearer names and descriptions (and fewer overlapping tools), not a bigger model.
4. Autonomous agents
An autonomous agent extends generative orchestration by acting without waiting for a user prompt. It is built from three parts:
- Triggers: an event (a record is created or updated, an email arrives, a file is added) or a schedule. Triggers pass data to the agent.
- Instructions: what the agent must do with the event, in which order, and what it must never do.
- Tools and knowledge the agent may use, plus the guardrails around them.
Design practices:
- Define precisely which event starts the agent and what payload it receives; test with realistic and malformed events.
- Make processing idempotent: the same event delivered twice should not create two orders.
- Set limits: which tools are allowed, which values are acceptable, and when to stop and ask a human (approval step, escalation, or a flag on the record).
- Log decisions so activity can be reviewed (monitoring is covered in a later chapter).
The maker-credentials risk
Event triggers run without a user present, so each tool the agent calls must authenticate in a way that needs no user input. For the event-triggered tools described here, this requires maker-provided connections rather than a live user sign-in. The connection uses its configured credentials, which can expose the connection owner’s permissions to callers. Consequences:
- If the agent is also published for conversation, users might cause it to read data or act with the maker's permissions. Microsoft reminds makers of this when they publish an agent with an authenticated trigger.
- Administrators can block maker-provided credentials through governance settings. When they do, agents that need to run in the background or on a schedule fail, because no credential is available.
Architect’s answer: use a dedicated, least-privilege automation identity where the connector supports it. Check each connector’s supported authentication methods; a service principal or managed identity is not a universal replacement for a user connection. Restrict agent sharing, apply connector data policies, and document connection ownership and renewal. A dedicated account does not bypass an environment policy that disallows maker-provided credentials.
5. Acting on systems: tools, computer use and other agents
| Need | Best fit | Notes |
|---|---|---|
| Read or write data in a system with an API | Tool (connector, agent flow, custom connector, MCP server) | Structured inputs and results; compare reliability, audit needs, and actual operating cost |
| Reuse a one-step AI task (extract, classify, summarize) | Prompt tool | Keep the prompt versioned and tested |
| Work with an app that has no API (legacy web or desktop UI) | Computer use | Lets the agent control browsers and desktop apps; can adapt to some UI changes, but remains sensitive to layout, authentication, and page-content changes; evaluate it when no suitable structured integration exists |
| A capability owned by another team or product | Another agent (child agent, or an agent over the Agent2Agent protocol) | Each specialist keeps its own instructions, tools and ownership |
Prefer a structured integration over screen automation whenever one exists. Computer use should also run in a controlled environment (for example a dedicated cloud PC) with its own credentials.
6. Agents in Dynamics 365 and Power Apps
Business applications can host agents directly:
- Dynamics 365 includes prebuilt and configurable agents for sales, customer service, finance and supply chain; autonomous agents can be triggered by business events (for example a vendor invoice or a changed order). Extend a prebuilt agent when it covers most of the process; build a custom one for what it does not cover.
- Power Apps model-driven apps support app assistant and autonomous-agent experiences, with the documented add-agents experience currently in preview. Since May 1, 2026, the agent feed requires agents onboarded to the Power Apps MCP server. Validate feature availability and supervision permissions rather than assuming that adding a chat panel enables every agent feature.
- Agent flows provide authored automation in Copilot Studio; Power Automate flows can also integrate business connectors and approvals. Fixed branches can enforce a sequence, but AI prompt steps remain probabilistic and writes still require service-side checks.
Design for data access: the agent should see only what the requesting user (or the service identity) is allowed to see. Verify Dataverse row and column authorization and the relevant Microsoft 365 protections end to end. User-authenticated knowledge retrieval and a maker-authenticated write tool can have different identities. Review requirements, data quality, and grounding before assigning sources or connections.
7. Worked example
A procurement team receives supplier invoices by email. Many are routine, some are exceptions.
- Need: register routine invoices automatically, route exceptions to a person.
- Agent type: autonomous agent with an email-arrival event trigger; a person starts nothing.
- Instructions: extract invoice data, compare it with the purchase order, register it if the amounts match, otherwise create a review task with the reason.
- Tools: a prompt tool for extraction, a Dynamics 365 Finance tool to read the purchase order and register the invoice, an agent flow for the approval request.
- Determinism: the approval rules are in a topic or flow, not left to the model.
- Guardrails: amount threshold above which a human must approve; service identity with least privilege rather than a person's credentials; idempotent handling of duplicate emails.
- Legacy step: a supplier portal without API is handled with computer use only for that one step.
Step-by-step decision and acceptance check
- Define the permitted outcome: create an invoice registration record, with payment authorization kept in the finance workflow.
- Extract supplier ID, invoice number, amount, currency, and purchase-order reference. Reject incomplete or ambiguous extraction instead of supplying invented values.
- Ask the finance service to check the supplier and purchase order. Store a supplier-plus-invoice key under a uniqueness rule so retries cannot register a second invoice.
- Apply an illustrative policy: invoices above €5,000, mismatched currencies, or missing purchase orders require review. The backend enforces this condition even if the model requests a direct write.
- Record the committed transaction ID only after the service confirms success. For a timeout, query the existing invoice before retrying. A generated “success” message is not evidence that the write completed.
A prompt-and-response design cannot complete this background process. A user-started task agent fits interactive registration but does not satisfy unattended email intake. Computer use for the whole workflow would add unnecessary UI dependencies when finance APIs already support the main operations.
Mini case: a published agent with a powerful connection
A maker shares the invoice agent with 80 employees. A conversational request asks it to register a supplier outside the caller’s business unit. The tool uses the maker’s connection, which has access to all units. How should the team respond?
Solution: restrict the shared agent while the exposure is investigated, reduce the connection’s permissions, and enforce business-unit authorization in the service. Keep unattended processing separate from an interactive route that requires the caller’s identity. Test an unauthorized unit, an invoice above the threshold, and a duplicate event. Updating instructions to say “respect business units” alone does not change the connection’s rights.
Example: make tool selection testable
An operations team exposes two tools named “invoice action” and “invoice helper”. One reads invoice status; the other registers an invoice. The planner has little evidence about which action is safe for a status question. Rename them to describe their outcomes, document required inputs, and keep the read tool separate from the write tool. The write endpoint must still reject requests without the required business authorization.
Use an evaluation set containing “Has supplier A’s invoice arrived?”, “Register this approved invoice”, and “Tell me whether a duplicate exists”. Expected outcomes differ: read, authorized write, and duplicate lookup. Review the selected tool, its arguments, and the service result for each case. Reword descriptions if the choices remain ambiguous. Also test an email containing an instruction to ignore approval limits. Treat that email text as business input; it must not change backend policy. This makes tool selection observable while retaining enforceable controls below the planner.
Key terms
- Topic: an authored dialogue or procedure with triggers, nodes, and optional generative steps.
- Generative orchestration: model-driven selection and sequencing of available capabilities.
- Connection identity: the authenticated principal whose rights a tool actually uses.
- Idempotency: repeated delivery of one business request produces one committed effect.
Key takeaways
- Choose the agent type by who starts it and how much it may do: prompt and response, task, or autonomous. Start with the least autonomy that works.
- Generative orchestration selects topics, tools, agents and knowledge mainly from their names and descriptions; write them carefully and keep tool sets focused.
- Use fixed topic or flow branches for required steps, enforce critical rules in services, and evaluate any generative nodes.
- Autonomous agents need triggers, instructions and guardrails, plus idempotent handling and human approval for high-impact steps.
- Check event-trigger connection credentials, connector support, least privilege, and environment policies before unattended execution.
- Prefer APIs and tools over computer use; use other agents for capabilities owned elsewhere.
Sources
- Microsoft Learn, study guide for exam AB-100: https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/ab-100 (opens in a new tab)
- Microsoft Learn, apply generative orchestration capabilities: https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/generative-orchestration (opens in a new tab)
- Microsoft Learn, orchestrate agent behavior with generative AI: https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-generative-actions (opens in a new tab)
- Microsoft Learn, design autonomous agent capabilities: https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/autonomous-agents (opens in a new tab)
- Microsoft Learn, event triggers overview: https://learn.microsoft.com/en-us/microsoft-copilot-studio/authoring-triggers-about (opens in a new tab)
- Microsoft Learn, control maker-provided credentials for authentication: https://learn.microsoft.com/en-us/microsoft-copilot-studio/configure-no-maker-authentication (opens in a new tab)
- Microsoft Learn, automate web and desktop apps with computer use: https://learn.microsoft.com/en-us/microsoft-copilot-studio/computer-use (opens in a new tab)
- Microsoft Learn, compare declarative and custom engine agents: https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/agents-overview (opens in a new tab)
- Microsoft Learn, add agents to your model-driven app: https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/add-agents-to-app (opens in a new tab)
- Microsoft Learn, trigger autonomous agents with business events (Finance and Operations): https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/copilot/tutorial-agent-triggers (opens in a new tab)
