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.
8,315 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,552 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.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.