cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Spark configuration to access Azure Blob or ADLS

yugz
New Contributor III

I am new to Databricks, I am using the free edition of Databricks. I have tried 
[spark.conf.set("fs.azure.account.auth.type.<storage-account>.dfs.core.windows.net", "SAS")
spark.conf.set("fs.azure.sas.token.provider.type.<storage-account>.dfs.core.windows.net", "org.apache.hadoop.fs.azurebfs.sas.FixedSASTokenProvider")
spark.conf.set("fs.azure.sas.fixed.token.<storage-account>.dfs.core.windows.net", dbutils.secrets.get(scope="<scope>", key="<sas-token-key>"))]  and [spark.conf.set(
"fs.azure.account.key.<storage-account>.dfs.core.windows.net",
dbutils.secrets.get(scope="<scope>", key="<storage-account-access-key>"))] but I keep getting the same error

[CONFIG_NOT_AVAILABLE] Configuration fs.azure.account.key.ygustorage.dfs.core.windows.net is not available. SQLSTATE: 42K0I

9 REPLIES 9

Renu_
Valued Contributor II

Hi @yugz, this looks similar to an issue discussed in another thread (https://community.databricks.com/t5/data-engineering/access-adls-with-serverless-config-not-availabl...), could you try the solution mentioned there and see if it helps?

szymon_dybczak
Esteemed Contributor III

Hi @yugz ,

This is depracted approach to configure storage in Databricks. If you're using Databricks Free edition your new workspace includes serverless compute and default storage, so you can immediately start exploring and building on Databricks. The point is - you don't have to configure storage, because it's already been configure for you.

yugz
New Contributor III

Hello @szymon_dybczak ,

Thanks for reaching out to my concern. I am just been introduced to Databricks. How can I access the data I have in my bronze folder on ADLS?

szymon_dybczak
Esteemed Contributor III

Hi, 

I don't know if you can create external location in databricks free edition, but this would be my approach ( assuming you want to bring in your own storage account):

https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-external-locations

 

Here's a really good video guide that explains those concepts and shows how to configure it: 

https://youtu.be/kRfNXFh9T3U

yugz
New Contributor III

yugz_1-1751047654548.png

The only options here are for AWS or Cloudflare to create credentials

nayan_wylde
Honored Contributor

This is an old way of accessing data lake. With the free edition and serverless it is not supported. Try creating an external credential and external location to the data lake.

https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-external-locations

yugz
New Contributor III

yugz_0-1751047586066.png

The only options here are for AWS or Cloudflare to create credentials

nayan_wylde
Honored Contributor

yugz
New Contributor III

All I see is for AWS and Cloudflare and nothing for Azure cloud. I am using Azure cloud.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now