<?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 connect/read files from ADLS Gen2 using account key in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10853#M5917</link>
    <description>&lt;P&gt;Hi @Farooq ur rehman​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What's the Cluster security access mode? In the JSON of the cluster, the &lt;I&gt;data_security_mode&lt;/I&gt; has to be set to &lt;I&gt;LEGACY_SINGLE_USER&lt;/I&gt;. If this is set to &lt;I&gt;SINGLE_USER, &lt;/I&gt;the&lt;I&gt; &lt;/I&gt;cluster will look for a Unity Catalog metastore. &lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 19:46:50 GMT</pubDate>
    <dc:creator>Vivian_Wilfred</dc:creator>
    <dc:date>2023-01-23T19:46:50Z</dc:date>
    <item>
      <title>Unable to connect/read files from ADLS Gen2 using account key</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10851#M5915</link>
      <description>&lt;P&gt;It gives error&lt;/P&gt;&lt;P&gt;[RequestId=5e57b66f-b69f-4e8b-8706-3fe5baeb77a0 ErrorClass=METASTORE_DOES_NOT_EXIST] No metastore assigned for the current workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;spark.conf.set(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"fs.azure.account.key.mystorageaccount.dfs.core.windows.net",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;dbutils.secrets.get(scope="keyvault-secret-scope2", key="ADLS-GEN2-SECRET-KEY"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dbutils.fs.ls("abfss://containername@mystorageaccount.dfs.core.windows.net/")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mystorageaccount: ADLS Gen2 account name&lt;/P&gt;&lt;P&gt;containername: Container name&lt;/P&gt;&lt;P&gt;scope="keyvault-secret-scope2" : scope created in Azure Databricks with Manage "All users"&lt;/P&gt;&lt;P&gt;key="ADLS-GEN2-SECRET-KEY" : secret in Azure key vault, having the ADLS Gen2 access key&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 16:59:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10851#M5915</guid>
      <dc:creator>farooqurrehman</dc:creator>
      <dc:date>2023-01-23T16:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect/read files from ADLS Gen2 using account key</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10852#M5916</link>
      <description>&lt;P&gt;Is it a unity catalog workspace?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These pages can also help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/s/feed/0D53f00001eQGOHCA4" target="test_blank"&gt;https://community.databricks.com/s/feed/0D53f00001eQGOHCA4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/s/feed/0D58Y00009hlj04SAA" target="test_blank"&gt;https://community.databricks.com/s/feed/0D58Y00009hlj04SAA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 19:03:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10852#M5916</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-23T19:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect/read files from ADLS Gen2 using account key</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10853#M5917</link>
      <description>&lt;P&gt;Hi @Farooq ur rehman​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What's the Cluster security access mode? In the JSON of the cluster, the &lt;I&gt;data_security_mode&lt;/I&gt; has to be set to &lt;I&gt;LEGACY_SINGLE_USER&lt;/I&gt;. If this is set to &lt;I&gt;SINGLE_USER, &lt;/I&gt;the&lt;I&gt; &lt;/I&gt;cluster will look for a Unity Catalog metastore. &lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 19:46:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10853#M5917</guid>
      <dc:creator>Vivian_Wilfred</dc:creator>
      <dc:date>2023-01-23T19:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect/read files from ADLS Gen2 using account key</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10854#M5918</link>
      <description>&lt;P&gt;Hi @Farooq ur rehman​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 23:36:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-connect-read-files-from-adls-gen2-using-account-key/m-p/10854#M5918</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-02-24T23:36:46Z</dc:date>
    </item>
  </channel>
</rss>

