How to read data from blob storage using Linked Service token in Synapse
BEPV
0
Reputation points
Hello,
I am trying to use Linked Service token to read from an azure blob storage (NOT AZURE DATA LAKE STORAGE GEN2) in a Synapse Notebook, I created a linked Service and test the connection and it was succesfull but when I am trying to read using spark from the synapse notebook I am getting the following error:
spark.conf.set(f
spark.conf.set(f
full_path = "abfss://******@storageaccount.dfs.core.windows.net/"
df = spark.read.format('csv').load(full_path)
Py4JJavaError: An error occurred while calling o4165.load. : java.nio.file.AccessDeniedException: Operation failed: "This request is not authorized to perform this operation using this permission.", 403, HEAD, ...
The Linked Service is allow to connect successfully, I need to use Linked Service token because I need to use certificate instead of secret for authentication.
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Sign in to answer