Skip to content

Commit eccad6c

Browse files
authored
Merge pull request #201448 from dlepow/patch-120
Update api-management-authentication-policies.md
2 parents 2dbf227 + 6f21f12 commit eccad6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/api-management/api-management-authentication-policies.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ Both system-assigned identity and any of the multiple user-assigned identities c
154154
```
155155

156156
```xml
157-
<authentication-managed-identity resource="Client_id_of_Backend"/> <!--Your own Azure AD Application-->
157+
<authentication-managed-identity resource="AD_application_id"/> <!--Application (client) ID of your own Azure AD Application-->
158158
```
159159

160160
#### Use managed identity and set header manually
161161

162162
```xml
163-
<authentication-managed-identity resource="Client_id_of_Backend"
164-
output-token-variable-name="msi-access-token" ignore-error="false" /> <!--Your own Azure AD Application-->
163+
<authentication-managed-identity resource="AD_application_id"
164+
output-token-variable-name="msi-access-token" ignore-error="false" /> <!--Application (client) ID of your own Azure AD Application-->
165165
<set-header name="Authorization" exists-action="override">
166166
<value>@("Bearer " + (string)context.Variables["msi-access-token"])</value>
167167
</set-header>

0 commit comments

Comments
 (0)