Specified resource does not exist

Clover J 200 Reputation points
2023-11-19T18:51:28+00:00

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.
11,119 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vahid Ghafarpour 22,310 Reputation points
    2023-11-19T19:32:15.12+00:00

    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.

    https://learn.microsoft.com/en-us/azure/batch/accounts


0 additional answers

Sort by: Most helpful

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.