Hello @Wentzler, Charlotte ,
Thanks for the question and using MS Q&A platform.
Accessing the ADLS Gen2 via mount point and using (spark.conf.set) OAuth 2.0 with an Azure Active Directory (Azure AD) application service principal for authentication are the different ways of access the ADLS gen2 account using Azure Databricks.
Mount: Azure Databricks mounts create a link between a workspace and cloud object storage, which enables you to interact with cloud object storage using familiar file paths relative to the Databricks file system. Mounts work by creating a local alias under the /mnt directory.
- Storage account linked to the workspace
- Storage account accessibale to eveyone that has access to your databricks workspace Spark.conf.set: You can securely access data in an Azure storage account using OAuth 2.0 with an Azure Active Directory (Azure AD) application service principal for authentication
- Limited to the cluster where the notebook is attached
- Applicable for the specific session when you are running the notebook and once the cluster stopped this will not work anymore.
These are the deprecated patterns for storing and accessing data from Azure Databricks:
This article Enterprise security for Azure Databricks provides an overview of the most important security-related controls and configurations for the deployment of Azure Databricks.
Hope this will help. Please let us know if any further queries.
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators