โ11-06-2023 10:56 PM
Hi everyone,
I'm trying to use Git provider in Databricks job.
First, I was using my personal user account to `Run as`.
But when I change `Run as` to Service Principal, it was failed because of permission error.
And I can't find a way to solve it.
Could I achieve this settings?
โ11-28-2023 12:34 AM
Hi @Yuki, Certainly! When using a Service Principal to run Databricks jobs and encountering permission errors with the Git provider, here are some steps you can take to troubleshoot and resolve the issue:
Confirm Git Integration Settings:
Verify Repo Access:
Test with Git Command Line:
Secure Connection (SSL) Problems:
Timeout Errors:
404 Errors:
Resolve Notebook Name Conflicts:
Remember to adjust these settings based on your specific Git provider and repository configuration. With these steps, you should be able to successfully use the Git provider in your Databricks jobs! ๐๐ง
โ04-03-2024 06:40 AM - edited โ04-03-2024 06:40 AM
@Kaniz_Fatma you mentioned doing this using a service principal in the head of your answer and then no instructions on how to do just that! How are one supposed to got to User Settings Linked accounts as a service principal?
โ04-03-2024 06:41 AM
The documentation is lacking in this area which should be easy to set up. Instead we are forced to search among community topics such as these.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group