<?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: Error while mounting ADLS in python using AccountKey in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5082#M1597</link>
    <description>&lt;P&gt;@Krish Lam​&amp;nbsp;you need to provide more details for the config. Please refer to the below doc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dbfs/mounts#--mount-adls-gen2-or-blob-storage-with-abfs" alt="https://learn.microsoft.com/en-us/azure/databricks/dbfs/mounts#--mount-adls-gen2-or-blob-storage-with-abfs" target="_blank"&gt;Mounting cloud object storage on Azure Databricks - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 09:34:30 GMT</pubDate>
    <dc:creator>Prabakar</dc:creator>
    <dc:date>2023-04-28T09:34:30Z</dc:date>
    <item>
      <title>Error while mounting ADLS in python using AccountKey</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5081#M1596</link>
      <description>&lt;P&gt;I'm using the below code using Account key to mount ADLS in python but running into error:shaded.databricks.org.apache.hadoop.fs.azure.AzureException: java.lang.IllegalArgumentException: The String is not a valid Base64-encoded string.  Can you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccountKey = dbutils.secrets.get(scope="ADB_KV_Secret_Scope", key="dev-storage-account-clientid")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;url = "wasbs://dev@storage.blob.core.windows.net"&lt;/P&gt;&lt;P&gt;mnt = "/mnt/findatamart"&lt;/P&gt;&lt;P&gt;configs = &amp;nbsp;"fs.azure.account.key.storage.blob.core.windows.net"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dbutils.fs.mount(&lt;/P&gt;&lt;P&gt;&amp;nbsp; source = url, &lt;/P&gt;&lt;P&gt;&amp;nbsp; mount_point = mnt, &lt;/P&gt;&lt;P&gt;&amp;nbsp; extra_configs ={configs:AccountKey}&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 01:21:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5081#M1596</guid>
      <dc:creator>Krish1</dc:creator>
      <dc:date>2023-04-28T01:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while mounting ADLS in python using AccountKey</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5082#M1597</link>
      <description>&lt;P&gt;@Krish Lam​&amp;nbsp;you need to provide more details for the config. Please refer to the below doc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dbfs/mounts#--mount-adls-gen2-or-blob-storage-with-abfs" alt="https://learn.microsoft.com/en-us/azure/databricks/dbfs/mounts#--mount-adls-gen2-or-blob-storage-with-abfs" target="_blank"&gt;Mounting cloud object storage on Azure Databricks - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 09:34:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5082#M1597</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2023-04-28T09:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while mounting ADLS in python using AccountKey</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5083#M1598</link>
      <description>&lt;P&gt;configs = {"fs.azure.account.auth.type": "OAuth",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"fs.azure.account.oauth.provider.type": "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;A href="https://fs.azure.account.oauth2.client.id" alt="https://fs.azure.account.oauth2.client.id" target="_blank"&gt;fs.azure.account.oauth2.client.id&lt;/A&gt;": "&amp;lt;application-id&amp;gt;",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"fs.azure.account.oauth2.client.secret": dbutils.secrets.get(scope="&amp;lt;scope-name&amp;gt;",key="&amp;lt;service-credential-key-name&amp;gt;"),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"fs.azure.account.oauth2.client.endpoint": "&lt;A href="https://login.microsoftonline.com/%3Cdirectory-id%3E/oauth2/token" alt="https://login.microsoftonline.com/%3Cdirectory-id%3E/oauth2/token" target="_blank"&gt;https://login.microsoftonline.com/&amp;lt;directory-id&amp;gt;/oauth2/token&lt;/A&gt;"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Optionally, you can add &amp;lt;directory-name&amp;gt; to the source URI of your mount point.&lt;/P&gt;&lt;P&gt;dbutils.fs.mount(&lt;/P&gt;&lt;P&gt;&amp;nbsp;source = "abfss://&amp;lt;container-name&amp;gt;@&amp;lt;storage-account-name&amp;gt;.&lt;A href="https://dfs.core.windows.net" alt="https://dfs.core.windows.net" target="_blank"&gt;dfs.core.windows.net&lt;/A&gt;/",&lt;/P&gt;&lt;P&gt;&amp;nbsp;mount_point = "/mnt/&amp;lt;mount-name&amp;gt;",&lt;/P&gt;&lt;P&gt;&amp;nbsp;extra_configs = configs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;lt;application-id&amp;gt;&amp;nbsp;with the&amp;nbsp;Application (client) ID&amp;nbsp;for the Azure Active Directory application.&lt;/LI&gt;&lt;LI&gt;&amp;lt;scope-name&amp;gt;&amp;nbsp;with the Databricks secret scope name.&lt;/LI&gt;&lt;LI&gt;&amp;lt;service-credential-key-name&amp;gt; with the name of the key containing the client secret.&lt;/LI&gt;&lt;LI&gt;&amp;lt;directory-id&amp;gt;&amp;nbsp;with the&amp;nbsp;Directory (tenant) ID&amp;nbsp;for the Azure Active Directory application.&lt;/LI&gt;&lt;LI&gt;&amp;lt;container-name&amp;gt;&amp;nbsp;with the name of a container in the ADLS Gen2 storage account.&lt;/LI&gt;&lt;LI&gt;&amp;lt;storage-account-name&amp;gt;&amp;nbsp;with the ADLS Gen2 storage account name.&lt;/LI&gt;&lt;LI&gt;&amp;lt;mount-name&amp;gt;&amp;nbsp;with the name of the intended mount point in DBFS.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 09:35:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5083#M1598</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2023-04-28T09:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while mounting ADLS in python using AccountKey</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5084#M1599</link>
      <description>&lt;P&gt;Thank you. That worked.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 16:19:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5084#M1599</guid>
      <dc:creator>Krish1</dc:creator>
      <dc:date>2023-04-28T16:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while mounting ADLS in python using AccountKey</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5085#M1600</link>
      <description>&lt;P&gt;Hi @Krish Lam​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 06:26:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-mounting-adls-in-python-using-accountkey/m-p/5085#M1600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-29T06:26:46Z</dc:date>
    </item>
  </channel>
</rss>

