Azure ADF using Azure Batch throws Shared Access Signature generation error

584 Views Asked by At

I am working on a simple Azure Data Factory pipeline where I have simply added a Batch Service and in that specified the Batch Service account (which I have created thru linked service and tested the connection is working). In the command I am just running a simple "ls" command and when I do a debug run I get this error: "Cannot create Shared Access Signature unless Account Key credentials are used." I have following linked services "Azure Batch", "Azure Blob Storage" and Key Vault (where we store the access key). All linked services connections are working properly.

Any help on how to fix this error: "Cannot create Shared Access Signature unless Account Key credentials are used."

Azure Batch Linked service: enter image description here

Azure Storage Linked service: enter image description here

Azure Data factory pipeline: enter image description here

1

There are 1 best solutions below

0
On

The issue happens because you use "Managed Identity" to connect ADF to the Storage. It will say "successful" when doing a connection test on the linked services but when this storage is used for a Batch, it needs to have "Account Key" authentication type (see here).