<?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: Authenticate with Terraform to Databricks Account level using Azure MSI(System assigned) in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/authenticate-with-terraform-to-databricks-account-level-using/m-p/68090#M1166</link>
    <description>&lt;P&gt;Also I just found this page and I can see Databricks don't mention "Managed Identity Authentication" for Terraform here&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/auth/index.html#auth-types-tools-sdks" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/auth/index.html#auth-types-tools-sdks&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But here they say it is possible, I'm confused&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/azure-mi#terraform" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/azure-mi#terraform&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/#--supported-authentication-types-by-azure-databricks-tool-or-sdk" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/#--supported-authentication-types-by-azure-databricks-tool-or-sdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/administration-architecture/current-azure-managed-identity-capabilities-2024/td-p/64350" target="_blank"&gt;https://community.databricks.com/t5/administration-architecture/current-azure-managed-identity-capabilities-2024/td-p/64350&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 04 May 2024 10:33:26 GMT</pubDate>
    <dc:creator>otydos</dc:creator>
    <dc:date>2024-05-04T10:33:26Z</dc:date>
    <item>
      <title>Authenticate with Terraform to Databricks Account level using Azure MSI(System assigned)</title>
      <link>https://community.databricks.com/t5/administration-architecture/authenticate-with-terraform-to-databricks-account-level-using/m-p/68085#M1165</link>
      <description>&lt;P&gt;Hello, I want to authenticate with terraform to databricks account level with :&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Azure Managed Identity(System-assigned) of my Azure VM&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;to perform operation like create group. I followed differents tutorial and the documentation on Azure and Databricks, but none is working.&lt;/P&gt;&lt;P&gt;Here is my tf file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;terraform {
  required_providers {
    azurerm = {
      source = "hashicorp/azurerm"
    }
    databricks = {
      source = "databricks/databricks"
    }
  }
}

provider "azurerm" {
  skip_provider_registration = "true"
  features {}
  subscription_id   = var.azure-subscription-id
  use_msi           = true
}
provider "databricks" {
  alias           = "accounts"
  host            = "https://accounts.azuredatabricks.net"
  account_id      = var.databricks-account-id
  azure_client_id = "xxxxx"
  azure_use_msi   = true
}

resource "databricks_group" "xxxxx" {
  display_name = "xxxxx"
}

resource "databricks_group_role" "my_group_account_admin" {
  group_id = databricks_group.xxxxx
  role     = "account_admin"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error I have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;│ Error: cannot create group: default auth: cannot configure default credentials, please check https://docs.databricks.com/en/dev-tools/auth.html#databricks-client-unified-authentication to configure credentials for your preferred authentication method
│   with databricks_group.xxxxx,
│   on main.tf line 1, in resource "databricks_group" "xxxxx":
│    1: resource "databricks_group" "xxxxx" {
│ &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can you guys help me and tell me what are the steps I need to take to make it work ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 09:55:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/authenticate-with-terraform-to-databricks-account-level-using/m-p/68085#M1165</guid>
      <dc:creator>otydos</dc:creator>
      <dc:date>2024-05-04T09:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate with Terraform to Databricks Account level using Azure MSI(System assigned)</title>
      <link>https://community.databricks.com/t5/administration-architecture/authenticate-with-terraform-to-databricks-account-level-using/m-p/68090#M1166</link>
      <description>&lt;P&gt;Also I just found this page and I can see Databricks don't mention "Managed Identity Authentication" for Terraform here&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/auth/index.html#auth-types-tools-sdks" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/auth/index.html#auth-types-tools-sdks&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But here they say it is possible, I'm confused&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/azure-mi#terraform" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/azure-mi#terraform&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/#--supported-authentication-types-by-azure-databricks-tool-or-sdk" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/#--supported-authentication-types-by-azure-databricks-tool-or-sdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/administration-architecture/current-azure-managed-identity-capabilities-2024/td-p/64350" target="_blank"&gt;https://community.databricks.com/t5/administration-architecture/current-azure-managed-identity-capabilities-2024/td-p/64350&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 10:33:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/authenticate-with-terraform-to-databricks-account-level-using/m-p/68090#M1166</guid>
      <dc:creator>otydos</dc:creator>
      <dc:date>2024-05-04T10:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate with Terraform to Databricks Account level using Azure MSI(System assigned)</title>
      <link>https://community.databricks.com/t5/administration-architecture/authenticate-with-terraform-to-databricks-account-level-using/m-p/68854#M1191</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On my side, I always have to add the provider in each resource block.&lt;/P&gt;&lt;P&gt;You can try that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;resource "databricks_group" "xxxxx" {
  provider = databricks.accounts
  display_name = "xxxxx"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About authentication, you can also try to add:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;auth_type &amp;nbsp;= "azure-cli"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 May 2024 08:45:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/authenticate-with-terraform-to-databricks-account-level-using/m-p/68854#M1191</guid>
      <dc:creator>DonatienTessier</dc:creator>
      <dc:date>2024-05-13T08:45:21Z</dc:date>
    </item>
  </channel>
</rss>

