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.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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?
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.