Skip to content

Commit 929b338

Browse files
authored
Update code-create-chat-client-entra.md
1 parent 3a7e756 commit 929b338

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/ai-foundry/model-inference/includes/code-create-chat-client-entra.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ Authorization: Bearer <bearer-token>
138138
Content-Type: application/json
139139
```
140140

141+
Tokens have to be issued with scope `https://cognitiveservices.azure.com/.default`.
142+
141143
For testing purposes, the easiest way to get a valid token for your user account is to use the Azure CLI. In a console, run the following Azure CLI command:
142144

143145
```azurecli

0 commit comments

Comments
 (0)