Mar 25 2019 11:41 AM
Hi,
I've kicked of a WVD deployment as per the docs, (with all the pre-reqs)... during the Hostpool deployment ... the deployment abors during the following stage:
VM Creation - success
VM Join (AADomain Services) - success
DSC Extension - failure with the error below:-
{'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. LCM failed to start desired state configuration manually.\\\\\\'.\\'\\r\\n }\\r\\n ]\\r\\n }\\r\\n}'}]}
Mar 29 2019 12:48 PM
@raheel780 : Quick question, does your Windows Virtual Desktop tenant admin require multi-factor to authenticate? If so, then this would be one reason the script failed, and then I would advise to follow these steps to create a service principal and a role assignment.
Apr 04 2019 02:49 AM