real-time inference pipeline failed to deploy for some unknown error and unable to view the logs

Hesham Haikal 1 Reputation point
2022-09-09T18:32:17.977+00:00

After submitting a successful inference pipeline, I attempted to deploy the model to a container instance. However, it failed and to make it worse I can't see the logs due to forbidden permissions error even though I am sole owner of resource group & instance. To put the nail on the coffin, I also can't view any related container instances inside Azure Portal...only the endpoints in ML studio.

Here's the permissions error:

![{  
  "error": {  
    "code": "Forbidden",  
    "message": "Forbidden",  
    "details": [  
      {  
        "code": "AuthorizationFailed",  
        "message": "The client 'df9ec36b-a97d-4c60-a6fe-91048565a571' with object id 'df9ec36b-a97d-4c60-a6fe-91048565a571' does not have authorization to perform action 'Microsoft.ContainerInstance/containerGroups/containers/logs/read' over scope '/subscriptions/7d36b75b-8fd4-4ef9-92fe-69f951afa25d/resourceGroups/playground/providers/Microsoft.ContainerInstance/containerGroups/playground-pipe-ommOzSbRhUSx8qiJGQ4HiA/containers/playground-pipe' or the scope is invalid. If access was recently granted, please refresh your credentials."  
      }  
    ]  
  },  
  "correlation": {  
    "RequestId": "745ad382-74c0-4c67-8853-053807cd6336"  
  }  
}][1]  
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,563 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SeokJin Han (MSFT) 1 Reputation point Microsoft Employee
    2023-01-25T05:16:16.5533333+00:00

    @Hesham Haikal not sure if your case with ACI deployment is resolved now. Best way for us to help is through support ticket on Azure portal, where we can dig deeper what happens in the backend. If needed, please leverage the support ticket process.

    Please also consider using Managed online endpoint instead of ACI, as that is the solution we recommend for real-time inferencing. Learn more: [https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-online-endpoints?tabs=azure-cli

    0 comments No comments