Answer: You must assign your identity the `Foundry User` or `Cognitive Services User` role on your Foundry resource when authenticating with Microsoft Entra ID or a bearer token it issued. `Foundry User` may still appear under its previous name, `Azure AI User`. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/foundry-rbac-permissions Revision: 3 Digest: sha256:eb3ac27990f8e5ec (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:42Z Last changed: 2026-11-17T12:27:39Z (Alternative role: — → Cognitive Services User) Last verified: 2026-11-20T12:22:12Z Next check: 2026-11-21T12:22:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Required role | Foundry User | [1] | 2026-11-20 Alternative role | Cognitive Services User | [1] | 2026-11-20 Previous role name | Azure AI User | [1] | 2026-11-20 Authentication method | Microsoft Entra ID | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code on Microsoft Foundry". https://code.claude.com/docs/en/microsoft-foundry.md Role: primary. Accessed: 2026-11-20T12:22:12Z Quote: "assign your identity the `Foundry User` or `Cognitive Services User` role on your Foundry resource" (Supports: Required role, Alternative role) Quote: "You might still see `Foundry User` under its previous name, `Azure AI User`." (Supports: Previous role name) Quote: "If you authenticate with Microsoft Entra ID or a bearer token it issued" (Supports: Authentication method) Published: 2026-11-20T10:36:07Z Snapshot SHA-256: 6880acc75e13a7f03c8092103ce89d8795215df081b704be7e7587d54a9c8289 (captured 2026-11-17T12:27:36Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:27:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:22:12Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:22:12Z Last attempt: 2026-11-20T12:22:12Z Notes and limitations: Extracted automatically from a single official source (section "Azure RBAC configuration"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/gateway-availability-limitations What are the availability and limitations of the Claude apps gateway for Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/gateway-multiple-upstreams How do I configure multiple upstreams in the Claude apps gateway.yaml file? https://latestn.com/tool/claude-code/admin-and-enterprise/gateway-oidc-setup How do I set up OIDC authentication for the Claude apps gateway? https://latestn.com/tool/claude-code/admin-and-enterprise/enable-opentelemetry How do I enable OpenTelemetry telemetry in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/enforce-policy-with-mod How do I enforce a policy with my own mod in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/enforce-sandbox-org-wide How do I enforce a sandbox isolation policy across an organization in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T12:27:39Z | changed | Alternative role: — → Cognitive Services User | [1] 2026-11-17T12:27:39Z | changed | Required role: — → Foundry User | [1] 2026-11-17T12:27:39Z | changed | Required role 2: Cognitive Services User → — | [1] 2026-11-17T12:27:39Z | changed | Required role 1: Foundry User → — | [1] 2026-11-15T12:22:19Z | changed | Required role 2: — → Cognitive Services User | [1] 2026-11-15T12:22:19Z | changed | Required role 1: — → Foundry User | [1] 2026-11-15T12:22:19Z | changed | Alternative role: Cognitive Services User → — | [1] 2026-11-15T12:22:19Z | changed | Required role: Foundry User → — | [1] 2026-11-13T03:04:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/foundry-rbac-permissions/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/foundry-rbac-permissions POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/foundry-rbac-permissions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/foundry-rbac-permissions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What Azure RBAC permissions are required to use Claude Code with Microsoft Foundry? Revision 3, last verified 2026-11-20T12:22:12Z. https://latestn.com/tool/claude-code/admin-and-enterprise/foundry-rbac-permissions (accessed 2026-11-21T10:01:33Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_foundry_rbac_permissions_r3, title = {What Azure RBAC permissions are required to use Claude Code with Microsoft Foundry?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/foundry-rbac-permissions}}, note = {Revision 3; digest sha256:eb3ac27990f8e5ec; last verified 2026-11-20T12:22:12Z; accessed 2026-11-21T10:01:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/foundry-rbac-permissions