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,164 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 88,876 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.


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.