Build Microsoft Teams apps with Microsoft Graph

This tutorial teaches you how to build a Microsoft Teams app using ASP.NET Core and the Microsoft Graph API to retrieve calendar information for a user.

Tip

If you prefer to just download the completed tutorial, you can download or clone the GitHub repository. See the README file in the demo folder for instructions on configuring the app with an app ID and secret.

Prerequisites

Before you start this tutorial, you should have the following installed on your development machine.

You should also have a Microsoft work or school account in a Microsoft 365 tenant that has enabled custom Teams app sideloading. If you don't have a Microsoft work or school account, or your organization has not enabled custom Teams app sideloading, you can sign up for the Microsoft 365 Developer Program to get a free Office 365 developer subscription.

Note

This tutorial was written with .NET SDK version 5.0.302. The steps in this guide may work with other versions, but that has not been tested.

Feedback

Please provide any feedback on this tutorial in the GitHub repository.