cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to mount ADLS gen2 to databricks file system

Sangram
New Contributor III

I am unable to mount ADLS gen2 storage path into databricks storage path.

Sangram_0-1700274947304.png

It is throwing error as unsupported azure scheme:abfss

May I know the reason.

Below are the steps that I followed: -

1. create a service principal

2. store the service principal's secret in azure key vault

3. Give service principal get and list permissions in azure key vault

4. Give service principal necessary permission "blob storage contributor" role in ADLS

Now, please tell me what additional step I need to perform to remove this error. I have followed these steps from youtube video (64) 30.Access Data Lake Storage Gen2 or Blob Storage with an Azure service principal in Azure Datab...

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @Sangram , Certainly! Let’s troubleshoot the issue with mounting Azure Data Lake Storage Gen2 (ADLS Gen2) into Databricks.

Azure Key Vault Permissions:

Service Principal Configuration:

  • Confirm that you’ve correctly created the service principal and stored its secret in Azure Key Vault.
  • Make sure the service principal has the required permissions:
    • Blob Storage Contributor role in ADLS Gen2.
    • Application Administrator role or Application.ReadWrite.All permission in Microsoft Enterprise ID (formerly Azure Active Directory) if you create a new service principal for the storage credential.

Unity Catalog External Locations:

Spark Properties Configuration:

Legacy Windows Azure Storage Blob Driver (WASB):

Migrating from Azure Data Lake Storage Gen1 to Gen2:

If you encounter any further challenges, feel free to ask for additional assistance. 😊