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 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.\\\".\"\r\n }\r\n ]\r\n }\r\n}"}]}

4 Replies
On further research, it's probably related to the service principal role assignments.
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-service-principal-role-powershell

@Dave1200 

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: https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/ Please let me know if that works for you, otherwise let me know where you struggle.