<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Access from DBT job to Azure DevOps repository using Service Principal in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/access-from-dbt-job-to-azure-devops-repository-using-service/m-p/55492#M30348</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using Databricks bundles to deploy our DBT project. Everything is set up to deploy and run as a Service Principal.&lt;/P&gt;&lt;P&gt;The DBT job is connected to an Azure DevOps repository. The problem is that we cannot find a way to properly authenticate the SP and the repository. The only way we found is to use the Databricks cli / api to create a git connection, however you can only add a PAT. As far as I know you are not able to generate a PAT for a service principal in Azure DevOps. If the PAT needs to be generated by a user anyway, this defeats the whole purpose of using a SP.&lt;/P&gt;&lt;P&gt;What is the best way to set this all up without using user accounts?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2023 09:51:45 GMT</pubDate>
    <dc:creator>Jules</dc:creator>
    <dc:date>2023-12-19T09:51:45Z</dc:date>
    <item>
      <title>Access from DBT job to Azure DevOps repository using Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/access-from-dbt-job-to-azure-devops-repository-using-service/m-p/55492#M30348</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using Databricks bundles to deploy our DBT project. Everything is set up to deploy and run as a Service Principal.&lt;/P&gt;&lt;P&gt;The DBT job is connected to an Azure DevOps repository. The problem is that we cannot find a way to properly authenticate the SP and the repository. The only way we found is to use the Databricks cli / api to create a git connection, however you can only add a PAT. As far as I know you are not able to generate a PAT for a service principal in Azure DevOps. If the PAT needs to be generated by a user anyway, this defeats the whole purpose of using a SP.&lt;/P&gt;&lt;P&gt;What is the best way to set this all up without using user accounts?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 09:51:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-from-dbt-job-to-azure-devops-repository-using-service/m-p/55492#M30348</guid>
      <dc:creator>Jules</dc:creator>
      <dc:date>2023-12-19T09:51:45Z</dc:date>
    </item>
  </channel>
</rss>

