<?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 URGENT: dbt Job Failing in Databricks - Azure Repo Access Denied (Service Principal) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/urgent-dbt-job-failing-in-databricks-azure-repo-access-denied/m-p/70697#M34129</link>
    <description>&lt;P&gt;I am encountering issues while running a Databricks job using a Microsoft Entra ID Service Principal. My workflow includes a task of type "dbt," which requires authentication and access to the Azure Repo containing my dbt project code. I have granted admin-level permissions to this Service Principal in the Azure Databricks workspace, SQL Warehouse Compute, etc. I also added this Service Principal to the Azure DevOps project and granted it Read and Contributor permissions on the dbt Repo. Additionally, I elevated permissions by assigning this Service Principal as a Project Administrator in DevOps.&lt;/P&gt;&lt;P&gt;Despite these settings, when I run the workflow, it reports that it doesn't have permissions to check-out the repo, with the error message:&lt;/P&gt;&lt;P&gt;"run failed with error message&lt;BR /&gt;Failed to check-out Git repository: PERMISSION_DENIED: Encountered an error with your Azure Active Directory credentials. Please try logging out of Azure Active Directory (&lt;A href="https://portal.azure.com" target="_blank"&gt;https://portal.azure.com&lt;/A&gt;) and logging back in."&lt;/P&gt;&lt;P&gt;I have reviewed various documentation but have not found clear guidance on how to run a job using a Service Principal that requires authentication and access to Azure Repos. I have also logged a ticket with Microsoft Azure Databricks support, but have not yet received a solution. The support engineer mentioned they are consulting with the Product team.&lt;/P&gt;&lt;P&gt;I would greatly appreciate any guidance on this issue. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2024 09:03:09 GMT</pubDate>
    <dc:creator>SumitBhatia</dc:creator>
    <dc:date>2024-05-27T09:03:09Z</dc:date>
    <item>
      <title>URGENT: dbt Job Failing in Databricks - Azure Repo Access Denied (Service Principal)</title>
      <link>https://community.databricks.com/t5/data-engineering/urgent-dbt-job-failing-in-databricks-azure-repo-access-denied/m-p/70697#M34129</link>
      <description>&lt;P&gt;I am encountering issues while running a Databricks job using a Microsoft Entra ID Service Principal. My workflow includes a task of type "dbt," which requires authentication and access to the Azure Repo containing my dbt project code. I have granted admin-level permissions to this Service Principal in the Azure Databricks workspace, SQL Warehouse Compute, etc. I also added this Service Principal to the Azure DevOps project and granted it Read and Contributor permissions on the dbt Repo. Additionally, I elevated permissions by assigning this Service Principal as a Project Administrator in DevOps.&lt;/P&gt;&lt;P&gt;Despite these settings, when I run the workflow, it reports that it doesn't have permissions to check-out the repo, with the error message:&lt;/P&gt;&lt;P&gt;"run failed with error message&lt;BR /&gt;Failed to check-out Git repository: PERMISSION_DENIED: Encountered an error with your Azure Active Directory credentials. Please try logging out of Azure Active Directory (&lt;A href="https://portal.azure.com" target="_blank"&gt;https://portal.azure.com&lt;/A&gt;) and logging back in."&lt;/P&gt;&lt;P&gt;I have reviewed various documentation but have not found clear guidance on how to run a job using a Service Principal that requires authentication and access to Azure Repos. I have also logged a ticket with Microsoft Azure Databricks support, but have not yet received a solution. The support engineer mentioned they are consulting with the Product team.&lt;/P&gt;&lt;P&gt;I would greatly appreciate any guidance on this issue. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 09:03:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/urgent-dbt-job-failing-in-databricks-azure-repo-access-denied/m-p/70697#M34129</guid>
      <dc:creator>SumitBhatia</dc:creator>
      <dc:date>2024-05-27T09:03:09Z</dc:date>
    </item>
  </channel>
</rss>

