This tutorial teaches you how to build a Node.js Express web app that uses the Microsoft Graph API to retrieve calendar information for a user.
Tip
If you prefer to just download the completed tutorial, you can download it in two ways.
- Download the Node.js quick start to get working code in minutes.
- Download or clone the GitHub repository.
Before you start this demo, you should have Node.js installed on your development machine. If you do not have Node.js, visit the previous link for download options.
Note
Windows users may need to install Python and Visual Studio Build Tools to support NPM modules that need to be compiled from C/C++. The Node.js installer on Windows gives an option to automatically install these tools. Alternatively, you can follow instructions at https://github.com/nodejs/node-gyp#on-windows.
You should also have either a personal Microsoft account with a mailbox on Outlook.com, or a Microsoft work or school account. If you don't have a Microsoft account, there are a couple of options to get a free account:
- You can sign up for a new personal Microsoft account.
- You can sign up for the Office 365 Developer Program to get a free Office 365 subscription.
Note
This tutorial was written with Node version 14.15.0. The steps in this guide may work with other versions, but that has not been tested.
Please provide any feedback on this tutorial in the GitHub repository.