ss301
ss301

Reputation: 672

How to connect azure synapse and an enterprise git repo using personal access token?

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 ?

Upvotes: 2

Views: 2565

Answers (2)

ss301
ss301

Reputation: 672

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

Upvotes: 3

Vamsi Bitra
Vamsi Bitra

Reputation: 2729

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/

Upvotes: 1

Related Questions