0

Im trying to link my git repo to an azure synapse sandbox and Im facing this error

Failed to list GitHub repositories. Please make sure account name is correct and you have permission to perform the action.

Im using a personal access token, an enterprise git account, and full repo access for the token.

enter image description here

Could someone please point what I maybe missing. Does it require any permission on the azure side as well ?

ss301
  • 514
  • 9
  • 22

2 Answers2

2

In the GitHub repository owner, only give the owner name. Eg johny, instead of GitHub.com/johny

ss301
  • 514
  • 9
  • 22
1

Configure a Repository

Go to GitHub -> open code and copy HTTPS Link use this link to GitHub enterprise URL Login on synapse -> Creating a personal access token on GitHub -> connect to GitHub.

Ref1 ref1

Creating a personal access token

ref2

ref5 ref6

Reference:

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

https://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/github-enterprise/

B. B. Naga Sai Vamsi
  • 2,386
  • 2
  • 3
  • 11
  • Hei thanks for answering. I had done the same way, problem was i was so dump to put the whole profile link in the GitHub owner field. It required only my profile I'd and not the complete link. – ss301 Apr 22 '22 at 15:05