You are not authorized to use this Copilot feature, it requires an enterprise or organization policy to be enabled
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### 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
Guia de contribuição
Direção de pesquisa
Comece reproduzindo a falha intermitente no Copilot CLI com /context e /models enquanto revisa o log de inicialização fornecido, especialmente “Login status unknown” e os erros de política. Considera-se concluído quando o administrador autenticado recebe consistentemente o contexto e os modelos sem o erro de autorização; mantenha o ID da solicitação e os tempos caso o problema persista.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- node.js, shell
- Domínio
- authentication, authorization, cli
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Ativa
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100