# Microsoft Graph

<figure><img src="https://839880947-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeNOzbIlon6rle3lkybY%2Fuploads%2FwlGC8wOrg17htWFS5mza%2Fimage.png?alt=media&#x26;token=fa7562cb-9a45-4b2b-9967-bbbef2ed80b6" alt=""><figcaption></figcaption></figure>

## Step 1

Chose an appropriate name for the service

## Step 2

To get the Tenant ID go to [Identification Overview](https://entra.microsoft.com/#view/Microsoft_AAD_IAM/TenantOverview.ReactView)

<figure><img src="https://content.gitbook.com/content/PeNOzbIlon6rle3lkybY/blobs/08QETEyOurFR45tHRGfu/image.png" alt=""><figcaption></figcaption></figure>

## Step 3

You need to make New registration [Here](https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade)

<figure><img src="https://content.gitbook.com/content/PeNOzbIlon6rle3lkybY/blobs/I6KqYMIpT9jmU2Zp7OwN/image.png" alt=""><figcaption></figcaption></figure>

type a name for the app and register

<figure><img src="https://content.gitbook.com/content/PeNOzbIlon6rle3lkybY/blobs/Mr6cGZfJTOg7YezSjj7E/image.png" alt=""><figcaption></figcaption></figure>

you can copy the Application (client) ID Here

<figure><img src="https://content.gitbook.com/content/PeNOzbIlon6rle3lkybY/blobs/1lthJly5yvyQijNH7Rpi/image.png" alt=""><figcaption></figcaption></figure>

Go to the Authentication tab and change *Allow public client flows* to Yes then click save

<figure><img src="https://content.gitbook.com/content/PeNOzbIlon6rle3lkybY/blobs/viRWoE8U8GTVunDBfjiU/image.png" alt=""><figcaption></figcaption></figure>

Next go to API permissions and add these permission and *Grant admin consent* (Only admin accounts can grant permissions)

<figure><img src="https://839880947-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeNOzbIlon6rle3lkybY%2Fuploads%2FbJz38paB4xzA5EGiutSq%2Fimage.png?alt=media&#x26;token=a6c1c2e8-3496-4a30-9b25-d4ee6cb326a0" alt=""><figcaption></figcaption></figure>

## Step 4

Enter your email

## Step 5

Enter your password
