Forum Discussion

KieranMReportabl's avatar
KieranMReportabl
Copper Contributor
May 06, 2022

Data Factory Custom Activity - Error: 2505

Trying to run a python script from Azure Data Factory with a custom activity. I cannot for the life of me work out why my batch service fails to authenticate.


Error 2505: General Troubleshooting - Azure Data Factory & Azure Synapse | Microsoft Docs

 

Data Factory Linked Service

Azure BLOB (SAS) - Read/Write/List Service, Container, Object

Batch Linked service connecting with account key:

Confirmed SAS connection from Custom Activity:

Batch Account

Storage added and keys synchronised

Node task idle (no faults)

Node image is Ubuntu

 

Batch, Storage, and Data Factory Service Principals belong to the same security group.

 

The security group has:

  • Managed Application Operator Role in Batch Account
  • Storage Blob Data Contributor in Storage Account
  • Contributor in Data Factory

What am I doing wrong? The official tutorial doesn't seem to touch on any security/permission requirements

 

  • Resolved (sort of)

    I could not use an existing Azure Blob linked service, presumably because it was configured without the "access key" requirement.

     

    Creating a new blob linked service from the Batch linked service configuration panel (above) pre-populates the blob form with the correct configurations.

     

  • Resolved (sort of)

    I could not use an existing Azure Blob linked service, presumably because it was configured without the "access key" requirement.

     

    Creating a new blob linked service from the Batch linked service configuration panel (above) pre-populates the blob form with the correct configurations.

     

Resources