SOLVED

Error deploying WVD to a subscription

Brass Contributor

I've tried three different deployments in the Azure portal for WVD.  I keep getting the same error after VM creation and domain join:

 

{"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":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'dscextension'. Error message: \\\"DSC Configuration 'FirstSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: One or more errors occurred. The SendConfigurationApply function did not succeed.\\\".\"\r\n }\r\n ]\r\n }\r\n}"}]}

 

Has anyone seen this?  I have tried using the AAD credentials method for tenantAdminUPN (instead of using a service principal) for all three.  Has anyone had success using this method?  Or should I just try the route of SPN instead.  Thanks in advance for any suggestions.

42 Replies

@timhermie @STJimmy : If there's a generic validation error, one thing you might want to check is quota for the VM SKU that you selected.

Hi Christian,
I am deploying a new WVD pool through Terraform, hitting the same error it seems. Was anything changed? Can't access the URL locally, file does not seem to be available as download:

Error message: \"The DSC Extension failed to execute: Error downloading https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-templates/Create%20and%20provision%... after 2 attempts: 404: Not Found.\r\nMore information
about the failure can be found in the logs located under 'C:\\WindowsAzure\\Logs\\Plugins\\Microsoft.Powershell.DSC\\2.80.0.0' on the VM.\"\r\n\r\nMore information on troubleshooting is available at
https://aka.ms/VMExtensionDSCWindowsTroubleshoot "

 

Edit: The master release does not seem to include these files, switched from master to wvd-mgmt-src and the file is available on that release.

 

Edit2: Seems the DSC folder was moved 1 level higher in the tree, now available at.  @Christian_Montoya can you please request that the script is corrected?

 

Old path on row 64 in variables.tf (at https://github.com/Azure/RDS-Templates/tree/master/wvd-sh/terraform-azurerm-windowsvirtualdeskto...

Old path:

https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-templates/Create%20and%20provision%20WVD%20host%20pool

New path:

https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-templates

Yes, working with our team to make sure the scripts are referenced correctly. Unfortunately, most of the team is on holiday today, but will confirm this week.