<?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: unable to create table on external location in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-create-table-on-external-location/m-p/131878#M49283</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/15505"&gt;@PratikRudra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for sharing the error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think probably there is a component that is missing. Writing table metadata (for example, to the _delta_log directory) requires the CREATE EXTERNAL TABLE capability on the external location; this privilege is distinct from volume or browse permissions. It guarantees that Delta tables at paths controlled by that external location can be managed by the principal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this: check what permission you have by running this sql query&lt;/P&gt;&lt;P&gt;SHOW GRANTS ON EXTERNAL LOCATION your_external_location_name;&lt;/P&gt;&lt;P&gt;Also run&amp;nbsp;&lt;BR /&gt;SHOW GRANTS ON SCHEMA main.default;&lt;/P&gt;&lt;P&gt;Also make sure that the storage account has sufficient Azure RBAC roles like Storage Blob Data Contributor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Sep 2025 09:08:01 GMT</pubDate>
    <dc:creator>Khaja_Zaffer</dc:creator>
    <dc:date>2025-09-14T09:08:01Z</dc:date>
    <item>
      <title>unable to create table on external location</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-create-table-on-external-location/m-p/131877#M49282</link>
      <description>&lt;P&gt;Currently trying to connect a table on external location and it fails with error -&lt;/P&gt;&lt;P&gt;[UNAUTHORIZED_ACCESS] Unauthorized access: PERMISSION_DENIED: request not authorized SQLSTATE: 42501&lt;/P&gt;&lt;P&gt;which seems like a pretty straight forward error but unable to find permission issue as able to browse that same external location from catalog browser .&lt;/P&gt;&lt;P&gt;Able to create volume as well on that external location however while trying to create table like below -&lt;/P&gt;&lt;P&gt;CREATE TABLE IF NOT EXISTS main.default.ab_test&lt;BR /&gt;USING DELTA&lt;BR /&gt;LOCATION 'abfss://&lt;A href="mailto:lake-container@account.dfs.core.windows.net" target="_blank" rel="noopener noreferrer"&gt;lake-container@account.dfs.core.windows.net&lt;/A&gt;/tenants/data/warehouse/testing';&lt;/P&gt;&lt;P&gt;it throws the error on permission&lt;BR /&gt;External location created on abfss://&lt;A href="mailto:lake-container@account.dfs.core.windows.net" target="_blank" rel="noopener noreferrer"&gt;lake-container@account.dfs.core.windows.net&lt;/A&gt;/tenants/data/warehouse and able to browse the directory testing from catalog browser&lt;BR /&gt;This location has parquet files as well as delta log directory&lt;/P&gt;</description>
      <pubDate>Sun, 14 Sep 2025 04:52:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-create-table-on-external-location/m-p/131877#M49282</guid>
      <dc:creator>PratikRudra</dc:creator>
      <dc:date>2025-09-14T04:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create table on external location</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-create-table-on-external-location/m-p/131878#M49283</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/15505"&gt;@PratikRudra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for sharing the error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think probably there is a component that is missing. Writing table metadata (for example, to the _delta_log directory) requires the CREATE EXTERNAL TABLE capability on the external location; this privilege is distinct from volume or browse permissions. It guarantees that Delta tables at paths controlled by that external location can be managed by the principal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this: check what permission you have by running this sql query&lt;/P&gt;&lt;P&gt;SHOW GRANTS ON EXTERNAL LOCATION your_external_location_name;&lt;/P&gt;&lt;P&gt;Also run&amp;nbsp;&lt;BR /&gt;SHOW GRANTS ON SCHEMA main.default;&lt;/P&gt;&lt;P&gt;Also make sure that the storage account has sufficient Azure RBAC roles like Storage Blob Data Contributor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Sep 2025 09:08:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-create-table-on-external-location/m-p/131878#M49283</guid>
      <dc:creator>Khaja_Zaffer</dc:creator>
      <dc:date>2025-09-14T09:08:01Z</dc:date>
    </item>
  </channel>
</rss>

