Miscellaneous error encountered while downloading one of the specified Azure Blob(s) during Azure Batch job in ADF

11-4688 211 Reputation points
2025-02-21T11:31:27.7766667+00:00

I am encountering a Miscellaneous error encountered while downloading one of the specified Azure Blob(s) error when I run a Python script in Azure Data Factory in a Subscription A while everything reproduced from scratch works on a Subscription B.

Steps:

  1. Setting up Azure Batch Service and Pool with Ubuntu Server 22.04, User Identity: Admin Pool, AND Virtual Network VN1 + Subnet Subnet1 selected during the Pool Configuration
  2. Storage Account with container example and hello.py script. Firewall settings: Enable from selected virtual networks: VN1 and Subnet1 + User's image
  3. Azure Data Factory, where I create a Managed Virtual Network Integration Runtime and Add Batch Account with Pool details and Blob Storage from 2. as linked service

The Issue: when I set it up from scratch in Subscription B, when I create a Managed Private Endpoint in ADF from step 3 and approve it in SA from 2 - everything works just fine.

In case of Subscription A, it works if the Storage Account is public. When I change the setup to "Enable from selected virtual networks" and select VN associated with my Pool, generate Managed Privte Endpoint in ADF and approve it in the SA - I get the error:

Miscellaneous error encountered while downloading one of the specified Azure Blob(s)

FilePath - /mnt/batch/tasks/workitems/mypoolname/job-1/myjobid/wd/activity.json

Message - Failure in name resolution for https://mysaname.blob.core.windows.net/adfjobs/myjobid/runtime/activity.json?sv=2021-08-06&se=2025-03-21T12%3A36%3A07Z&sr=b&sp=r&sig=mysig

Unfortunately Subscription A is a prod environment and I don't want to experiment too much.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,274 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.