The Test-AzDeployment invocation in the pipeline does not display the actual error which should be improved. Instead you get e.g.
"Code": "InvalidTemplateDeployment",
"Message": "The template deployment '63cf1c49-0691-4019-bc26-50e8c7a94273' is not valid according to the validation procedure. The tracking id is '7d823c4b-b602-45df-8757-4b8fb07a4acd'. See inner errors for details.",
"Target": null,
"Details": [
{
"Code": "PreflightValidationCheckFailed",
"Message": "Preflight validation failed. Please refer to the details for the specific errors.",
"Target": null,
"Details": "Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceManagerError"
}
]
}
The Test-AzDeployment invocation in the pipeline does not display the actual error which should be improved. Instead you get e.g.