Skip to content

Commit 0e7389f

Browse files
authored
Update credentials-how-to-azure-ad.md
Authorization header
1 parent 3539bae commit 0e7389f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/api-management/credentials-how-to-azure-ad.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ On the **Connection** tab, complete the steps for your connection to the provide
132132
<inbound>
133133
<base />
134134
<get-authorization-context provider-id="MicrosoftEntraID-01" authorization-id="first-connection" context-variable-name="auth-context" identity-type="managed" ignore-error="false" />
135-
<set-header name="credential" exists-action="override">
136-
<value>@("Bearer " + ((credential)context.Variables.GetValueOrDefault("auth-context"))?.AccessToken)</value>
135+
<set-header name="Authorization" exists-action="override">
136+
<value>@("Bearer " + ((Authorization)context.Variables.GetValueOrDefault("auth-context"))?.AccessToken)</value>
137137
</set-header>
138138
</inbound>
139139
<backend>

0 commit comments

Comments
 (0)