You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
All requests show "403 Unauthorized: not authorized to use this Copilot feature\n" #18
Hi folks! As @TeplrGuy pointed out, this error means that your organization needs to enable the "Copilot CLI" policy on the Copilot feature settings page. We have an internal action item to make the message clearer, stay tuned for an update on that!
@RyanHecht Hi RyanHecht, I enable the policy like 30 minutes ago, but I still can't use the CLI and still got the same error. It's takes time for the policy to take effect? I logged in again, just in case, but got the same.
Same problem and the CLI policy was enabled from the beginning of my account
× Model call failed: "401 401 unauthorized: Personal Access Token does not have Copilot Requests permission\n"
× Execution failed: 401 401 unauthorized: Personal Access Token does not have Copilot Requests permission
Getting a × You are not authorized to use this Copilot feature, it requires an enterprise or organization policy to be enabled. error even after enabling the GitHub CLI policy - any tips?
Activity
TeplrGuy commentedon Sep 25, 2025
I am also getting the same 403 error from Gitbash on my windows machine.
TeplrGuy commentedon Sep 25, 2025
Looks like this feature needs to be enabled in Copilot feature settings page.
Documentation: https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli
RyanHecht commentedon Sep 25, 2025
Hi folks! As @TeplrGuy pointed out, this error means that your organization needs to enable the "Copilot CLI" policy on the Copilot feature settings page. We have an internal action item to make the message clearer, stay tuned for an update on that!
francovp commentedon Sep 25, 2025
@RyanHecht Hi RyanHecht, I enable the policy like 30 minutes ago, but I still can't use the CLI and still got the same error. It's takes time for the policy to take effect? I logged in again, just in case, but got the same.
asw101 commentedon Sep 25, 2025
@RyanHecht I am also seeing this issue.
devslimbr commentedon Sep 26, 2025
Same problem and the CLI policy was enabled from the beginning of my account
× Model call failed: "401 401 unauthorized: Personal Access Token does not have Copilot Requests permission\n"
× Execution failed: 401 401 unauthorized: Personal Access Token does not have Copilot Requests permission
RyanHecht commentedon Sep 26, 2025
We've improved the error message to make this clearer in http://github.com/github/copilot-cli/releases/tag/v0.0.328!
JGalego commentedon Sep 29, 2025
Getting a
× You are not authorized to use this Copilot feature, it requires an enterprise or organization policy to be enabled.error even after enabling the GitHub CLI policy - any tips?