Microsoft Copilot Studio Samples

Overview

This repository contains samples and artifacts for Microsoft Copilot Studio.

Older samples and labs, largely focused on Power Virtual Agents, have been moved to the Legacy branch of this repo.

Description Link
Home page aka.ms/CopilotStudio
Official blog aka.ms/CopilotStudioBlog
Community forum aka.ms/CopilotStudioCommunity
Product documentation aka.ms/CopilotStudioDocs
Guidance documentation aka.ms/CopilotStudioGuidance
Try Copilot Studio aka.ms/TryCopilotStudio
Copilot Acceleration Team technical blog aka.ms/TheCustomEngine
Samples browser microsoft.github.io/CopilotStudioSamples
Description Link
M365 Agents SDK Github Repo for the M365 Agents SDK
M365 Agents SDK - C# Github Repo for the C# M365 Agents SDK
M365 Agents SDK - JavaScript Github Repo for the M365 Agents SDK
M365 Agents SDK - Python Github Repo for the M365 Agents SDK
Adaptive Cards Adaptive Cards docs and builder
Web Chat Web Chat Github Repo
Power Platform Snippets Copilot Studio snippets

Samples by Category

Folder Description
authoring/ Importable solutions (PnP format) and copy-paste snippets for topics and Adaptive Cards
contact-center/ Contact center integrations and live agent handoff
extensibility/ MCP servers, A2A protocol, and M365 Agents SDK samples
guides/ Implementation guidance and best practices
infrastructure/ Deployment templates and VNet configurations
sso/ Single Sign-On with Entra ID and Okta
testing/ Functional testing (pytest) and load testing (JMeter)
ui/ Custom chat UIs and platform embed samples (ServiceNow, Power Apps, SharePoint)
EmployeeSelfServiceAgent/ Workday and facilities management topics (pending deprecation)

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Support

Although the underlying features and components used to build these samples are fully supported (such as Copilot Studio bots, Power Platform products and capabilities, etc.), the samples themselves represent example implementations of these features. Our customers, partners, and community can use and customize these features to implement capabilities in their organizations.

If you face issues with:

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Resources:

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.

Security

Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include Microsoft, Azure, DotNet, AspNet, Xamarin, and our GitHub organizations.

If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft’s definition of a security vulnerability, please report it to us as described below.

Reporting Security Issues

Please do not report security vulnerabilities through public GitHub issues.

Instead, please report them to the Microsoft Security Response Center (MSRC) at https://msrc.microsoft.com/create-report.

If you prefer to submit without logging in, send email to secure@microsoft.com. If possible, encrypt your message with our PGP key; please download it from the Microsoft Security Response Center PGP Key page.

You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at microsoft.com/msrc.

Microsoft follows the principle of Coordinated Vulnerability Disclosure.

Copyright (c) Microsoft Corporation. All rights reserved.