Microsoft APIs

Step 1

Chose an appropriate name for the service

Step 2

To get the Tenant ID go to Identification Overview

Step 3

You need to make New registration Here

type a name for the app and register

you can copy the Application (client) ID Here

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

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

Step 4

Enter SharePoint URL in this format https://{mycompany}.sharepoint.com

Step 5

Enter your email

Step 6

Enter your password