I tried different docs in google.still I getting Same Error message
I am using azure synapse with ADLS gen2
Could anyone provide me any suggestions. How to solve this problem?
CodePudding user response:
Permission denied [errno 13] occurred when you try to access path without having the enough permission. Please make sure to check whether you have all permission.
Otherwise go to Azure Storage Account -> Access control (IAM) -> Add role assignment as Storage blob data contributor.
Syntax:
#Mounting ADLS Gen2
mssparkutils.fs.mount(
"abfss://<container>@<Storage_account>.dfs.core.windows.net",
"/<mount_folder>",
{"linkedService":"Azure_datalake_Gen2"}
)
For more information refer this GitHub Link