To generate an authorization code, select the GET method with the necessary query parameters,
and retrieve the code from the redirect URL after you authenticate to the SharePoint
Online application.
Open the PostMan application.
In Postman, enter one of the following URLs based on your account type:
For a single tenant account, enter the following URL:
Replace <Single_Tenant_Id_value> with the tenant ID found in the overview section of your registered application if you are working with a single tenant account. For multi-tenant accounts, use the organizations endpoint.
Select the
GET
method.
On the
Params
tab, enter the name and value.
To authenticate and verify access permissions, enter the following query
parameters:
The scope query contains delegated permissions for your Azure application. If you selected
AllSites.Manage
as the delegated permission when
you registered the Azure application with Azure Active Directory, specify
the permission in the scope query parameter as shown in the following
example: