Issues Integrating Azure Data Factory with GITHUB | IN spite of admin rights on repository

Although I have been aware of GitHub for quite a while but got a chance to use it as a repository in the project for storing artifacts only over the past few months. 
We use GitHub as the sole cloud repo for storing SQL, Databricks, and Azure Data Factory artifacts. 

Got an opportunity to set up GitHub with ADF right from scratch and all the excitement to learn more about GitHub took a back seat when I stumbled upon the following issue

Problem Statement - You are an admin on a repo in GitHub and even then get a permission error while linking the ADF to GitHub
















Solution - After scratching my hairs and going on a searching spree on google for some days, I was able to figure out what needed to be done, however was not aware of how to implement it. Finally thanks to Microsoft for getting on a call and helping me resolve this issue.

What needed to be done - Need to authorize AzureDataFactory service so that Github can communicate with it. 










How it should be done - 

Basically, you need to authorize ADF via a GitHub account and the only way possible is to

  1. Log out of your GitHub account, make sure cookies and the cache are cleared.
  2. Try setting up the GitHub connection in ADF and it will ask for the login credentials.
  3. After this is successful the GitHub account will look like the above screenshot. 

Please see this article

And this one

Forum I created

If you are facing similar issues in data bricks then check this out In case if its a DataBricks issue

Comments

Popular posts from this blog

SQL QUERY NIGHTMARE

Handling decimal and non numeric types using Case statement