github / github/gh-gei

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

Open
#1,258 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

## 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](https://learn.microsoft.com/en-us/azure/devops/boards/github/install-github-app?view=azure-devops) 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.

```json
"""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](https://github.com/user-attachments/assets/bb533d4e-a7ae-464f-ba99-ad8ac3e06f87)

## 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}"`

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.