Getting Started with Microsoft Graph API

Microsoft Graph API is a superb way to leverage Microsoft 365 services as a developer. Before you start to wonder where all to get started from, this post is for you!

Microsoft Graph Explorer

Here’s how you can start using the Microsoft Graph API –

  1. Navigate to the Microsoft Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer), you’ll see the below –

  2. By default, if you run on Run Query, it’ll retrieve Sample Data already present.

  3. You can click on the Person icon in order to Authenticate to the environment you are already logged in.

  4. In case you are already logged in, select the environment or login from the start.


  5. You’ll also need to provide consent in order to proceed.

  6. Now that you are logged in, you can see the Tenant information being displayed and you can then also try to test run the same query and you’ll see your actual data being retrieved.

Important Notes

  1. In order to access a Users’ data, they have to consent this data for access.
  2. OData Queries are used to further query the data in order to access them.

Here’s the official link to the Microsoft Graph documentation and other resources: https://learn.microsoft.com/en-us/graph/?WT.mc_id=DX-MVP-5003911

Hope this was useful!

Thank you!

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.