Error during batchpoint invoke: Access to this resource is denied. Please check your ACL rules on the resource

Khai-Tam Nguyen 20 Reputation points
2024-07-22T11:59:17.8133333+00:00

Hello, I am getting a "Access to this resource is denied. Please check your ACL rules on the resource." when attempting to invoke a batch endpoint. I have tried both with Azure CLI and Azure Data Factory to invoke a batch endpoint, with both getting the same error. I have owner access to the ResourceGroup, MachineLearning Workspace and Storage account. I don't have access however to Microsoft Entra ID.

I suspect there is something wrong with my input, but I'm unsure what exactly, as the Azure CLI command does run with local files. However, I want to use a csv that has been uploaded to the storage blob container and not local files.

Below you can see the Azure CLI command that I ran with placeholder names and the error below it.

az ml batch-endpoint invoke --name my_batch_endpoint_name \
    --deployment-name my_deployment_name \
    --input "url_to_my_csv_storage_blob" \
	--input-type "uri_file" \
    --experiment-name "plant-classification-experiment" \
    --resource-group my_resourcegroup \
	--workspace-name my_workspace_name

Access to this resource is denied. Please check your ACL rules on the resource.

Below you can see where I got the URL from.Screenshot 2024-07-22 at 13.52.58 What am I doing wrong?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,961 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,833 questions
{count} vote

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.