The following outlines the key steps:
Step 1: Set up an Azure AD tenant.
For detailed instructions, refer to Quickstart: Set up a tenant.
Step 2: Register an application with the Microsoft identity platform.
For detailed instructions, refer to Quickstart: Register an application.
Step 3: Configure an application to expose a web API.
For detailed instructions, refer to Quickstart: Register and expose a web API - Microsoft Entra | Microsoft Docs.
Step 4: Configure a client application to access a web API.
For detailed instructions, refer to Quickstart: Configure an app to access a web API - Microsoft Entra | Microsoft Docs.
During the process of creating the tenant, write down the following information:
-
Tenant ID: for example, 0ffb9ae0-c080-4913-aa94-ed08b5de4d40
-
Primary domain: for example, powerservertest.onmicrosoft.com
-
Application (client) ID: for example, 49cddad2-721d-4fbc-bd64-1cfa2b183e00
-
Client secret: for example, 2ig8hfliVu.u1kl_79RbyZuh~.X_b~e~3M
-
Application ID URI: for example, api://49cddad2-721d-4fbc-bd64-1cfa2b183e00
-
Scope: for example, 49cddad2-721d-4fbc-bd64-1cfa2b183e00/.default
The above information will be used later.