Forum Discussion

Dave1200's avatar
Dave1200
Copper Contributor
Mar 22, 2019

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}"}]}

4 Replies

  • Dave1200's avatar
    Dave1200
    Copper Contributor
    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's avatar
        Dave1200
        Copper Contributor

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

Resources