An Azure service that provides a general-purpose, serverless container platform.
Hello @Swapnil Mishra It looks like you're running into an authorization issue while deploying your container image to Azure Container Apps. The error message indicates that the client you're using doesn't have permission to perform the required action. Please try below:
- Check Azure Role Assignments: Ensure that your user account or service principal has the necessary permissions to access the resource. You might need to be assigned a role like
ContributororOwnerfor the relevant subscription or resource group. - Verify Subscription and Resource Group: Make sure that you are operating within the correct subscription and resource group where your Azure Container Apps service is deployed.
- Refresh Credentials: If access was recently granted, try refreshing your Azure credentials. This can be done by logging out and back in or using the Azure CLI command
az login. - Use Azure CLI or Portal: Sometimes, using the Azure CLI directly for deployment might provide clearer error messages. Review the command you are using and verify that the parameters are correctly set.
- Permissions on Container Registry: If you're pulling the image from an Azure Container Registry, make sure your user has permissions to access that registry as well, particularly if it’s a private registry.