This repository contains Microsoft 365 Copilot samples.
We welcome community contributions to the
samplesfolder in this repository for demonstrating different use cases with Microsoft 365 Copilot. If you've built an agent that demonstrates specific scenario, please share your work and help others!
List of all the samples
| Title | Description | Author |
|---|---|---|
| Agent PostPilot | Agent helps write LinkedIn post to announce Prompt of the week | Rabia Williams |
| Azure Open AI Agent using TypeSpec for Microsoft 365 Copilot | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot that allows to connect to Azure Open AI API as an API plugin to send queries. | Reshmee |
| Blog Post Helper Declarative Agent for Microsoft 365 Copilot Sample | Blog post helper declarative agent to help in the creation process. | Paul Bullock |
| Browse the menu and place an order at a local Italian restaurant using Microsoft 365 Copilot | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot that allows you to browse a menu of a local Italian restaurant and place an order. The agent uses an API plugin to connect to an anonymous API. The project contains an Azure Function that serves as the API. | Waldek Mastykarz |
| Call chat completions from Azure Open AI - No code! | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot that allows you to call Azure Open AI endpoint without any code. | Reshmee Auckloo |
| Canvas Student | Canvas Student is a learning assistant to help you interact with your Canvas LMS. This agent sample enables learners to interact with their courses using Microsoft 365 Copilot or Copilot Chat. Canvas Student empowers students to search through course content, generate ideas for learning, and improve the overall learning experience. | Juliano Menegazzo, Ayron Johnson |
| Canvas Teacher | Canvas Teacher is a teaching assistant to help you interact with your Canvas LMS. This agent sample enables educators to interact with their courses using Microsoft 365 Copilot or Copilot Chat. Canvas Teacher empowers educators to plan their courses more effectively, giving them access to information in their courses, modules, assignments, pages, discussions, and announcements. | Juliano Menegazzo, Ayron Johnson |
| Career Coach Declarative Agent for Microsoft 365 Copilot Sample | First Party Declarative Agent Career Coach shared as a sample | Marcus Castro |
| CLI for M365 Helper | This declarative helper helps users discover relevant CLI for Microsoft 365 commands from official documentation | Saurabh Tripathi |
| Copilot Snow Wizard | M365 Declarative Copilot that interfaces with ServiceNow to list and create incidents | Cristiano Goncalves, Luis Demetrio |
| Declarative Agent - PnP Controls Assistant | This declarative agent is designed to assist users in finding more information about the PnP reusable React controls. | Guido Zambarda |
| Declarative Agent The Simple Teacher for Microsoft 365 Copilot Sample | The declarative agent The Simple Teacher acts as a friendly, patient, and humorous mentor for students aged 16 to 20, explaining technical concepts in simple, relatable language. | Peter Paul Kirschner |
| Declarative Agent with an API plugin that secured by Entra ID that validates its own tokens | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot that answers questions about repairs. The agent uses an API plugin to connect to an API secured with OAuth. The project contains an Azure Function that validates tokens using an open source library. | Bob German, Waldek Mastykarz |
| Declarative Agent with an API plugin that secured by Entra ID that validates its own tokens | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot that answers questions about repairs. The agent uses an API plugin to connect to an API secured with OAuth. The project contains an Azure Function that validates tokens using an open source library. | Bob German |
| Declarative for Microsoft 365 Copilot with an API plugin connected to an API secured with OAuth | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot that answers questions about repairs. The agent uses an API plugin to connect to an API secured with OAuth. The project contains an Azure Function that serves as the API and uses the built-in Azure App Service authentication and authorization capabilities (also referred to as Easy Auth) to secure access to APIs. | Waldek Mastykarz |
| Document Finder Declarative Agent for Microsoft 365 Copilot Sample | First Party Declarative Agent Document Finder shared as a sample | Jeremy Thake |
| ESA, The Environment Sustainability Agent using Microsoft 365 Copilot | This sample showcases how to build a declarative agent for Microsoft 365 Copilot connected to a SharePoint site as knowledge base, named ESA, the Environment Sustainability Agent. ESA is an intelligent assistant developed to assist organizations in monitoring and optimizing their environmental impact. | Rabia Williams |
| Finding and apply for volunteer opportunities using Microsoft 365 Copilot with SharePoint List and Azure Ai Search - No code! | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot that allows you to find and apply for volunteer opportunities using Microsoft 365 Copilot with SharePoint List and Azure Ai Search integration and authentication. | Reshmee Auckloo, Lee Ford |
| Finding and apply for volunteer opportunities using Microsoft 365 Copilot with SharePoint List and Azure Ai Search - No code! | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec that allows you to find and apply for volunteer opportunities using Microsoft 365 Copilot with SharePoint List and Azure Ai Search integration and authentication. | Reshmee Auckloo, Lee Ford |
| Geo Locator Game | This sample demonstrates how to create a Geo Locator Game declarative agent using Microsoft 365 Copilot. | Ayca Bas, Garry Trinder |
| GitHub Issues Agent using TypeSpec for Microsoft 365 Copilot | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot that allows you ground responses in WebSearch, use CodeInterpreter and use the GitHub API as an API plugin to retrieve issues. | Sébastien Levert |
| Graph QnA agent for Microsoft 365 Copilot | Copilot declarative agent makes direct calls to Microsoft Graph | Franck Cornu |
| Idea Coach Declarative Agent for Microsoft 365 Copilot Sample | First Party Declarative Agent Idea Coach shared as a sample | Eric Scherlinger |
| Learning Coach Declarative Agent for Microsoft 365 Copilot Sample | First Party Declarative Agent Learning Coach shared as a sample | Julie Chudakova |
| Manage repairs using Microsoft 365 Copilot | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot that allows you to read, create, update and delete items from a Repairs system. The agent uses an API plugin to connect to an API-key protected API. | Sébastien Levert |
| Manage repairs using Microsoft 365 Copilot | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot that allows you to read, create, update and delete items from a Repairs system. The agent uses an API plugin to connect to an anonymous API. | Sébastien Levert |
| Manage repairs using Microsoft 365 Copilot using OAuth 2.0 authentication | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot that allows you to read, create, update and delete items from a Repairs system. The agent uses an API plugin to connect to an OAuth protected API. This sample is connecting to an already configured API. | Sébastien Levert |
| My Advanced Communication Buddy - Declarative Agent with API Plugin for Microsoft 365 Copilot Sample | First Party Declarative Agent Career Coach shared as a sample | Paul Bullock |
| My Communication Buddy | Declarative Agent designed to assist user in creating corporate communications | Paul Bullock |
| PM Spec Reviewer | A Microsoft Teams app that helps Product Managers review product specifications using AI assistance. | Sid Mathur |
| PM Spec Writer | A Microsoft Teams app that helps Product Managers write and manage product specifications using AI assistance. | Sid Mathur |
| PnP PowerShell Assistant Agent | This declarative agent, named PnP PowerShell Assistant helps users creating PnP PowerShell cmdlets | Aimery Thomas |
| PnP Script Samples Agent | Agent for Copilot for Microsoft 365, is designed to assist users with PowerShell scripts related to PnP Script Samples. | Paul Bullock |
| Positivity Agent | An agent designed to premote positivity, motivation, and confidence-building support to users. | Paul Bullock |
| Presentation Agent for Microsoft 365 Copilot | Declarative agent helps users prepare for presentations | Jeremy Thake |
| Product support declararative agent | This sample demonstrates how to create a product support agent using Microsoft 365 Copilot. | Garry Trinder |
| Prompt Coach Declarative Agent for Microsoft 365 Copilot Sample | First Party Declarative Agent Prompt Coach shared as a sample | Marcus Castro |
| Resolve Mate ticketing system agent | Demonstrates how to build a declarative agent for Microsoft 365 Copilot that allows you to manage customer support tickets efficiently. . | Ejaz Hussain |
| Resource Allocation Assistant | Resource Allocation Assistant is a declarative AI Agent that helps managers optimize team workloads and balance resource allocation effectively. | Valeras Narbutas |
| Retrieve and create my ToDo tasks - No code! | This sample demonstrates how to retrieve and create my ToDo tasks. | Reshmee Auckloo |
| Sales Genie Declarative Agent | Sales Genie is a Declarative Agent designed to help sales executives get instant, actionable insights from their Salesforce CRM, Microsoft 365, and the web — all via natural language. Whether you're preparing for an upcoming customer meeting, reviewing your opportunity pipeline, or logging call notes into Salesforce, Sales Genie acts as a smart assistant that streamlines your daily sales activities. It showcases complex workflows directly using instructions. | Sébastien Levert, Akhil Sai Valluri |
| SharePoint Agents Finder declarative agent | SharePoint Agents Finder uses the Microsoft Graph API as a Copilot plugin in a declarative agent, leveraging the Microsoft Graph Search API /search/query endpoint to retrieve information about SharePoint Agents and event any file in Microsoft 365. | Mohammad Amer |
| Tasks Agent using TypeSpec for Microsoft 365 Copilot that connects to the Microsoft Graph APIs | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot that connects to the Tasks endpoints of the Microsoft Graph API through an API plugin. | Sébastien Levert |
| Tech Support agent using TypeSpec for Microsoft 365 Copilot | This sample demonstrates how to build a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot that allows you ground responses in WebSearch, SharePoint and Copilot connectors | Sébastien Levert |
| The M365 Roadmap Features Tracker agent shows how users can easily stay up to date with the latest Microsoft 365 roadmap features. | The M365 Roadmap Features Tracker agent shows how users can easily stay up to date with the latest Microsoft 365 roadmap features. It integrates a Microsoft Graph Connector to monitor and deliver the latest updates, offering a hands-free solution for staying informed. | Mohammad Amer |
| Trey Research TS Auth | This sample demonstrates how to create an agent that interacts with a protected consulting API to provide information about consultants and projects. | Bob German, Garry Trinder |
| Trey Research TypeScript | This sample demonstrates how to create an agent that interacts with a consulting API to provide information about consultants and projects. | Bob German, Garry Trinder |
| Trey Research TypeSpec | This sample demonstrates how to create an agent that interacts with a consulting API to provide information about consultants and projects. | Bob German, Rabia Williams |
| Visual Mind agent Visualizer Assistant | The Visual Mind agent is a Visualizer Assistant that will help the user with tasks related to creating clear, structured, and engaging visuals using Mermaid.js code. | Mohammad Amer |
| Writing Coach Declarative Agent for Microsoft 365 Copilot Sample | First Party Declarative Agent Writing Coach shared as a sample | Phi-Lay NGUYEN |
If you've got questions or experience an issue with any of the samples in this repo, please create an issue.
This repository's contributors are all community members who volunteered their time to share code samples.
Samples in this repository are submitted by Microsoft's product groups, and the Microsoft 365 and Power Platform community. We welcome your feedback and suggestions for new samples. We also welcome community contributions. If you have any questions, just let us know.
Please have a look on our Contribution Guidance before submitting your pull requests, so that we can get your contribution processed as fast as possible.
This repository has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Sharing is caring!