How to get more detailed errors for a failed deployment of an image from Azure marketplace

Jason Major 0 Reputation points
2025-08-06T18:12:56.38+00:00

Whenever I try to deploy a Netgate Pfsense plus firewall (Tac Lite) in Azure, I get the following error. This happens in multiple azure tenants, with multiple subscriptions, regions, compute quotas:

Trying to open a support ticket through Azure, it routed me here.

{
  "code": "DeploymentFailed",
  "target": "/subscriptions/6059c092-a65e-44c5-90d0-bd78e582dbc8/resourceGroups/YNC_Eisai/providers/Microsoft.Resources/deployments/Microsoft.Template-20250806065339",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
  "details": [
    {
      "code": "ResourceDeploymentFailure",
      "target": "/subscriptions/6059c092-a65e-44c5-90d0-bd78e582dbc8/resourceGroups/YNC_Eisai/providers/Microsoft.Compute/virtualMachines/YNC-Eisai-PFS",
      "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'."
    }
  ]
}
Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
{count} votes

1 answer

Sort by: Most helpful
  1. Nikhil Duserla 8,515 Reputation points Microsoft External Staff Moderator
    2025-08-06T19:31:50.9566667+00:00

    Hello @Jason Major,

    check to list all deployments for a resource group:

    az deployment group list --resource-group YNC_Eisai
    

    To view failed operations:

    az deployment operation group list --resource-group YNC_Eisai --name Microsoft.Template-20250806065339 --query "[?properties.provisioningState=='Failed']"
    

    Go to the Activity Log in the Azure Portal for the resource group or VM to see more granular error messages and share in private message.

    VM Provisioning Failures causes-

    Quota limits exceeded (e.g., CPU cores, public IPs)

    Incorrect VM size or region availability

    Missing or misconfigured network resources (NIC, NSG, subnet)

    Invalid image reference or OS disk configuration

    View deployment history with Azure Resource Manager-https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history?tabs=azure-portal

    If you have any further queries, do let us know.

    0 comments No comments

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.