Register the app in Azure Portal
Today, I will share with you a helpful tutorial on how to register the app in Azure Portal.
You will create a new Azure AD web application registration using the Azure Active Directory admin center.
-
Open a browser and navigate to the Azure Active Directory admin center. Login using a personal account (aka: Microsoft Account) or Work or School Account.
-
Select Azure Active Directory in the left-hand navigation, then select App registrations under Manage.
-
Select New registration. On the Register an application page, set the values as follows.
- Set Name to PHP Graph Tutorial
- Set Supported account types to Accounts in any organizational directory and personal Microsoft accounts.
- Under Redirect URI, set the first drop down to
Web
and set the value tohttp://localhost:8000/callback
- Select Register. On the PHP Graph Tutorial page, copy the value of the Application (client) ID and save it, you will need it in the next step.
- Select Certificates & secrets under Manage. Select the New client secret button. Enter a value in Description and select one of the options for Expires and select Add.
- Copy the client secret value before you leave this page. You will need it in the next step.
I hope it will help you.
Copyright 2024 ErrorGram