rds.wvd-provision-host-pool - provisioning failed - "code": "VMExtensionProvisioningError",

Mushtaq Lambe 81 Reputation points
2020-04-28T10:45:58.397+00:00

While creating Host pool for windows virtual desktop - It gave an error after creation of VM machines.
the error was on dsc extenstion with status showing as "Conflict".
The error code was "code": "VMExtensionProvisioningError"
"VM has reported a failure when processing extension 'dscextension'. Error message: \"DSC Configuration 'CreateHostPoolAndRegisterSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Test-TargetResource functionality with error message: Windows Virtual Desktop Authentication Failed,

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,119 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,367 Reputation points Microsoft Employee
    2020-04-29T00:49:55.107+00:00

    This could happen if PowerShell DSC extension was not able to get admin access on the VM. Ensure that the username and password provided have administrative access on the virtual machine. Add the user account to RDS owner group and run the Azure Resource Manager template again.

    Reference: Troubleshooting Guide

    1 person found this answer helpful.