Skip to content

Latest commit

 

History

History

README.md

Tasks Agent using TypeSpec for Microsoft 365 Copilot that connects to the Microsoft Graph APIs

Summary

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.

Declarative agent that shows overdue issues Declarative agent that shows a new task

Features

This sample illustrates the following concepts:

  • Building a declarative agent for Microsoft 365 Copilot using TypeSpec for Microsoft 365 Copilot
  • Using the Microsoft Graph API to retrieve tasks and create new ones
  • Using an automated approach to create the Entra ID app and the Developer Portal registration

Contributors

Version history

Version Date Comments
1.0 May 16, 2025 Initial release

Prerequisites

Minimal path to awesome

  • Clone this repository (or download this solution as a .ZIP file then unzip it)
  • Open the Agents Toolkit extension and sign in to your Microsoft 365 tenant with Microsoft 365 Copilot
  • Select Preview in Copilot (Edge) from the launch configuration dropdown

Help

We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.

You can try looking at issues related to this sample to see if anybody else is having the same issues.

If you encounter any issues using this sample, create a new issue.

Finally, if you have an idea for improvement, make a suggestion.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.