Azure / Azure/Azure-DataFactory

Azure ADF using Azure Batch throws Shared Access Signature generation error with Managed Identity

Open
#287 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
529
Forks
623
PR merge metrics
No merged PRs in 30d

Description

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. For Azure Blog Storage we are using "Managed Identity" and not "Account Key authentication) and I am still not sure why the above error with Managed identity used. Is this a bug where even after selecting the Authentication Type as MANAGED IDENTITY the storage account access us going thru Account Key access?

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

Azure Batch Linked service:
![image](https://user-images.githubusercontent.com/12475114/122081327-0329e880-cdcd-11eb-8d71-6ae15c58c6b1.png)

Azure Storage Linked service:

![image](https://user-images.githubusercontent.com/12475114/122081408-1046d780-cdcd-11eb-8fde-84cdf92c125b.png)

Azure Data factory pipeline:
![image](https://user-images.githubusercontent.com/12475114/122081481-22287a80-cdcd-11eb-982c-03265f27f146.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.