Skip to content

Claude Code Enterprise Admin Console Settings and Hooks

Enterprise Admin Console hooks and a status line can apply at sign-in in Claude Code 2.1.336 or later, subject to machine policy and gateway configuration.

Claude Code can apply an Enterprise Admin Console organization's settings at sign-in. The 2.1.330 entry reads: "Added sign-in to organizations managed in Anthropic's Enterprise Admin Console: after claude auth login, Claude Code applies the organization's settings and uses its cloud provider or gateway" (changelog). Version 2.1.336 added hooks and a status line to those settings. Three conditions decide whether the path fits your fleet:

  • Every client runs 2.1.336 or later. The changelog adds console hooks in that release and console sign-in in 2.1.330.
  • The list of accepted console organizations sits in an MDM policy or a managed settings file. Claude Code ignores it in settings delivered from a console.
  • The console alone cannot require sign-in. The guide calls console settings "a client-side control, not a security boundary" (require sign-in with managed settings).

If you keep managed settings on a machine, "name your organization in them" so the machine can follow the console (settings priority). Hooks and the status line need the machine to accept the organization's commands. With Gateway-managed Claude Code on, interactive sign-in, and no identity provider, the gateway's settings take over after login. "Neither setting then applies" (hooks and status line).

Which claude.ai path applies

The claude.ai console has two paths for Claude Code settings. Classic server-managed settings live on the Claude Code page of the organization settings. An organization that sets its provider or gateway on the Desktop 3P page follows the Enterprise Admin Console guide instead (server-managed settings).

The two paths differ on third-party providers. When a user sets a provider variable such as CLAUDE_CODE_USE_BEDROCK, or "a non-default ANTHROPIC_BASE_URL", classic "Server-managed settings are bypassed" (server-managed settings). The admin setup guide gives Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry deployments two other routes. A Claude apps gateway gives them the same remote delivery, or they use a file-based or OS-level mechanism. A console sign-in carries the organization's cloud provider or gateway with it. From 2.1.336 that includes a base URL on Amazon Bedrock, Mantle, Google Cloud's Agent Platform and Microsoft Foundry connections (changelog).

What the console delivers, by version

Version Date Change
2.1.330 November 20, 2026 Sign-in to console organizations applies their settings and their cloud provider or gateway
2.1.335 December 3, 2026 In Enterprise Admin Console organizations, local MCP servers stop when "Allow local MCP servers" is off, "unless an admin's allowlist names them"
2.1.336 December 3, 2026 Hooks and a status line, "including hooks already saved in the console"; provider base URLs; identity provider sign-in for an Amazon Bedrock proxy; new /status rows; the allowedAdminConsoleOrgUUIDs setting
2.1.337 December 4, 2026 Sign-in keeps "the computer's managed allow rules and default mode, and its status line and MCP server list unless the console has its own"

All rows come from the Claude Code changelog. The phrase "including hooks already saved in the console" means a console can hold hooks that a pre-2.1.336 client never runs (inference from the entry).

A developer signs in with claude auth login and selects the organization in the browser. "To confirm, look for Signed in to the organization in the terminal" (authentication).

Pin accepted organizations on the machine

allowedAdminConsoleOrgUUIDs lists the Enterprise Admin Console "organizations whose settings a managed machine accepts when a developer signs in." Claude Code refuses a sign-in to any other console organization. The key requires v2.1.336 or later (settings reference).

The settings reference says to set it "in the MDM policy if the machine has one, otherwise in a managed settings file". Claude Code ignores it in HKCU, in server-managed settings, in policyHelper output, and in any source that also sets forceLoginOrgUUID. An invalid value is "Treated as an empty list until the value is fixed" (managed settings).

For console organizations whose developers use API keys or tokens, the settings reference says to set this key and remove forceLoginOrgUUID and forceLoginMethod. Under forceLoginOrgUUID, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN and apiKeyHelper are "blocked at startup", because "organization membership can't be verified for an environment credential" (authentication). The new key, "unlike forceLoginOrgUUID, still allows API keys and tokens" (changelog). It "doesn't limit claude.ai or Claude Console logins". On v2.1.337 or later, also list each claude.ai or Claude Console organization whose server-managed settings should apply in full (settings reference).

Managed subprocesses lose the organization's base URL

The 2.1.336 entry reads: "Changed managed hooks, managed MCP servers and credential helpers to no longer get an ANTHROPIC_BASE_URL that an Enterprise Admin Console organization sets" (changelog). The env setting otherwise reaches "the subprocesses Claude Code starts" from a session (settings reference). The changelog gives no reason for the exception. A managed hook that called Claude through the inherited gateway address now needs its own address (inference from the entry).

Check what applied with /status

On v2.1.336 or later, /status shows a Partly applied sources line when "the developer is signed in to an Enterprise Admin Console organization, and some of the source's settings" apply alongside the organization's (managed settings). The same release added rows for "the AWS profile they chose, and how their sign-in relates to your own ANTHROPIC_BASE_URL". It also fixed /status listing a computer's managed settings as skipped when they partly apply (changelog).

Why it works

The settings travel with the sign-in, so they reach the session on whichever provider or gateway the organization chose (changelog). Classic server-managed settings need a direct connection to api.anthropic.com and an eligible credential, and a third-party provider variable bypasses them (server-managed settings). The machine-side allowlist holds because Claude Code "ignores a value in remote settings" for allowedAdminConsoleOrgUUIDs (managed settings). A console therefore cannot widen the set of organizations a machine accepts.

When this backfires

  • Mixed client versions. Console hooks arrived in 2.1.336 (changelog), so older clients do not run them. Check that the hooks apply on newer clients before you rely on them.
  • forceLoginOrgUUID left in place. Claude Code ignores allowedAdminConsoleOrgUUIDs in a source that also sets forceLoginOrgUUID (settings reference), and the API keys stay blocked.
  • The allowlist set only in the console. Claude Code ignores it in remote settings (managed settings), so the machine has no allowlist at all.
  • Unstated priority rules. The Claude Code docs send readers to the Enterprise Admin Console guide for "which settings take priority" (managed settings). Version 2.1.337, one day after 2.1.336, changed which machine settings survive a console sign-in (changelog).
  • Devices you do not manage. Classic server-managed settings are "a client-side control, not a security boundary" (security considerations). Endpoint-managed settings "provide stronger security guarantees" on MDM-enrolled devices (choose between settings types). A fleet on MDM still needs that MDM for the allowlist, so the console adds a second source to audit.

Example

The settings reference gives this managed-settings.json, which accepts settings from one console organization (settings reference):

{
  "allowedAdminConsoleOrgUUIDs": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]
}

Deploy it through MDM or as a managed settings file. If developers use API keys, remove forceLoginOrgUUID and forceLoginMethod. After a developer signs in, check /status.

Key Takeaways

  • The console path is the claude.ai option for organizations whose provider or gateway is set under Desktop 3P. Classic server-managed settings skip third-party provider sessions.
  • Set a 2.1.336 floor for console hooks. Verify that each machine accepts the organization's commands and that the gateway does not replace the console settings.
  • Put allowedAdminConsoleOrgUUIDs in MDM or a managed file, never only in the console, and never beside forceLoginOrgUUID in one source.
  • From 2.1.336, a managed hook or credential helper that calls the organization's gateway needs its own address.
  • Check machine policy for the organization ID. Use /status to see which sources applied.