Deployment Error

Copper Contributor

Hi, Getting the following deployment error. Is Azure AD domain services supported for the AD environment?


{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see 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}"}]}

4 Replies
On further research, it's probably related to the service principal role assignments.


Hi Dave, did you get this resolved? I am experiencing the same issue.

@byertjames  Yes, it was the permissions for the service principal. The link above has the steps for setting up this account.

Indeed it is. I succesfully deployed a WVD, setting the correct permissions and created a blogpost about it: Please let me know if that works for you, otherwise let me know where you struggle.