Skip to content

Failed to list models: 403 : unauthorized: not authorized to use this Copilot feature #552

@SteveFeldman

Description

@SteveFeldman

Describe the bug

My organization has enabled copilot cli. However, I am not able to see any of the models. I receive the following log message:

Failed to list models: 403 : unauthorized: not authorized to use this Copilot feature

Affected version

0.0.355

Steps to reproduce the behavior

  1. Open copilot cli
  2. enter a simple prompt

sfeldman@PRTM-SFeldman ~ % copilot
Welcome to GitHub Copilot CLI
Version 0.0.355 · Commit 90c0eb793

Copilot can write, test and debug code right from your terminal. Describe a task to get started or enter ? for help. Copilot uses
AI, check for mistakes.

● Connected to GitHub MCP Server

● Logged in as user: SteveFeldman

✗ No model available. Check policy enablement under GitHub Settings > Copilot

Expected behavior

One other user in the enterprise is able to see several models. The only difference is his account is only for our enterprise. My account is my longtime github account that has been added to the organization.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions