<?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: Databricks Asset Bundle Deployment Fails in GitHub Actions with Federated Identity Credentials in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134836#M4208</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/191588"&gt;@Nisha_Tech&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It seems that for some reason github actions wants to authenticate osuing OAuth Token federation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-federation" target="_blank"&gt;Authenticate access to Databricks using OAuth token federation | Databricks on AWS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess that you want to authenticate using SP. Could you check if you've done all required steps? They are described at below articles:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-m2m" target="_blank"&gt;Authorize service principal access to Databricks with OAuth | Databricks on AWS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/service-principals#set-up-github-actions" target="_blank"&gt;Service principals for CI/CD | Databricks on AWS&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 10:19:47 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2025-10-14T10:19:47Z</dc:date>
    <item>
      <title>Databricks Asset Bundle Deployment Fails in GitHub Actions with Federated Identity Credentials</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134828#M4207</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am using a service principal with workspace admin access to deploy Databricks asset bundles. The deployment works successfully via Jenkins using the same credentials and commands. However, when attempting the deployment through GitHub Actions, I encounter the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: failed during request visitor: inner token: AADSTS70025: The client '***' has no configured federated identity credentials&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;What could be causing this issue? Are there additional configuration steps required for GitHub Actions to authenticate with Databricks using a service principal? Any guidance would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Databricks cli version: &lt;/SPAN&gt;&lt;SPAN&gt;v0.252.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Terraform Binary:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1.12.0&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Terraform Provider: 1.79.0&lt;BR /&gt;Commands used:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.databrickscfg
#profileName 
[DEFAULT]
host=https://adb-***.azuredatabricks.net
azure_tenant_id=***
azure_client_id=***
azure_client_secret=***

databricks auth profiles
databricks bundle validate -t dev -p DEFAULT&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 09:33:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134828#M4207</guid>
      <dc:creator>Nisha_Tech</dc:creator>
      <dc:date>2025-10-14T09:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundle Deployment Fails in GitHub Actions with Federated Identity Credentials</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134836#M4208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/191588"&gt;@Nisha_Tech&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It seems that for some reason github actions wants to authenticate osuing OAuth Token federation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-federation" target="_blank"&gt;Authenticate access to Databricks using OAuth token federation | Databricks on AWS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess that you want to authenticate using SP. Could you check if you've done all required steps? They are described at below articles:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-m2m" target="_blank"&gt;Authorize service principal access to Databricks with OAuth | Databricks on AWS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/service-principals#set-up-github-actions" target="_blank"&gt;Service principals for CI/CD | Databricks on AWS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 10:19:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134836#M4208</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-14T10:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundle Deployment Fails in GitHub Actions with Federated Identity Credentials</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134942#M4215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your response.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;We do not want to enable OAuth tokens on service principals as it is not permissible. The service principal we are using can deploy to the Databricks workspace without OAuth when using Jenkins. Why is GitHub Actions specifically requiring an OAuth token? Is there a particular restriction or configuration difference for GitHub Actions?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 02:08:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134942#M4215</guid>
      <dc:creator>Nisha_Tech</dc:creator>
      <dc:date>2025-10-15T02:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundle Deployment Fails in GitHub Actions with Federated Identity Credentials</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134960#M4216</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/191588"&gt;@Nisha_Tech&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Ok, got it. Github Actions should also support MS Entra service principal authentication but I guess you need to configure it a different way.&lt;/P&gt;&lt;P&gt;Could you try to configure it in the same way they recommend in documentation?&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/service-principals#provide-information-about-your-service-principal-to-github-actions" target="_blank" rel="noopener"&gt;Service principals for CI/CD - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess if you configure AZURE_CREDENTIAL then you can use Azure Login action which will perform authentication for your session. There's a good example how to use that at below link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure-secret" target="_blank" rel="noopener"&gt;Authenticate to Azure from GitHub Actions by a secret | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1760512941350.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20746i6CF73FCE66F62654/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1760512941350.png" alt="szymon_dybczak_0-1760512941350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/191588"&gt;@Nisha_Tech&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Ok, got it. Github Actions should also support MS Entra service principal authentication but I guess you need to configure it a different way.&lt;/P&gt;&lt;P&gt;Could you try to configure it in the same way they recommend in documentation?&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/service-principals#provide-information-about-your-service-principal-to-github-actions" target="_blank" rel="noopener"&gt;Service principals for CI/CD - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess if you configure AZURE_CREDENTIAL then you can use Azure Login action which will perform authentication for your session. There's a good example how to use that at below link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure-secret" target="_blank" rel="noopener"&gt;Authenticate to Azure from GitHub Actions by a secret | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1760512941350.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20746i6CF73FCE66F62654/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1760512941350.png" alt="szymon_dybczak_0-1760512941350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I can't check it myself because at current project I have only access to Azure Devops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 07:23:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/134960#M4216</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-15T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundle Deployment Fails in GitHub Actions with Federated Identity Credentials</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/141078#M4592</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;I recently ran into a similar issue attempting to deploy with the Terraform Databricks provider:&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;provider "databricks" {&lt;/DIV&gt;&lt;DIV&gt;host = &amp;lt;host&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;azure_workspace_resource_id = &amp;lt;workspace_resource_id&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;azure_client_id = &amp;lt;azure_client_id&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;azure_client_secret = &amp;lt;azure_client_secret&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;azure_tenant_id = &amp;lt;tenant_id&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;And locally the deployment worked just fine, but the exact same code via Github actions resulted in:&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&amp;gt; Failed during request visitor: error getting token: AADSTS70025: The client '&amp;lt;client-id&amp;gt;'(&amp;lt;client-name&amp;gt;) has no configured federated identity credentials&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;The solution was to set an environment variable for the github action:&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;env:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; DATABRICKS_AUTH_TYPE: azure-client-secret&lt;/DIV&gt;&lt;BR /&gt;GitHub Actions provides OIDC tokens automatically, and the Databricks provider has built-in logic to detect and prefer OIDC/federated identity when available. Even though your provider configuration explicitly sets azure_client_id and azure_client_secret, the provider was detecting GitHub's OIDC environment and trying that first - which failed because your environment-specific SP doesn't have federated identity credentials configured.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The DATABRICKS_AUTH_TYPE environment variable explicitly tells the Databricks provider which authentication method to use. By setting it to azure-client-secret, we force it to use the traditional Azure Service Principal authentication with&amp;nbsp;client_id/client_secret, and prevent it from auto-detecting and trying to use GitHub Actions OIDC tokens.&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 Dec 2025 21:52:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/141078#M4592</guid>
      <dc:creator>bendakota</dc:creator>
      <dc:date>2025-12-03T21:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundle Deployment Fails in GitHub Actions with Federated Identity Credentials</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/141137#M4598</link>
      <description>&lt;P&gt;Environment variables override .databrickscfg, that's why it is probably failing to OIDC.&lt;/P&gt;
&lt;P&gt;Make sure that you have correct specification in your databricks.yml so it will be source of true. Smth like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;- name: Deploy bundle
  env:
    DATABRICKS_HOST: https://adb-***.azuredatabricks.net
    ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
    ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
    ARM_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Dec 2025 10:45:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deployment-fails-in-github-actions-with/m-p/141137#M4598</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2025-12-04T10:45:54Z</dc:date>
    </item>
  </channel>
</rss>

