GitHub Copilot CLI error
Copilot CLI: You are not authorized to use this Copilot feature, it requires an...
You are not authorized to use this Copilot feature, it requires an enterprise or organization policy to be enabled.Status: By designLast verified 2 documented fixes3 sources
What it means
The Copilot API refused the request because the Copilot CLI policy is not enabled, or not yet in effect, for the organization or enterprise that gives you Copilot.
Causes
- The Copilot CLI policy is disabled for your org or enterprise.
- The policy was enabled recently. Maintainer RyanHecht: "sometimes setting the policy takes ~5-10 minutes to take effect."
How to fix it
- Fix 1.
Have an org/enterprise owner enable the Copilot CLI policy, then wait a few minutes and retry (RyanHecht, #118).
- Fix 2.
Upgrade. v0.0.328 "Improved error message received when Copilot CLI is blocked by organization policy". v0.0.411 "Improve error messaging and guidance when access denied by policy". Per staff in #116: "As of v1.0.5, 403 errors from policy-blocked accounts now surface actionable guidance with a link to your Copilot settings".
More Copilot CLI errors
All 12 Copilot CLI errors✗ No model available. Check policy enablement under GitHub Settings > CopilotStatus: Fixed in releaseRequest failed due to a transient API error. Retrying...Status: Open✗ Execution failed: Error: Failed to get response from the AI model; retried 5 times (total retry wait time: 5.927545045390875 seconds) Last error: Unknown errorStatus: Fixed in releaseCAPIError: 400 {"message":"","code":"invalid_request_body"}Status: OpenExecution failed: CAPIError: 400 {"error":{"code":"bad_request","type":"websocket_error","message":"Duplicate item found with id fc_call_ikBrgmi06fcJeO6uIpJJEQbJ. Remove duplicate items from your input and try again."}}Status: Open✗ Model call failed: "Connection error." ✗ Execution failed: CAPIError: Connection error.Status: Fixed in releaseposix_spawnp failureStatus: Fixed in releaseServer failed to connectStatus: Fixed in release
Related reading
- GitHub Copilot's September Reset: Prepaid Seats, One Unified Agent Experience, Balanced Reviews by DefaultGitHub Copilot September changes: prepaid Business and Enterprise seats, one unified agent experience and Balanced reviews by default. What it means for teams.
- GitHub Adds Enterprise Team Model Policy Targeting: Admin Control Over Which AI Models Each Team GetsGitHub Copilot enterprise model policy targeting lets admins set a company-wide model baseline and grant extra models to teams. How the preview works.
- Claude Code vs Codex vs Copilot CLI: Local Sandboxes ComparedCopilot CLI local sandboxing is GA. How it compares with Claude Code and Codex on defaults, network, credentials, Windows, and what still runs outside.
- GitHub Copilot CLI With Ollama: Local Models and the New SandboxCopilot CLI 1.0.94 finds local Ollama models from /model and ships an OS-level sandbox. Setup, the 4k context trap, and why local is not offline.
- Claude Sonnet 5.5 Developer Guide: Pricing and API ChangesClaude Sonnet 5.5 costs $2/$10 per million tokens, and cache reads fell to $0.10 on October 7 - half of Opus 5.5 on every line. Pricing math and API changes.
- GitHub's August 17 Outage: Agent Fleets Need a 4-Hour Local FallbackGitHub's August 17 outage ran 7 hours 47 minutes across PRs, Actions, APIs and Copilot. Why coding agent fleets need a four-hour local fallback.
FAQ
What does "You are not authorized to use this Copilot feature, it requires an..." mean in Copilot CLI?
The Copilot API refused the request because the Copilot CLI policy is not enabled, or not yet in effect, for the organization or enterprise that gives you Copilot.
How do I fix "You are not authorized to use this Copilot feature, it requires an..."?
There are 2 documented fixes. Start with the first: Have an org/enterprise owner enable the Copilot CLI policy, then wait a few minutes and retry (RyanHecht, #118).
Is this Copilot CLI error fixed?
Status: By design. Expected behavior, not a bug. The documented fixes change the setup that triggers it. Affected versions: Reported on 0.0.328; error guidance improved in 0.0.328, 0.0.411 and 1.0.5.
Sources
Last verified against 3 sources: official docs, maintainer replies and release notes.
Newsletter
Fixes for the tools you use, weekly
One email per week. New coding agent releases, what broke, and how developers are working around it.