Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate-boards command fails when ADO GitHub Connection setup as GitHub App auth type #1258

Open
connorstorer-kbxcom opened this issue Aug 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@connorstorer-kbxcom
Copy link

Description

gh ado2gh integrate-boards --ado-org "{ado_org}" --ado-team-project "{ado-team-project}" --github-org "{github-org}" --github-repo "{github-repo}"

The integrate-boards commands fails when the Github Connection for Azure Boards is set up as GitHub App authentication type (aka InstallationToken authorizationScheme). The endpoint used to assist with adding a new github repo to the list of repositories the ADO github connection has access to receives the following error in response. I don't want to use a PAT.

"""dataProviders"": {
  ""ms.vss-web.component-data"": {},
  ""ms.vss-web.shared-data"": null,
  ""ms.vss-work-web.github-user-repository-data-provider"": {
    ""errorMessage"": ""Service connection authorization scheme is invalid.""
  }
}"
  • Github Connection page link within your ADO org - https://dev.azure.com/{ado_org}/gh-migration/_settings/boards-external-integration

image

Reproduction Steps

Execute the following command when you have the github connection set up using GitHub App authentication type

  • gh ado2gh integrate-boards --ado-org "{ado_org}" --ado-team-project "{ado-team-project}" --github-org "{github-org}" --github-repo "{github-repo}"
@connorstorer-kbxcom connorstorer-kbxcom added the bug Something isn't working label Aug 7, 2024
@dylan-smith
Copy link
Collaborator

This is a known limitation and there is an issue here to track the feature request to improve this.

@connorstorer-kbxcom
Copy link
Author

Great context - thank you @dylan-smith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants