cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Unable to Access Azure Blob Storage from Databricks Community Edition Notebook

knight22-21
New Contributor

Hi everyone,

Iโ€™m currently using the Databricks Community Edition and trying to access data stored in Azure Blob Storage from my .ipynb notebook. The storage account is part of my student free Azure subscription.

However, Iโ€™m not able to establish a connection or retrieve any data from the blob storage.

I wanted to check:

  • Is access to external Azure Blob Storage restricted in the Databricks Community Edition?
  • If it is supported, could someone guide me on the correct way to configure the connection?

Any help or pointers would be greatly appreciated. Thanks in advance!

2 REPLIES 2

AngelShrestha
New Contributor II

Hi @knight22-21 

Could you share a bit more detail so that we can help better?

  1. How are you trying to connect? (e.g., spark.conf.set, dbutils.fs.mount, Python SDK, etc.)
  2. What exact error are you seeing?

The answer depends heavily on your method:

  • dbutils.fs.mount() โ†’ not supported in Community Edition
  • Python azure-storage-blob SDK โ†’ may work, but you'd need to be able to pip install azure-storage-blob first
# This approach MIGHT work - worth trying:
pip install azure-storage-blob

from azure.storage.blob import BlobServiceClient
client = BlobServiceClient.from_connection_string("your_connection_string")โ€‹

If none of these work due to network restrictions, the reliable fallback is uploading your file directly to a Unity Catalog Volume via the Databricks UI and reading from there.

What method are you currently using?

Angel Shrestha

emma_s
Databricks Employee
Databricks Employee

Hi,

I think you are referring to Databricks Free edition, in which case this doesn't support the connection to external storage such as Azure Blob storage.


Thanks,

Emma