Navigate to [https://portal.azure.com/#home](https://portal.azure.com/#home)
2
Click "View"
3
Click "App registrations"
4
Click on "New registration".
5
Click on Name field where you have to type your app name.
6
Select any four options given. First one says only organizational purpose only. Second option says app can be used by any organization. Third option is any organization with personal account and lastly fourth option says only personal accounts.
7
Click on Register.
8
Click "Add a certificate or secret"
9
Click here.
10
Click the "Description" field and write any description as you want. Also there is an expiration field which has a recommended value so you can skip it.
11
Click "Add"
12
Copy the secret key because it will be encoded after coming back to the page.
13
Click "Authentication"
14
Click "Add a platform".
15
Select "Web" if you are using API in web application.
16
Click the "Enter the redirect URI of the application" field.