Skip to content

Commit 1639b06

Browse files
committed
wip
1 parent 7fba375 commit 1639b06

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

articles/api-management/applications.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The following example uses the **Starter** product, but choose any published pro
8080

8181
1. Sign in to the Azure portal at the following test URL:
8282

83-
[`https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applicationNewRoleValueFormat=true`](https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applicationNewRoleValueFormat=true)
83+
[`https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applications=true`](https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applications=true)
8484
1. Navigate to your API Management instance.
8585
1. In the left menu, under **APIs**, select **Products**.
8686
1. Choose the product you want to configure, such as the **Starter** product.
@@ -105,11 +105,16 @@ Review application settings in **App registrations**:
105105
1. Sign in to the Azure portal and navigate to **Microsoft Entra ID** > **Manage** > **App registrations**.
106106
1. Select **All applications**.
107107
1. Search for and select the application created by API Management.
108+
1. On the **Overview** page, note the **Application (client) ID**. This ID is set as the **Audience** value when creating a client application to access the product.
108109
1. In the left menu, under **Manage**, select **App roles**.
109110
1. Confirm that an application role was set by Azure API Management, as shown in the following screenshot:
110111

111112
:::image type="content" source="media/applications/application-roles.png" alt-text="Screenshot of app roles in the portal.":::
112113

114+
The backend application ID is also displayed in API management in the product's **Properties** pane. This ID is set as the **Audience** value when creating a client application to access the product. Also use this value when generating a token to call the product API.
115+
116+
:::image type="content" source="media/applications/product-application-settings.png" alt-text="Screenshot of product's application settings in the portal.":::
117+
113118
## Create client application to access product
114119

115120
Now create a client application that is registered in Microsoft Entra ID and limits access to one or more products.
@@ -120,7 +125,7 @@ Now create a client application that is registered in Microsoft Entra ID and lim
120125

121126
1. Sign in to the Azure portal at the following test URL:
122127

123-
[`https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applicationNewRoleValueFormat=true`](https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applicationNewRoleValueFormat=true)
128+
[`https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applications=true`](https://portal.azure.com/?showversion=true&feature.customPortal=false&Microsoft_Azure_ApiManagement=javierbo2&applications=true)
124129
1. Navigate to your API Management instance.
125130
1. In the left menu, under **APIs**, select **Applications** > **+ Register application**.
126131
1. In the **Register an application** pane, enter the following application settings:
@@ -172,7 +177,7 @@ A developer or client app can run the following Azure PowerShell scripts to call
172177
173178
$clientId = "00001111-aaaa-2222-bbbb-3333cccc4444" # Client (application) ID of client application
174179
$clientSecret = "******" # Retrieve secret of client application in developer portal
175-
$scopeOfOtherApp = "api://055556666-ffff-7777-aaaa-8888bbbb9999/.default" # Value of Audience in product properties
180+
$scopeOfOtherApp = "api://55556666-ffff-7777-aaaa-8888bbbb9999/.default" # Value of Audience in product properties
176181
$tenantId = "aaaabbbb-0000-cccc-1111-dddd2222eeee" # Your tenant id
177182
178183
$body = @{
59 KB
Loading

0 commit comments

Comments
 (0)