I'm playing around with the Azure Databricks. Using the documents specified on the Microsoft Learn website, I managed to mount a BLOB storage (ADLS Gen2) to my Databricks.
However, when I try to list the contents of the mounted storage, I get the following error:
ExecutionError: An error occurred while calling z:com.databricks.backend.daemon.dbutils.FSUtils.ls.
: GET https://xxxxxxxxxxxxx.dfs.core.windows.net/xxxxxxx?resource=filesystem&maxResults=5000&timeout=90&recursive=false
StatusCode=403
StatusDescription=This request is not authorized to perform this operation using this permission.
ErrorCode=AuthorizationPermissionMismatch
I've checked the permissions, and my ServicePrincipal has been assigned the role 'STORAGE BLOB DATA CONTRIBUTOR' which allows R/W access on my storage container.
Anyone has an idea which part I'm missing to get this working? Help will be much appreciated.