Forum Discussion
Template validation error when creating host pool
Hi,
I am new to the community but Im getting the same error and I built from scratch for a demo.
When I complete all of the prerequisite and then validate I get validation failed and the error thats mentioned.
- Christian_MontoyaMay 30, 2019
Microsoft
Cipherx Leroy DSouza WookieGTB Michael_Kolm Sejun Kim : The Azure Marketplace offering is now resolved. You should be able to resume deploying through this tool now!
- jaycrumpgpMay 31, 2019Brass Contributor
Christian_Montoyagood stuff, thanks again for this.
- CipherxMay 30, 2019Copper Contributor
Hi Christian,
Thank you for working on this I am still getting errors please see below.
And when I try to redeploy it gives me validation error in the custom template.
{"telemetryId":"60e9248a-be6e-41da-9632-739b12326b61","bladeInstanceId":"Blade_7de4c2cad3884465865f655154df1a1d_16_0","galleryItemId":"Microsoft.Template","createBlade":"DeployToAzure","code":"InvalidTemplate","message":"Deployment template validation failed: 'The template resource '_artifactsLocation' at line '91' and column '31' is not valid: The language expression property 'templateLink' doesn't exist, available properties are 'template, templateHash, parameters, mode, debugSetting, provisioningState'.. Please see https://aka.ms/arm-template-expressions for usage details.'."}
Below is market place deployment error.
{ "id": "/subscriptions/142c261a-c381-4f4a-b04b-f57e0ceb2703/resourceGroups/WVD_Demo_RG/providers/Microsoft.Resources/deployments/rds.wvd-provision-host-pool-20190530225919/operations/B1E1BD1B33499F3B", "operationId": "B1E1BD1B33499F3B", "properties": { "provisioningOperation": "Create", "provisioningState": "Failed", "timestamp": "2019-05-30T21:59:34.6503593Z", "duration": "PT9.516157S", "trackingId": "9ac37ba5-4956-4245-928d-bc5c2d3dde98", "statusCode": "Conflict", "statusMessage": { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.", "details": [ { "code": "BadRequest", "message": "{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"message\": \"The source blob https://wvdvirtualmachinergdisks.blob.core.windows.net/vhds/Test-WVD0120190529221602.vhd does not belong to the same region as the disk.\",\r\n \"target\": \"disks\"\r\n }\r\n}" } ] } ] } }, "targetResource": ResourceGroups/WVD_Demo_RG/providers/Microsoft.Resources/deployments/vmCreation-linkedTemplate", "resourceType": "Microsoft.Resources/deployments", "resourceName": "vmCreation-linkedTemplate" } }
- Christian_MontoyaMay 30, 2019
Microsoft
Cipherx : Can you try going back through Azure Marketplace to redeploy? It looks like this issue of "redeploying from the failed/completed template" may be a side-effect to the new publishing flow.