Gemini, Microsoft Copilot, Perplexity & the AI Tool LandscapeMicrosoft Copilot · Lesson 9 of 19

Copilot Studio and agents: extending Microsoft 365 Copilot

Article · 19 min · 8 min lecture

Video lecture

Copilot Studio and agents: extending Microsoft 365 Copilot

14 chapters · about 8 min · full transcript

Coming soon

Chapter 1 of 14

Copilot Studio and agents

  • Build assistants for your own processes
  • Safely

The narrated lecture is in production

Every chapter is scripted and ready. Browse the chapters and read the full transcript now — the video will appear here when it’s published.

Chapters

Ways to build agents for Microsoft 365

OptionWhoWhat you get
Agent Builder (in Copilot Chat / Microsoft 365 Copilot)Business usersSimple agents from natural-language instructions, knowledge sources (such as SharePoint sites or files) and web grounding
Copilot StudioMakers and ITFull low-code agent platform: topics, knowledge, actions via hundreds of connectors, agent flows, deep reasoning, autonomous triggers, publishing to Teams, websites and other channels, governance controls
Microsoft 365 Agents Toolkit (VS Code)DevelopersDeclarative agents defined in a manifest (instructions, capabilities, actions), plus custom engine agents
Copilot connectorsIT and developersBring external content (for example a CRM or wiki) into Microsoft Graph so Copilot and agents can use it

Licensing in one paragraph (check current terms)

Microsoft 365 Copilot Chat users can use agents grounded in instructions and public websites at no extra cost; agents that use shared tenant data (such as SharePoint or connector content) are billed on a pay-as-you-go basis through Azure or a Copilot Studio subscription for unlicensed users. Users with a Microsoft 365 Copilot licence can use such agents under their licence terms. Copilot Studio has its own capacity-based billing. Your admin and Microsoft's licensing pages are authoritative.

Designing a good agent

Start from a narrow, high-volume job with clear knowledge sources:

  • HR policy assistant grounded in the approved HR SharePoint site.
  • Sales proposal helper using the approved case-study library.
  • IT help agent that answers from the knowledge base and creates a ticket via a connector after the user confirms.

Write instructions like a job description (role, sources, process, rules, output), add conversation starters, and define what the agent must not do.

Hands-on: a declarative agent manifest

With the Microsoft 365 Agents Toolkit, you scaffold a declarative agent and edit its manifest. A simplified example (schema versions change; let the toolkit generate the current $schema and version, and check the documentation for exact fields):

{
  "$schema": "https://developer.microsoft.com/json-schemas/copilot/declarative-agent/v1.8/schema.json",
  "version": "v1.8",
  "name": "HR Policy Helper",
  "description": "Answers employee questions using the approved HR policy site.",
  "instructions": "You answer questions about company HR policies using only the HR Policies SharePoint site. Quote the policy name and section for every answer. If the answer is not in the policies, say so and direct the user to hr@contoso.example. Never give legal advice or discuss individual employees.",
  "capabilities": [
    {
      "name": "OneDriveAndSharePoint",
      "items_by_url": [
        { "url": "https://contoso.sharepoint.com/sites/HRPolicies" }
      ]
    }
  ],
  "conversation_starters": [
    { "title": "Leave policy", "text": "How many days of annual leave do I get?" },
    { "title": "Remote work", "text": "What is the policy on working from abroad?" }
  ]
}

Test in the toolkit's preview, then publish through your organisation's approval process.

Copilot Studio: actions and flows

In Copilot Studio you can give an agent actions through Power Platform connectors (for example Dynamics 365, Salesforce, ServiceNow, SharePoint lists, Outlook) and build agent flows that run multi-step processes. Good practice:

  • Read-only actions first; write actions require user confirmation.
  • Use the maker's connection only when appropriate; otherwise each user's own credentials.
  • Add authentication for any channel outside Teams.
  • Test with realistic and adversarial conversations before publishing.

Copilot Studio agents can also call MCP servers, which means a server built for one assistant can be reused here.

Governance for agents

  • An inventory of agents with owners and purposes (Agent 365 provides a control plane for this).
  • Environment strategy: separate development, test and production.
  • Data policies for connectors (which can be combined, which are blocked).
  • Review and approval before publishing to the whole organisation.
  • Monitoring: usage, failed conversations, and cost.

Worked example: an IT help agent in Riyadh

An IT team at a logistics company builds an agent in Copilot Studio grounded in their knowledge base, with one action that creates a ServiceNow ticket after the user confirms the summary. They test with 50 real past questions and 10 adversarial ones, restrict it to Teams, and publish to one department first. After a month, a large share of password and VPN questions are answered without a ticket (tracked in their analytics), and tickets that do get created arrive with better descriptions.

Pitfalls

  • Broad agents ("company assistant") with vague sources.
  • Write actions without confirmation.
  • Publishing organisation-wide without a pilot.
  • No owner or cost monitoring.

How to measure success

The agent answers its narrow job accurately with citations, deflects routine requests measurably, has an owner and an inventory entry, and stays within budget.

Key takeaways

  • Build Microsoft 365 agents with Agent Builder (business users), Copilot Studio (makers), the Agents Toolkit (declarative agents) and Copilot connectors.
  • Licensing differs: instruction and web agents are included with Copilot Chat; tenant-data agents are pay-as-you-go for unlicensed users. Check current terms.
  • Design narrow agents with clear sources, job-description instructions, conversation starters and explicit "never" rules; start read-only and confirm writes.
  • Govern agents with an inventory and owners (Agent 365), environments, connector data policies, pilots and cost monitoring.

Check your understanding

Quick questions to lock in the lesson. They don’t count towards your certificate.

  1. Which tool lets developers define an agent in a JSON manifest with instructions, capabilities and conversation starters?
  2. An IT agent can create ServiceNow tickets. What is the safest design?
  3. Which is the best first scope for a new agent?

Put it into practice

Design (on paper, or in Agent Builder if available) one narrow agent: its job, single knowledge source, instructions with a "never" rule, three conversation starters, and five test questions including one adversarial.

Enrol for free to save your progress

Reading is always free. Enrol to keep your place, take the final assessment and earn a verifiable certificate.