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
"Copilot Requests" permission for fine-grained tokens should be visible for org-owned tokens #223
Describe the feature or problem you'd like to solve
The "Copilot Requests" Permission does not display when creating a token owned by an organization
Proposed solution
Organizations do not want individual user PAT's being used to authenticate automations in corporate environments. This will unblock automation use cases for organizations
It looks like this is preventing me to use agentic workflow in an organization. The non-org PAT won't display me the Copilot Request permission either when I select repository to be non "public repositories". How can we workaround this?
Reacted by bannsec, hpfeiffer, Arthur Ferket, Karl Kell, Stein Tore Tøsse, Alex Bjørlig and rd-stefan-kerren
@RyanHecht this limitation preventing us from using the all workflows described in GitHub Agentic Workflows is there any plan to fix it or suggested workaround?
Reacted by nico, mosherobinov, Neal Humphrey, chrisferguson-tomtom, Rob de Rijk, jberzy, Mikita Liapkovich, Tri-Thong NGUYEN, Arthur Ferket, Karl Kell and 5 more
It seems that the reason for this not existing is because a CoPilot license is associated with a GitHub user and not so much with an organization.
What this results in is that when you generate a fine grained personal access token (FG-PAT), you need to set the resource owner to your own GitHub user, even if you use this within your organization/enterprise.
This resolved my issue and I'm now able to use GitHub agentic workflows in my enterprise organization. The documentation should definitely be improved to mention this.
However, you do not want this to be pinned to an Org user in most cases.
And since request pools also allow you to have eg a "team shared excess quota", im confident it wouldnt be that hard to link usage into one of those
not to mention id rather have a short lived token in my automated stuff, than personal permanent ones
I wanted to play around with this but the permission don't show up at all to me (a user account with Copilot) I even can't find a page describing "Copilot Requests" permission at all and where/when it is select-able!
It seems that the reason for this not existing is because a CoPilot license is associated with a GitHub user and not so much with an organization. What this results in is that when you generate a fine grained personal access token (FG-PAT), you need to set the resource owner to your own GitHub user, even if you use this within your organization/enterprise.
This resolved my issue and I'm now able to use GitHub agentic workflows in my enterprise organization. The documentation should definitely be improved to mention this.
This wouldn't work with private repositories owned by the organization as you can't give access to them.
It seems that the reason for this not existing is because a CoPilot license is associated with a GitHub user and not so much with an organization. What this results in is that when you generate a fine grained personal access token (FG-PAT), you need to set the resource owner to your own GitHub user, even if you use this within your organization/enterprise.
This resolved my issue and I'm now able to use GitHub agentic workflows in my enterprise organization. The documentation should definitely be improved to mention this.
This work for me. Thank you.
In case anyone don't know: if we set the PAT to All repos or some repo, the Copilot Request permission is under the Account tab.
Your screenshot is showing a fine-grained token for your personal account, reason why you are seeing "Account", while the original poster is asking how to define a fine-grained token for an organization (reason why on OP screenshot you can see "Organizations" instead of Account)".
So to reiterate thread/issue:
fine-grained tokens for a personal account (your handle) work,
fine-grained tokens for organizational level don't allow defining "Copilot Requests", which will make your cli requests result in: Authorization error
solution from @Brend-Smits if I understood correctly allows you to use app instead tokens, but this applies only to workflows (not local machine)? Or did I miss something?
+1 So it would be great to have some direction on this
Hi. My personal account is part of an organization. Creating a PAT on my personal account was the only work-around, as was observed by Brend and confirmed by my own setup.
Your screenshot is showing a fine-grained token for your personal account, reason why you are seeing "Account", while the original poster is asking how to define a fine-grained token for an organization (reason why on OP screenshot you can see "Organizations" instead of Account)".
So to reiterate thread/issue:
fine-grained tokens for a personal account (your handle) work,
fine-grained tokens for organizational level don't allow defining "Copilot Requests", which will make your cli requests result in: Authorization error
solution from @Brend-Smits if I understood correctly allows you to use app instead tokens, but this applies only to workflows (not local machine)? Or did I miss something?
+1 So it would be great to have some direction on this
Hi @geraldnguyen, thanks for clarifying! I think my point may have been a bit unclear, my account is part of the organization as well, private one. So I use fine-grained personal token (me as Resource Owner), but I cannot pull private org repositories into the Copilot CLI context with that token, I can do that only for the repos that are part of my account.
Hi @anitabee I reviewed my setup just now and turn out I didn't use the PAT with Copilot Request access to perform work on my organization's private repo.
This is my usecase:
I had a private repo under an organization
I regularly run some workflows which create Issues and assign to Copilot
Copilot automatically picks up the assigned issue, works on it, then create PR once it complete. It assigns the PR to me to review.
I reviews, request changes or approve and merge the request.
For this use case, I just need a PAT with the organization as the Resource Owner and necessary permissions to create GitHub issues
Is your use case similar? or more complex?
Thanks for clarifying and apology if this answer and my previous cause any confusion.
I was trying to setup an automation workflow for my organization too, but I ran into a similar problem - when I request PAT with me as Resource Owner, I don't see organization repositories (org has enterprise account), and when I request PAT with organization as Resource Owner, I don't see "Copilot Requests" in permission list.
It's an absolute blocker for any automated copilot-backed action.
+1 to this. This issue is preventing us from introducing a lot of gh copilot features into our release workflows. There should be some way for me to configure this for our organization. I mean the billing should be straightforward, we already have the code review agent that is billed to the org so maybe we can introduce something similar here.
+1 to this as well. We're unable to provide a fine grained PAT to service account which is then supposed be used as a COPILOT_GITHUB_TOKEN to make a request to copilot using the CLI.
Activity
arqex commentedon Nov 26, 2025
My use case for this:
ghcommand is configuredghtoken, that has nocopilot requestpermissionI have to choose, either I can use
ghfor accessing the repo, or I can usecopilot CLIbut I can't use both with one token in the same sandbox.Please enable "copilot requests" permission for organization owned tokens, or enable a different token authentication for github cli.
Azuna1 commentedon Feb 9, 2026
either this, or add GITHUB_COPILOT_TOKEN to be prioritized over GITHUB_TOKEN when authenticating, or just let us use token auth via CLI argument
winzou commentedon Feb 14, 2026
It looks like this is preventing me to use agentic workflow in an organization. The non-org PAT won't display me the Copilot Request permission either when I select repository to be non "public repositories". How can we workaround this?
bannsec commentedon Feb 16, 2026
Yep, me too. Why can't we use this permission? I'm completely stuck.
joeynaor commentedon Feb 19, 2026
We need this as well
vfportero commentedon Feb 20, 2026
+1!!!
ShaharNoy17 commentedon Feb 23, 2026
@RyanHecht this limitation preventing us from using the all workflows described in GitHub Agentic Workflows is there any plan to fix it or suggested workaround?
mslocum-fortegra commentedon Feb 24, 2026
Agreed, we need this capability!
dkattan commentedon Mar 5, 2026
This is a total blocker right now
rwguerra commentedon Mar 15, 2026
Any new on this?
Brend-Smits commentedon Mar 16, 2026
It seems that the reason for this not existing is because a CoPilot license is associated with a GitHub user and not so much with an organization.
What this results in is that when you generate a fine grained personal access token (FG-PAT), you need to set the resource owner to your own GitHub user, even if you use this within your organization/enterprise.
This resolved my issue and I'm now able to use GitHub agentic workflows in my enterprise organization. The documentation should definitely be improved to mention this.
Azuna1 commentedon Mar 16, 2026
However, you do not want this to be pinned to an Org user in most cases.
And since request pools also allow you to have eg a "team shared excess quota", im confident it wouldnt be that hard to link usage into one of those
not to mention id rather have a short lived token in my automated stuff, than personal permanent ones
laeubi commentedon Mar 23, 2026
I wanted to play around with this but the permission don't show up at all to me (a user account with Copilot) I even can't find a page describing "Copilot Requests" permission at all and where/when it is select-able!
9 remaining items
navidpadid commentedon Apr 10, 2026
This wouldn't work with private repositories owned by the organization as you can't give access to them.
navidpadid commentedon Apr 13, 2026
Related issue: github/gh-aw#18379
SuperFamousGuy commentedon Apr 21, 2026
+1 for this. It currently a total blocker for my ability to use Agentic Workflows on private org-owned repos.
Fix PAT permission name doc + add token-type diagnostic step (#7)
fix: PAT 種別を Fine-grained 必須に訂正(Classic PAT は Copilot CLI 非対応)
anitabee commentedon May 27, 2026
Your screenshot is showing a fine-grained token for your personal account, reason why you are seeing "Account", while the original poster is asking how to define a fine-grained token for an organization (reason why on OP screenshot you can see "Organizations" instead of Account)".
So to reiterate thread/issue:
+1 So it would be great to have some direction on this
geraldnguyen commentedon May 28, 2026
Hi. My personal account is part of an organization. Creating a PAT on my personal account was the only work-around, as was observed by Brend and confirmed by my own setup.
anitabee commentedon May 28, 2026
Hi @geraldnguyen, thanks for clarifying! I think my point may have been a bit unclear, my account is part of the organization as well, private one. So I use fine-grained personal token (me as Resource Owner), but I cannot pull private org repositories into the Copilot CLI context with that token, I can do that only for the repos that are part of my account.
geraldnguyen commentedon May 28, 2026
Hi @anitabee I reviewed my setup just now and turn out I didn't use the PAT with Copilot Request access to perform work on my organization's private repo.
This is my usecase:
For this use case, I just need a PAT with the organization as the Resource Owner and necessary permissions to create GitHub issues
Is your use case similar? or more complex?
Thanks for clarifying and apology if this answer and my previous cause any confusion.
vforge commentedon May 28, 2026
I was trying to setup an automation workflow for my organization too, but I ran into a similar problem - when I request PAT with me as Resource Owner, I don't see organization repositories (org has enterprise account), and when I request PAT with organization as Resource Owner, I don't see "Copilot Requests" in permission list.
It's an absolute blocker for any automated copilot-backed action.
anitabee commentedon May 28, 2026
@geraldnguyen I think @vforge's screenshots nicely demonstrate my issue, it comes down to a difference of token being owned by organization or user.
Use case is different than yours but I think quite simple:
lsickert commentedon May 29, 2026
+1 to this. This issue is preventing us from introducing a lot of gh copilot features into our release workflows. There should be some way for me to configure this for our organization. I mean the billing should be straightforward, we already have the code review agent that is billed to the org so maybe we can introduce something similar here.
sudughonge commentedon Jun 10, 2026
+1 to this as well. We're unable to provide a fine grained PAT to service account which is then supposed be used as a
COPILOT_GITHUB_TOKENto make a request to copilot using the CLI.ltpitt commentedon Jun 11, 2026
Same problem here, I need to run copilot cli in pipeline and I have no way to create a personal fine-grained token including the mentioned permissions
RyanHecht commentedon Jul 15, 2026
Hey folks! We've shipped the capability for you to use the
GITHUB_TOKENin Actions to authenticate Copilot CLI! https://github.com/proxy/docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli-in-actionsThis includes Agentic Workflows as well!
General PAT support is still missing, but this might help some of your usecases :)