github / github/copilot-cli

You are not authorized to use this Copilot feature, it requires an enterprise or organization policy to be enabled

未關閉
#2,306 9 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
area:authentication area:enterprise
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。