Skip to main content
  1. Posts/

Graph API Introduction

·384 words·2 mins· loading · loading · ·
English Graph API Azure Beginner
rOger Eisenecher
Author ::..
rOger Eisenecher
> 12 years leading and building a SOC for MSSP • > 20 years working in security • > 40 years working with IT • 100% tech nerd.
Table of Contents
Graph API - This article is part of a series.
Part 1: This Article

If you are using Microsoft Azure - more specifically the SaaS products like Exchange Online, SharePoint Online or Teams you have the opportunity to get many information through the Graph API. In this article you will get a short introduction into the Graph API.


API is an abbreviation and stands for Application Programming Interface. This is used by programmers to access programmatically functions to achieve certain tasks. This serie will give you an intro into using this API. If you are not a programmer this first article could still be interesting for you to get an overview what’s possible.

First steps with Graph API

Don’t worry - for the first steps you don’t need to be a developer. We will use a tool to explore the API: The Graph Explorer from Microsoft .

Graph Explorer GUI. we use it for the first steps with the API.

Just follow the following simple steps:

  1. Open the Graph Explorer
  2. Click on my profile (marked as 1)
  3. Click on Run query (marked as 2)

Now following things happen:

  1. Through the Graph Explorer the following API request will be done: GET - this is a simple request over HTTP to the Graph API backend.
  2. The Graph API backend will send an answer back. Technically the response is a JSON structure. This answer is visible in the bottom part of the Graph Explorer (see following screenshot).

Result of our first request to the Graph API.

That was super easy, right?

Next steps

As we saw a query against the backend is easy and no coding is involved. To get more insights I advise you to play around with the Graph Explorer. Try the following things:

  • Check available queries where you selected before my profile - you will see that there are many different areas where you could get information about.
  • Sign into your Azure AD account and issue the first query my profile again. You will see details about your account. It is also worth to switch to the beta API; you will get additional information about you.

So now thats all for the first contact with the API. In the following series we will dive a little bit deeper…

Further Reading

Beside of reading this serie you will find additional information on the following web site(s):

Graph API - This article is part of a series.
Part 1: This Article