Search code examples
azuregithubazure-synapseazure-git-deployment

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 ?


Solution

  • 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/