<?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 Re: Repos configuration for Azure Service Principal in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34689#M25415</link>
    <description>&lt;P&gt;I was able to accomplish this by getting an AAD service account (not the service principal used by CI/CD) and got rights to use that account to connect to our github repo. I used the databricks git config api to configure the service principal user git config with the AAD service account and PAT that I generated and authorized in github. I then used the Repos CLI to create the repo in databricks under the service principal. I just got this working today. Note that I'm still trying to figure out how to update from github as we are not making any changes within databricks itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 01:23:46 GMT</pubDate>
    <dc:creator>Dave_B_</dc:creator>
    <dc:date>2022-12-02T01:23:46Z</dc:date>
    <item>
      <title>Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34671#M25397</link>
      <description>&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to update a repo from within my Azure DevOps release pipeline. &lt;/P&gt;&lt;P&gt;In the pipeline I generate a token using a AAD Service Principal as recommended, and I setup the databricks api using that token.&lt;/P&gt;&lt;P&gt;When I pass the databricks repos update command, I receive an authenitcation error, which is expected and the service principal has not git configured on the workspace side.&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Can I configure the repos for the SPN programmatically?&lt;/P&gt;&lt;P&gt;Or, is there a way to provide an Azure Devops token when I make the databricks api call? I have tried passing a token by setting the git AZURE_DEVOPS_EXT_PAT&amp;nbsp;but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:24:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34671#M25397</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2021-11-22T16:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34673#M25399</link>
      <description>&lt;P&gt;Hi @Pantelis Maroudis​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me reach out to the SME group to get  help on your question. &lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 19:12:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34673#M25399</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2021-11-29T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34674#M25400</link>
      <description>&lt;P&gt;@Pantelis Maroudis​&amp;nbsp;I would like to comment on the Azure SP supportability feature - Updating a databricks repo using Repos API to authenticate using Azure Service Principal AAD is not supported yet. Active work is in progress, We can expect it by Jan 2022. &lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 07:43:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34674#M25400</guid>
      <dc:creator>Srihasa_Akepati</dc:creator>
      <dc:date>2021-11-30T07:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34675#M25401</link>
      <description>&lt;P&gt;Thank you @Srihasa Reddy Akepati​&amp;nbsp;. Looking forward to it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 08:13:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34675#M25401</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2021-12-09T08:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34676#M25402</link>
      <description>&lt;P&gt;Hello, curious if any update on this?  I too would like to use AAD token auth (as service principal) to call repos POST and PATCH from an Azure DevOps pipeline.  Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 16:13:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34676#M25402</guid>
      <dc:creator>JakeP</dc:creator>
      <dc:date>2022-03-14T16:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34677#M25403</link>
      <description>&lt;P&gt;Hello @Jake Panchyshyn​&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my side I used a separate token generated from account for all steps in my pipeline that needed to use the repos api&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 16:28:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34677#M25403</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2022-03-14T16:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34678#M25404</link>
      <description>&lt;P&gt;Thanks, though, could you elaborate as to what kind of token you generate as what account or identity? Are you authenticating as a user (rather than service principal) or ??&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 16:44:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34678#M25404</guid>
      <dc:creator>JakeP</dc:creator>
      <dc:date>2022-03-14T16:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34679#M25405</link>
      <description>&lt;P&gt;Is this supported now given that it is past the Jan 2022 date stated above? Because I have found that a SPN still can't authenticate via AAD.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 08:52:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34679#M25405</guid>
      <dc:creator>Kirk1</dc:creator>
      <dc:date>2022-03-24T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34680#M25406</link>
      <description>&lt;P&gt;Looking forward for this update​&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2022 02:12:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34680#M25406</guid>
      <dc:creator>venkad</dc:creator>
      <dc:date>2022-03-26T02:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34681#M25407</link>
      <description>&lt;P&gt;@Srihasa Reddy Akepati​&amp;nbsp; Any update on this?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 05:06:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34681#M25407</guid>
      <dc:creator>Ben_Templeton__</dc:creator>
      <dc:date>2022-04-08T05:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34682#M25408</link>
      <description>&lt;P&gt;@Ben Templeton​&amp;nbsp;Iam checking internally on the status of this feature. I will update the thread once i receive response. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:01:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34682#M25408</guid>
      <dc:creator>Srihasa_Akepati</dc:creator>
      <dc:date>2022-04-08T08:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34683#M25409</link>
      <description>&lt;P&gt;I got this response from Databricks on this topic: "The AAD support depends on Microsoft implementing token exchange for ADO. This is underway but we don't have a timeline for it."&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:04:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34683#M25409</guid>
      <dc:creator>Kirk1</dc:creator>
      <dc:date>2022-04-08T08:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34684#M25410</link>
      <description>&lt;P&gt;Sorry for the late reply @Jake Panchyshyn​&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Yes, I use a token generated from my account to interact with the repos API in my pipeline. For the rest of the operations (eg job creation) I use the token generated by the service principal&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:31:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34684#M25410</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2022-04-08T08:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34685#M25411</link>
      <description>&lt;P&gt;Has there been any updates here? Or any viable workaround?​&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 20:53:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34685#M25411</guid>
      <dc:creator>Martin1337</dc:creator>
      <dc:date>2022-05-09T20:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34686#M25412</link>
      <description>&lt;P&gt;The solution depends on accepting ServicePrincipal tokens credentials as authentication for ADO.  There is mention of it on their roadmap (https://docs.microsoft.com/en-us/azure/devops/release-notes/features-timeline) but no timeline is defined yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround we use a user PAT for the time being.  &lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 12:10:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34686#M25412</guid>
      <dc:creator>FabriceDeseyn</dc:creator>
      <dc:date>2022-05-10T12:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34687#M25413</link>
      <description>&lt;P&gt;I see that microsoft has a draft timeline regarding this..... &lt;B&gt;FY23Q1 (TBC)&lt;/B&gt;: Public Preview to all internal and external customers. I don't know why it takes them so long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 12:10:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34687#M25413</guid>
      <dc:creator>Kirk1</dc:creator>
      <dc:date>2022-07-22T12:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34688#M25414</link>
      <description>&lt;P&gt;Any updates?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 21:39:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34688#M25414</guid>
      <dc:creator>AlexMethod</dc:creator>
      <dc:date>2022-12-01T21:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34689#M25415</link>
      <description>&lt;P&gt;I was able to accomplish this by getting an AAD service account (not the service principal used by CI/CD) and got rights to use that account to connect to our github repo. I used the databricks git config api to configure the service principal user git config with the AAD service account and PAT that I generated and authorized in github. I then used the Repos CLI to create the repo in databricks under the service principal. I just got this working today. Note that I'm still trying to figure out how to update from github as we are not making any changes within databricks itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 01:23:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34689#M25415</guid>
      <dc:creator>Dave_B_</dc:creator>
      <dc:date>2022-12-02T01:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34690#M25416</link>
      <description>&lt;P&gt;My use case is to create dbt task inside of a databricks workflow.&lt;/P&gt;&lt;P&gt;It needs to specify `git_source`, and my workflow is run under a service principal account.&lt;/P&gt;&lt;P&gt;Unfortunately, from the beginning of the workflow run. an error is raised like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Failed to checkout 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" alt="https://portal.azure.com" target="_blank"&gt;https://portal.azure.com&lt;/A&gt;) and logging back in."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I've no where to grant to the service principal the Azure DevOps checkout permission. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replacing the service principal with an standard user account works, but we can not use user account in production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 21:51:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34690#M25416</guid>
      <dc:creator>xiangzhu</dc:creator>
      <dc:date>2023-01-10T21:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Repos configuration for Azure Service Principal</title>
      <link>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34691#M25417</link>
      <description>&lt;P&gt;Dave, do you have a moment to guide me through these steps of yours?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What do you mean by, "got rights to use that account to connect to our github repo". What steps would you need to follow, or are you referring to an approval?&lt;/LI&gt;&lt;LI&gt;The reason I ask is that, we recently changed from a user-based to a service-based approach, and while the Azure Service Principal has not changed, I get a PERMISSION_DENIED - cannot read repo.&lt;/LI&gt;&lt;LI&gt;I think that because of our recent change, I will need to assign the Github PAT (new) token to the Service Principal, however I see no way of doing that using the Databricks GUI Workspace. &lt;/LI&gt;&lt;LI&gt;Can you point me to any documentation for: "I used the databricks git config api to configure the service principal user git config with the AAD service account and PAT that I generated and authorized in github" &lt;/LI&gt;&lt;LI&gt;PS: I'm a databricks newb that has inherited a rather complex Azure landing zone.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would be more than appreciated!!! &lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 13:42:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/repos-configuration-for-azure-service-principal/m-p/34691#M25417</guid>
      <dc:creator>gentresh</dc:creator>
      <dc:date>2023-02-16T13:42:11Z</dc:date>
    </item>
  </channel>
</rss>

