Error in Mapping Dataflow - 403, PUT, AuthorizationPermissionMismatch - request is not authorized

Kia 31 Reputation points
2024-06-13T16:44:24.0166667+00:00

I've built a dataflow to perform a simple task - read from raw zone > drop duplicates > write to refined zone. Even though the permissions have been set correctly RWX for the Synapse MI (ACLs), I am encountering the following error -

https://<storage>.dfs.core.usgovcloudapi.net/zones/refined/e2c80414-9938-4811-a951-5393d65f8575/_temporary/0/_temporary/attempt_202406131420357194952145992489560_0005_m_000000_289/part-00000-4d9d8e99-1fb9-4da9-a055-e6e69a77253b.c000.snappy.parquet?action=append&position=0&timeout=90,

AuthorizationPermissionMismatch, "This request is not authorized to perform this operation using this permission. RequestId:" at org.apache.hadoop.fs.azurebfs.services.AbfsRestOperation.execute(AbfsRestOperation.java:207)   at org.apache.hadoop.fs.azurebfs.services.AbfsClient.append(AbfsClient.java:444)   at org.apache.hadoop.fs.azurebfs.services.AbfsOutputStream.lambda$writeCurrentBufferToService$0(AbfsOutputStream.java:458)

Requesting assistance from anyone who might have encountered and fixed this error.

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,621 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Harishga 5,590 Reputation points Microsoft Vendor
    2024-06-18T07:37:22.2466667+00:00

    Hi @Kia
    The reason why the Synapse MI needs the Storage Blob Data Contributor role is that it requires the permission to write data to the storage account. Even though the ACLs are set up correctly, the MI still needs the role to perform write operations. The ACLs only control access to the container and its contents, but not the permissions required to perform write operations.

    You mentioned that the MI can read the data to process, which confirms that there is no firewall issue, and the names are correct. However, it is still possible that the MI does not have the required permissions to write data to the container. I would recommend checking if the MI has the Storage Blob Data Contributor role assigned to it and verifying that the correct permissions are set up for the container.

    I hope this information helps you. Let me know if you have any further questions or concerns.

    0 comments No comments