How to Use Microsoft’s Graph API to Query, Create and Analyze Data from OneDrive, Outlook and more
Graph Quick Start — a fast way to start with the Graph API

A few years ago, Microsoft switched from Live SDK to Microsoft Graph. Microsoft Graph is now the API to access all the data and insights in Microsoft 365. [1][2]

There are several ways you can start with Microsoft Graph API. The fastest way is to use the Graph Quick Start, which creates a new App ID and App Secret for the authentication process and already provides you with a first sample project.

(1) In the first step you need to define the language you want to use to build your App. Since I prefer Python, the example app will be a simple Django app.

Select the language — Image by the author

If you are not familiar with Django, you can take a look at one of my previous articles, which explains the principle of Django as simply as possible and includes the most important points. In case you prefer to build your own app from scratch, you can also find a tutorial how to do that in the Microsoft docs.

(2) After selecting the language, the Quick Start gives you the option to directly create a new App ID with App Secret, which you will need later on for the authorization process.

To get an overview of your registered apps, you can do so in your Azure Portal under Azure Active Directory.
['Dominik Polzer']
['Plotly', 'Microsoft Graph Api', 'Django', 'Python', 'Oauth']