microsoft-foundry.md +10 −0
173export ENABLE_PROMPT_CACHING_1H=1173export ENABLE_PROMPT_CACHING_1H=1
174```174```
175 175
176### 5. Run Claude Code
177
178With the environment variables set, start Claude Code from your project directory:
179
180```bash theme={null}
181claude
182```
183
184Claude Code reads `CLAUDE_CODE_USE_FOUNDRY` and the other Foundry variables from the environment and connects to your Azure resource on the first prompt. Unlike Bedrock and Vertex AI, Foundry has no interactive setup wizard, so the environment variables in steps 3 and 4 are the only configuration path.
185
176## Azure RBAC configuration186## Azure RBAC configuration
177 187
178The `Azure AI User` and `Cognitive Services User` default roles include all required permissions for invoking Claude models.188The `Azure AI User` and `Cognitive Services User` default roles include all required permissions for invoking Claude models.