Skip to content

Claude Agent unavailable with Claude3PIntegration=true: unchecked, locked setting displays “Enabled by organization” #340507

Open

Agent suggestions

Public preview

Description

Type: Bug

Environment

  • OS: macOS, Apple Silicon
  • VS Code: Stable 1.140.0; also observed in Insiders 1.142.0-insider
  • Account: Enterprise-managed GitHub account with a Copilot Enterprise seat
  • Device management: Microsoft Intune

Steps to reproduce

  1. Deploy the following Boolean policy through macOS managed preferences for Stable VS Code, using the com.microsoft.VSCode domain:
    Claude3PIntegration = true
    
  2. Launch VS Code and sign in to the enterprise-managed GitHub account.
  3. Open Settings and search for:
    @id:chat.agentHost.claudeAgent.enabled
    
  4. Observe that the checkbox is unchecked and disabled, while the setting displays “Enabled by organization.”
  5. Explicitly add the following to user settings:
    "chat.agentHost.claudeAgent.enabled": true
  6. Fully quit VS Code with Cmd+Q and reopen it.
  7. Check the setting again and search the Command Palette for “New Claude Session.”

Actual result

The setting remains unchecked and locked, despite the “Enabled by organization” label and the explicit device-policy and user-setting values. No “New Claude Session” command appears.

Expected result

When the effective policy enables Claude, the setting should display a consistent enabled state and expose the Claude session/setup workflow.

If a higher-priority policy disables Claude, the UI should accurately indicate that restriction rather than display “Enabled by organization.”

Relevant logs

Fresh Stable startup logs include:

Registering agent provider: claude
[Claude] SDK not downloaded yet; deferring the migratable chat list
[Claude] SDK not downloaded yet; deferring chat discovery
[Claude] Auth token updated
[Claude] Models refreshed (merged). Count: 8

The Window log also repeatedly reports:

MultiplexPolicyService#_updatePolicyDefinitions - Found overlapping keys in policy services: Claude3PIntegration

Additional context

  • The deployed managed preferences were inspected and confirmed to contain Boolean Claude3PIntegration=true.
  • The user setting was verified to remain saved as true.
  • No Claude SDK download failure was recorded; the logs indicate the SDK has not yet been downloaded.
  • The root cause is not confirmed. The overlapping policy warning may be relevant to the discrepancy between backend provider registration and editor-side availability.

VS Code version: Code 1.140.0 (07f806f, 2026-09-30T10:38:38+02:00)
OS version: Darwin arm64 25.6.0
Modes:

System Info
Item Value
CPUs Apple M5 Max (18 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M5 Max, Version 26.6.1 (Build 25G76))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.6.1 ACTIVE
Machine model name: Mac
Machine model version: 17.6
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 3
Memory (System) 128.00GB (60.96GB free)
Process Argv --crash-reporter-id 17c23541-d8c1-4b39-bfa5-a060cf7185ed
Screen Reader no
VM 0%
Extensions: none
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31572277
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ddid_t:31478206
hmra_i5g22:31518061
l_j1ci3728:31592440
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
sandbox-ui-on-2:31543161
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
0c1h4866:31566224
session-mark-done:31591648
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-control:31572633
allow-signed-out:31592042
b17abb00-cfec-4134-90da-ee5e32ce4426:31589248
intellij_nes_preview_t:31580086
multiv2:31574985
0ec91c74:31585910
links-treatment:31587702
aw-autom-on:31583758
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-control:31593045
0485115c-2712-4002-b6e9-b5d4e30fb963:31595629
sessioninlinediffenabled_disabled:31587634
welcomesignin9359t:31590011
b169b0b1-b17e-475c-9032-91b9b24dde97:31589214
d6a5dc66-a24d-4215-bf31-317b28ac768a:31589212
c4jch183:31592431
i67i8290:31595868
9hh48893:31595853
permission_prompt_treatment:1332566
ccr_pr_nudge_control:1319470
vsc_wsm_c:1340633
ce50c479:1417073
cfee5631:1379228
jc553158:1433349
cmc_aa_t:1435711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions