Specified resource does not exist

Clover J 60 Reputation points

Im trying to run custom activity in Azure data factory which executes PowerShell script that will change the blobs tier to "hot". I created Batch account and I have saved the script on the storage account. Both Batch account and storage account successfully connect to custom activity. When I trigger the ADF pipeline I got the following error.

{“errorCategory”:0, "code": "Failure ExitCode", "message: "The task exited with an exit code representing a failure", “ details”: [{N"Name”: "Message", Value: "The task process exited with an unexpected exit code”},

{"Name: AdditionalError Code", "Value": "Failure ExitCode 11”}]}

Error in the output file of Batch account: < Error> <Code>ResourceNotFound</Code> <Message>The specified resource does not exist. RequestId: e5313310-001-000b-269b-bd9c33000000

Time: 2023-07-23T19:25:38. 5391510Z</Message> </Error>

I tried to changed the access level of container from private to blob but it didn't help. Any suggestion please?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
8,527 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vahid Ghafarpour 8,835 Reputation points

    Thanks for posting your question in the Microsoft Q&A forum.

    I'd grant the Batch service access to the storage account by assigning the Storage Blob Data Contributor role to the Batch service principal.


0 additional answers

Sort by: Most helpful