Synapse Spark - AuthorizationPermissionMismatch

Ryan Abbey 1,171 Reputation points
2023-01-31T21:01:33.18+00:00

We have a storage account that uses CDM based files (D365 synapse link), we are trying to use the CDMUtil to create Spark based tables to enable us to reference these storage account files, however, we are getting the below error when running the utility

"This request is not authorized to perform this operation using this permission.", 403, GET, https://<XX>.dfs.core.windows.net/dd?upn=false&resource=filesystem&maxResults=500&directory=dd/Tables/Finance/FixedAssets/Main/AssetBook&timeout=90&recursive=false, AuthorizationPermissionMismatch, "This request is not authorized to perform this operation using this permission. RequestId:e2cbf764-401f-006a-192a-35320c000000 Time:2023-01-31T04:16:40.8880756Z"

The synapse managed identity has Storage Blob Data Contributor role on the storage account; as it's creating a Spark table, I'm not sure if there's anything that needs to be done on the target side (we have already created delta based tables on the target side but no external table like this)

Any ideas what else we are missing?

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.
4,364 questions
{count} votes