Reputation: 2757
When I attempt to connect to GitHub repository from Azure Data Factory I have no problem. However, when I try to connet to GitHub from Synapse, see image, I get the error:
You don't have permission to import resource to the repository, please resolve the permissions in GitHub
I'm not sure why I'm not getting the same permissions error message ADF
Just so you know I have the following permissions configured for Synapse, but it I'm still getting the error:
Upvotes: 2
Views: 1800
Reputation: 2729
I connected the GitHub repository from Azure Synapse and Azure Data factory it’s working fine for me.
If you have an Existing resource to the repository in GitHub mentioned in import branch, otherwise make sure to unmark it. Because of that, you are getting the error as seen in the above image.
If you have already connected to GitHub and only granted permission to access a personal account, follow the below steps to grant permissions to an organization
Go to GitHub and open Settings -> Select Applications. In the Authorized OAuth apps tab, you should see Azure Synapse > Select the Azure Synapse and grant the access to your organization
Reference:
https://learn.microsoft.com/en-gb/azure/data-factory/source-control#author-with-github-integration
Upvotes: 1