Template validation error when creating host pool

Copper Contributor

This has just started happening today. I'm using the WVD - Provision A host Pool in the Azure Portal.

 

NOTE:

- Same WVD tenant has been working even up until this morning.

- I'm using a service principal to authenticate. This is also working.

- Using the Windows 10 w/ Office template

 

PROBLEM: I created a host pool earlier, however missed the domain config when setting up the deployment so it failed when trying to join the machine to the domain. I removed the resource group and all related resources in said group leaving my networks etc intact, and configured the deployment again. On validation, I am now getting the following error:

 

 
InvalidTemplate
Deployment template validation failed: 'The template parameter 'baseUrl' is not found.
 
It does not matter which of the supplied templates I use I have the same problem.
 
Any suggestions or further info required?
37 Replies

@Jasa1976 : To confirm, you're saying that the host pool gets created and the virtual machines get created, but they do not successfully register as session hosts in the host pool?

 

Have you tried our GitHub ARM template linked here: https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/Create%20and%20provision%20WVD%20ho... ?

@Christian_Montoya 

 

Nothing gets created. When its doing the summary I get the following error:

 

InvalidTemplate
Deployment template validation failed: 'The template parameter 'baseUrl' is not found. Please see https://aka.ms/arm-template/#parameters for usage details.'.
 
Tried using the RDS template and that gives a similar error.

@Jasa1976 @Christian_Montoya 

 

Same here.  I've created the Tenant via shell, but seeing this Template URL error now when trying to use the GUI to actually create the pool.  Full stop on pool validation.

@Eva Seydl 

 

Hi,

 

When will this information be updated?

@Sejun Kim : We're actively working on the fix, but do not have a specific ETA at this time. In the meantime, I would recommend running our GitHub ARM template: https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/Create%20and%20provision%20WVD%20ho...

@Christian_Montoya 

 

Tried that and I get the following error:

 

{"telemetryId":"9086fbb7-0410-410d-aa96-138e3ef7ce41","bladeInstanceId":"Blade_4fdfe004514548c58bdf4231fa302db0_0_0","galleryItemId":"Microsoft.Template","createBlade":"DeployToAzure","code":"InvalidContentLink","message":"Unable to download deployment content from 'https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-templates/Create and provision WVD host pool/nestedtemplates/managedDisks-galleryvm.jsonEmilyRose2010!'. The tracking Id is '498cc182-8b71-4166-8917-9a8754b6840f'. Please see https://aka.ms/arm-deploy for usage details."}

@WookieGTB 

 

I found a workaround, use Github template to provision hostpools.

 

You can findet link to template here https://docs.microsoft.com/en-gb/azure/virtual-desktop/create-host-pools-arm-template#run-the-azure-...

 

Br

Same problem here. Any updates available?
@evasedlyn has there been any change to the issue?

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.

 

InvalidTemplate
Deployment template validation failed: 'The template parameter 'baseUrl' is not found. Please see https://aka.ms/arm-template/#parameters for usage details.'.
 
 
Could someone give us an eta Ive got too demo this need to know when it will be fixed.

@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!

@Christian_Montoya 

 

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" } }error.PNG

@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.

@Christian_Montoya 

 

Hi I first of all thank you for replying back I may have found why it gave me an error I used a blob storage vhd. and my storage account for the vhd was in different region to the resource grp so I am doing Azcopy and I will redeploy hopefully this will work.

 

I will keep you posted.



@Christian_Montoya 

 

Hi I first of all thank you for replying back I may have found why it gave me an error I used a blob storage vhd. and my storage account for the vhd was in different region to the resource grp so I am doing Azcopy and I will redeploy hopefully this will work.

 

I will keep you posted.

@Christian_Montoyagood stuff, thanks again for this.

If you are using a free subscription, keep in mind we are only allowed to have 4 vcpu, so resize the pool size@WookieGTB 

If you are using a free account you need to reduce your number of vCPU to 4 and also reduce the number of users.

The default number of users is 100, reduce it to 5 or less.