Build Azure Functions with Microsoft Graph

This tutorial teaches you how to build an Azure Function that uses the Microsoft Graph API to retrieve calendar information for a user.


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.


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

You should also have a Microsoft work or school account, with access to a global administrator account in the same organization. If you don't have a Microsoft account, you can sign up for the Office 365 Developer Program to get a free Office 365 subscription.


This tutorial was written with the following versions of the above tools. The steps in this guide may work with other versions, but that has not been tested.

  • .NET Core SDK 3.1.301
  • Azure Functions Core Tools 3.0.2630
  • Azure CLI 2.8.0
  • ngrok 2.3.35


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