Azure databricks integration with Github Enterprise

Rohitkumar Tatiya 0 Reputation points
2024-09-19T11:28:27.61+00:00

I am having DevOps configured with Azure databricks but now we are migrating from DevOps to Github Enterprise. To point our Azure databricks with Github enterprise repository from Azure databricks workspace post linking the Github encounter the below error:
User's image

I have ensure that

  1. PAT token is classic and has access to Repo.
  2. Valid user name or email
  3. Expiry is in next few months so no issues.
  4. SSO authorization is done for the Github organization.
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,211 questions
{count} votes

2 answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 90,146 Reputation points Microsoft Employee
    2024-09-19T11:57:26.5233333+00:00

    @Rohitkumar Tatiya - Thanks for the question and using MS Q&A platform.

    It seems like you are encountering an error while linking your Azure Databricks workspace with your Github Enterprise repository. The error message suggests that there might be an issue with your Git credentials.

    You have mentioned that you have already ensured that your personal access token (PAT) has the correct Git folder (Repo) access, valid user name or email, and has not expired. You have also authorized your token for SSO with your Github organization.

    However, the error message also suggests that you need to ensure that your Git credential works when used locally to clone the same repository. Have you tried cloning the repository locally using the same Git credential? If not, I would suggest you try that and see if it works.

    If you are still encountering the same error, you can try the following steps:

    • Check if the Git credential you are using is correct and has the necessary permissions to access the repository. You can try regenerating the PAT token and use the new token to see if it resolves the issue.
    • Ensure that the Git credential is correctly configured in your Azure Databricks workspace. You can check the Git credential configuration in your workspace by going to the workspace settings and selecting the Git Credentials tab.
    • Check if there are any network or firewall issues that might be preventing your Azure Databricks workspace from accessing the Github Enterprise repository.

    If none of the above steps work, I would request you to share the steps followed to authenticate Github Entpresise for further assistance.

    For more details, refer to Configure Git credentials & connect a remote repo to Azure Databricks and Set up Databricks Git folders (Repos).

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


  2. PRADEEPCHEEKATLA-MSFT 90,146 Reputation points Microsoft Employee
    2024-09-23T15:59:13.19+00:00

    @Rohitkumar Tatiya - I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Ask: Azure databricks integration with Github Enterprise

    Solution: The issue is resolved. The problem after ensuring all five things are okay was at network level. We have identified the two solution outof which configuring the proxy git server we are able to integrate the azure databricks with the github.

    The two solutions were identified as below:

    1. whitelist the Azure databricks control plane Ips at GHE organization security settings with “Allow IP list”. Reference: Managing allowed IP addresses for your organization - GitHub Enterprise Cloud Docs
    2. configure the git proxy, this way the traffic will go through VNet: Set up private Git connectivity for Azure Databricks Git folders (Repos)

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.