The information of the Microsoft Entra ID tenant is required to use in the later sections.
The following outlines the key steps to create an a Microsoft Entra ID tenant:
Step 1: Set up a Microsoft Entra ID 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
Application (client) ID, Client secret, and Scope will be used in the Get the token section.
Primary domain, Tenant ID, and Application (client) ID will be used in the Modifying the authentication template section.