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,