<?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 Error: cannot create metastore data access in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/error-cannot-create-metastore-data-access/m-p/51570#M595</link>
    <description>&lt;P&gt;I'm in the progress of enabling Databricks Unity Catalog and encountered a problem with the databricks_metastore_data_access Terraform resource:&lt;/P&gt;&lt;PRE&gt;resource &lt;SPAN class=""&gt;"databricks_metastore_data_access"&lt;/SPAN&gt; &lt;SPAN class=""&gt;"this"&lt;/SPAN&gt; {
  provider = databricks.account-&lt;SPAN class=""&gt;level&lt;/SPAN&gt;

  &lt;SPAN class=""&gt;metastore_id&lt;/SPAN&gt;  &lt;SPAN class=""&gt;=&lt;/SPAN&gt; databricks_metastore.&lt;SPAN class=""&gt;this&lt;/SPAN&gt;.&lt;SPAN class=""&gt;id&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;name&lt;/SPAN&gt;          &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;"mi-access-databricks-metastore"&lt;/SPAN&gt;
  owner         = &lt;SPAN class=""&gt;"admin-group"&lt;/SPAN&gt;
  force_destroy = &lt;SPAN class=""&gt;true&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;is_default&lt;/SPAN&gt;    &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;true&lt;/SPAN&gt;

  azure_managed_identity {
    access_connector_id = azurerm_databricks_access_connector.&lt;SPAN class=""&gt;this&lt;/SPAN&gt;.id
  }
}&lt;/PRE&gt;&lt;P&gt;The Terraform apply run will always fail with following error: Error: cannot create metastore data access:&lt;BR /&gt;Unfortunately I get no more error details than the message from above.&lt;/P&gt;&lt;P&gt;The funny thing is that all other Unity Catalog related resource were created successfully and looking at the Account Console I can see that the metastore was assigned to my Databricks workspace.&lt;/P&gt;&lt;P&gt;So my question: Do you know for what the metastore data access resource is used for and do I even need it? If yes, how can I fix this issue?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2023 13:09:08 GMT</pubDate>
    <dc:creator>niklas</dc:creator>
    <dc:date>2023-11-14T13:09:08Z</dc:date>
    <item>
      <title>Error: cannot create metastore data access</title>
      <link>https://community.databricks.com/t5/administration-architecture/error-cannot-create-metastore-data-access/m-p/51570#M595</link>
      <description>&lt;P&gt;I'm in the progress of enabling Databricks Unity Catalog and encountered a problem with the databricks_metastore_data_access Terraform resource:&lt;/P&gt;&lt;PRE&gt;resource &lt;SPAN class=""&gt;"databricks_metastore_data_access"&lt;/SPAN&gt; &lt;SPAN class=""&gt;"this"&lt;/SPAN&gt; {
  provider = databricks.account-&lt;SPAN class=""&gt;level&lt;/SPAN&gt;

  &lt;SPAN class=""&gt;metastore_id&lt;/SPAN&gt;  &lt;SPAN class=""&gt;=&lt;/SPAN&gt; databricks_metastore.&lt;SPAN class=""&gt;this&lt;/SPAN&gt;.&lt;SPAN class=""&gt;id&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;name&lt;/SPAN&gt;          &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;"mi-access-databricks-metastore"&lt;/SPAN&gt;
  owner         = &lt;SPAN class=""&gt;"admin-group"&lt;/SPAN&gt;
  force_destroy = &lt;SPAN class=""&gt;true&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;is_default&lt;/SPAN&gt;    &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;true&lt;/SPAN&gt;

  azure_managed_identity {
    access_connector_id = azurerm_databricks_access_connector.&lt;SPAN class=""&gt;this&lt;/SPAN&gt;.id
  }
}&lt;/PRE&gt;&lt;P&gt;The Terraform apply run will always fail with following error: Error: cannot create metastore data access:&lt;BR /&gt;Unfortunately I get no more error details than the message from above.&lt;/P&gt;&lt;P&gt;The funny thing is that all other Unity Catalog related resource were created successfully and looking at the Account Console I can see that the metastore was assigned to my Databricks workspace.&lt;/P&gt;&lt;P&gt;So my question: Do you know for what the metastore data access resource is used for and do I even need it? If yes, how can I fix this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 13:09:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/error-cannot-create-metastore-data-access/m-p/51570#M595</guid>
      <dc:creator>niklas</dc:creator>
      <dc:date>2023-11-14T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error: cannot create metastore data access</title>
      <link>https://community.databricks.com/t5/administration-architecture/error-cannot-create-metastore-data-access/m-p/52840#M614</link>
      <description>&lt;P&gt;Found a solution. Please see my answer on Stack Overflow:&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/77440091/databricks-unity-catalog-error-cannot-create-metastore-data-access/77506306#77506306" target="_self"&gt;https://stackoverflow.com/questions/77440091/databricks-unity-catalog-error-cannot-create-metastore-data-access/77506306#77506306&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 09:26:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/error-cannot-create-metastore-data-access/m-p/52840#M614</guid>
      <dc:creator>niklas</dc:creator>
      <dc:date>2023-11-18T09:26:31Z</dc:date>
    </item>
  </channel>
</rss>

