Miscellaneous error encountered while downloading one of the specified Azure Blob(s) during Azure Batch job in ADF
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:
- Setting up Azure Batch Service and Pool with Ubuntu Server 22.04, User Identity: Admin Pool, AND Virtual Network
VN1
+ SubnetSubnet1
selected during the Pool Configuration - Storage Account with container
example
andhello.py
script. Firewall settings: Enable from selected virtual networks:VN1
andSubnet1
+ - 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.