github / github/copilot-cli

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

Open
#552 30 comments 3 reactions 1 assignee Claimed by @andyfeller View on GitHub
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.