Build Ruby on Rails apps with Microsoft Graph

This tutorial teaches you how to build a Ruby on Rails web app 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 it in two ways.


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

You should also have either a personal Microsoft account with a mailbox on, 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:


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

  • Ruby version 3.0.1
  • SQLite3 version 3.35.5
  • Node.js version 14.15.0
  • Yarn version 1.22.0


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