Forum Discussion
Dave1200
Mar 22, 2019Copper Contributor
Deployment Error
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}"}]}
- Dave1200Copper ContributorOn 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- byertjamesCopper Contributor
Hi Dave, did you get this resolved? I am experiencing the same issue.
- Dave1200Copper Contributor
byertjames Yes, it was the permissions for the service principal. The link above has the steps for setting up this account.