You are not authorized to use this Copilot feature, it requires an enterprise or organization policy to be enabled
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
### Describe the bug
THis happens 2 - 3 times a week for me and then disapears. I was using co pilot last night and this morning i come in to get this error
You are not authorized to use this Copilot feature, it requires an enterprise or organization policy to be enabled
/context returns this
Context information is not yet available. Please wait for login to complete
But I am logged in
/models returns
Failed to load models: access denied by Copilot policy. (Request ID: DFBE:25DEF5:25AD435:2B5358B:69C4FFD6)
Check your Copilot CLI policy setting.
I am the admin and i know the settings HAVE NOT Changed since last night. The version last night was the same
### Affected version
v1.0.11
### Steps to reproduce the behavior
Use co pilot
### Expected behavior
Not to get this error message
### Additional context
2026-03-26T09:43:51.208Z [INFO] Starting Copilot CLI: 1.0.11
2026-03-26T09:43:51.208Z [INFO] Node.js version: v24.11.1
2026-03-26T09:43:51.209Z [INFO] Registering foreground session: 50a2f91d-9c24-4025-975e-d160917f2847
2026-03-26T09:43:51.215Z [INFO] Workspace initialized: 50a2f91d-9c24-4025-975e-d160917f2847 (checkpoints: 0)
2026-03-26T09:43:51.494Z [INFO] Login status unknown
2026-03-26T09:43:51.494Z [INFO] Registering foreground session: 50a2f91d-9c24-4025-975e-d160917f2847
2026-03-26T09:43:51.506Z [INFO] Remote session access enabled
2026-03-26T09:43:51.507Z [INFO] Init suggestion check completed
2026-03-26T09:43:51.526Z [INFO] Welcome stewartadvt!
2026-03-26T09:43:51.648Z [INFO] Registering foreground session: 50a2f91d-9c24-4025-975e-d160917f2847
2026-03-26T09:43:51.658Z [ERROR] Starting remote MCP client for github-mcp-server with url: https://api.individual.githubcopilot.com/mcp/readonly
2026-03-26T09:43:51.658Z [ERROR] Creating MCP client for github-mcp-server...
2026-03-26T09:43:51.658Z [ERROR] Connecting MCP client for github-mcp-server...
2026-03-26T09:43:51.997Z [INFO] No update needed, current version is 1.0.11, fetched latest release is v1.0.11
2026-03-26T09:43:53.462Z [ERROR] MCP client for github-mcp-server connected, took 1804ms
2026-03-26T09:43:53.462Z [ERROR] Started MCP client for remote server github-mcp-server
2026-03-26T09:43:53.463Z [ERROR] GitHub MCP server configured after authentication
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il fallimento intermittente in Copilot CLI con /context e /models mentre esamini il log di avvio fornito, in particolare “Login status unknown” e gli errori relativi ai criteri. Il lavoro è completato quando l’amministratore autenticato riceve costantemente il contesto e i modelli senza l’errore di autorizzazione; conserva l’ID della richiesta e i tempi se il problema persiste.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- node.js, shell
- Ambito
- authentication, authorization, cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100