Windows Virtual Desktop error dscextension

%3CLINGO-SUB%20id%3D%22lingo-sub-1037945%22%20slang%3D%22en-US%22%3EWindows%20Virtual%20Desktop%20error%20dscextension%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1037945%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20morning%20team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20creating%20a%20host%20pool%20for%20WVD%20but%20I'm%20receiving%20this%20error%20message%2C%20I've%20tried%203%20times%20with%20the%20same%20error.%20The%20selected%20region%20is%20West%20Europe%20and%20I'm%20using%20Azure%20AD%20Domain%20Services%20(not%20on%20premise%20AD)%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%20%22id%22%3A%20%22%2Fsubscriptions%2F7d9d0261-f4de-4feb-9e2d-68c45eab82af%2FresourceGroups%2Frg_wvd%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Frds.wvd-provision-host-pool-20191128114056%2Foperations%2FAFD387C05030BF22%22%2C%20%22operationId%22%3A%20%22AFD387C05030BF22%22%2C%20%22properties%22%3A%20%7B%20%22provisioningOperation%22%3A%20%22Create%22%2C%20%22provisioningState%22%3A%20%22Failed%22%2C%20%22timestamp%22%3A%20%222019-11-28T10%3A58%3A22.008355Z%22%2C%20%22duration%22%3A%20%22PT4M9.3368906S%22%2C%20%22trackingId%22%3A%20%22af56aea2-6ef3-4b31-a07a-f2b5158f6fab%22%2C%20%22statusCode%22%3A%20%22Conflict%22%2C%20%22statusMessage%22%3A%20%7B%20%22status%22%3A%20%22Failed%22%2C%20%22error%22%3A%20%7B%20%22code%22%3A%20%22ResourceDeploymentFailure%22%2C%20%22message%22%3A%20%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%22%2C%20%22details%22%3A%20%5B%20%7B%20%22code%22%3A%20%22VMExtensionProvisioningError%22%2C%20%22message%22%3A%20%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%22DSC%20Configuration%20'FirstSessionHost'%20completed%20with%20error(s).%20Following%20are%20the%20first%20few%3A%20PowerShell%20DSC%20resource%20MSFT_ScriptResource%20failed%20to%20execute%20Set-TargetResource%20functionality%20with%20error%20message%3A%20One%20or%20more%20errors%20occurred.%20The%20SendConfigurationApply%20function%20did%20not%20succeed.%5C%22%5Cr%5Cn%5Cr%5CnMore%20information%20on%20troubleshooting%20is%20available%20at%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%3C%2FA%3E%20%22%20%7D%20%5D%20%7D%20%7D%2C%20%22targetResource%22%3A%20%7B%20%22id%22%3A%20%22%2Fsubscriptions%2F7d9d0261-f4de-4feb-9e2d-68c45eab82af%2FresourceGroups%2Frg_wvd%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2Feswvdingram-0%2Fextensions%2Fdscextension%22%2C%20%22resourceType%22%3A%20%22Microsoft.Compute%2FvirtualMachines%2Fextensions%22%2C%20%22resourceName%22%3A%20%22eswvdingram-0%2Fdscextension%22%20%7D%20%7D%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EJoining%20to%20the%20domain%20is%20successful%2C%20someone%20knows%20what%20will%20be%20happening%3F%20%3A)%3C%2Fimg%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22fxc-gc-row%20fxc-gc-row_1%20azc-br-muted%20fxs-portal-hover%20fxs-portal-selected%22%3E%3CDIV%20class%3D%22fxc-gc-row-content%20fxc-gc-row-content_1%22%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_1%22%3E%3CDIV%20class%3D%22msportalfx-text-ellipsis%20fxs-autotooltip%22%3Eeswvdingram-0%2Fdscextension%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_2%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EMicrosoft.Compute%2FvirtualMachines%2Fextensions%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_3%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EConflict%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_4%22%3E%3CDIV%20class%3D%22fxc-gcflink%20fxc-gc-text%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOperation%20details%3C%2FA%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row-footer%20fxc-gc-row-footert_1%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row%20fxc-gc-row_1%20azc-br-muted%20fxs-portal-hover%22%3E%3CDIV%20class%3D%22fxc-gc-row-content%20fxc-gc-row-content_1%22%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_0%22%3E%3CDIV%20class%3D%22ext-hubs-deploymentdetails-statusicon%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_1%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FHubsExtension%2FResourceMenuBlade%2Fid%2F%252Fsubscriptions%252F7d9d0261-f4de-4feb-9e2d-68c45eab82af%252FresourceGroups%252Frg_wvd%252Fproviders%252FMicrosoft.Compute%252FvirtualMachines%252Feswvdingram-0%252Fextensions%252Fjoindomain%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eeswvdingram-0%2Fjoindomain%3C%2FA%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_2%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EMicrosoft.Compute%2FvirtualMachines%2Fextensions%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_3%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EOK%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_4%22%3E%3CDIV%20class%3D%22fxc-gcflink%20fxc-gc-text%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOperation%20details%3C%2FA%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row-footer%20fxc-gc-row-footert_1%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row%20fxc-gc-row_1%20azc-br-muted%20fxs-portal-hover%22%3E%3CDIV%20class%3D%22fxc-gc-row-content%20fxc-gc-row-content_1%22%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_0%22%3E%3CDIV%20class%3D%22ext-hubs-deploymentdetails-statusicon%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_1%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FHubsExtension%2FDeploymentDetailsBlade%2Fid%2F%252Fsubscriptions%252F7d9d0261-f4de-4feb-9e2d-68c45eab82af%252FresourceGroups%252Frg_wvd%252Fproviders%252FMicrosoft.Resources%252Fdeployments%252FvmCreation-linkedTemplate%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EvmCreation-linkedTemplate%3C%2FA%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_2%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EMicrosoft.Resources%2Fdeployments%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_3%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EOK%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_4%22%3E%3CDIV%20class%3D%22fxc-gcflink%20fxc-gc-text%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOperation%20details%3C%2FA%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row-footer%20fxc-gc-row-footert_1%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row%20fxc-gc-row_1%20azc-br-muted%20fxs-portal-hover%22%3E%3CDIV%20class%3D%22fxc-gc-row-content%20fxc-gc-row-content_1%22%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_0%22%3E%3CDIV%20class%3D%22ext-hubs-deploymentdetails-statusicon%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_1%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_Azure_Compute%2FAvailabilitySetOverviewBlade%2Fid%2F%252Fsubscriptions%252F7d9d0261-f4de-4feb-9e2d-68c45eab82af%252FresourceGroups%252Frg_wvd%252Fproviders%252FMicrosoft.Compute%252FavailabilitySets%252Feswvdingram-availabilitySet%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eeswvdingram-availabilitySet%3C%2FA%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_2%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EMicrosoft.Compute%2FavailabilitySets%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_3%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EOK%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_4%22%3E%3CDIV%20class%3D%22fxc-gcflink%20fxc-gc-text%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOperation%20details%3C%2FA%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row-footer%20fxc-gc-row-footert_1%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-row%20fxc-gc-row_1%20azc-br-muted%20fxs-portal-hover%22%3E%3CDIV%20class%3D%22fxc-gc-row-content%20fxc-gc-row-content_1%22%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_0%22%3E%3CDIV%20class%3D%22ext-hubs-deploymentdetails-statusicon%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_1%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FHubsExtension%2FDeploymentDetailsBlade%2Fid%2F%252Fsubscriptions%252F7d9d0261-f4de-4feb-9e2d-68c45eab82af%252FresourceGroups%252Frg_wvd%252Fproviders%252FMicrosoft.Resources%252Fdeployments%252Fpid-836bce42-d18b-4b20-9725-d967d519426f%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Epid-836bce42-d18b-4b20-9725-d967d519426f%3C%2FA%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_2%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EMicrosoft.Resources%2Fdeployments%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_3%22%3E%3CDIV%20class%3D%22fxc-gc-text%22%3EOK%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gc-cell%20fxc-gc-columncell_1_4%22%3E%3CDIV%20class%3D%22fxc-gcflink%20fxc-gc-text%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOperation%20details%3C%2FA%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gcflink%20fxc-gc-text%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fxc-gcflink%20fxc-gc-text%22%3EMany%20thanks%2C%3CBR%20%2F%3EToni%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1047502%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Virtual%20Desktop%20error%20dscextension%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1047502%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F471638%22%20target%3D%22_blank%22%3E%40Toni_Luque%3C%2FA%3E%26nbsp%3BI%20am%20receiving%20the%20same%20error%20in%20EastUS2%3C%2FP%3E%3CP%3EHas%20anyone%20found%20a%20fix%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1049317%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Virtual%20Desktop%20error%20dscextension%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1049317%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206859%22%20target%3D%22_blank%22%3E%40Eric%20Spivey%3C%2FA%3E%26nbsp%3Bfinally%20it%20worked.%20The%20problem%20was%20because%20some%20rights%20assigned%20to%20the%20user.%20And%20instead%20of%20using%20an%20admin%20user%2C%20you%20should%20use%20service%20principal.%20I've%20followed%20this%20guide%20and%20it%20worked%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-service-principal-role-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-service-principal-role-powershell%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Good morning team,

 

I'm creating a host pool for WVD but I'm receiving this error message, I've tried 3 times with the same error. The selected region is West Europe and I'm using Azure AD Domain Services (not on premise AD):

 

{ "id": "/subscriptions/7d9d0261-f4de-4feb-9e2d-68c45eab82af/resourceGroups/rg_wvd/providers/Microsoft.Resources/deployments/rds.wvd-provision-host-pool-20191128114056/operations/AFD387C05030BF22", "operationId": "AFD387C05030BF22", "properties": { "provisioningOperation": "Create", "provisioningState": "Failed", "timestamp": "2019-11-28T10:58:22.008355Z", "duration": "PT4M9.3368906S", "trackingId": "af56aea2-6ef3-4b31-a07a-f2b5158f6fab", "statusCode": "Conflict", "statusMessage": { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "VMExtensionProvisioningError", "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\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot " } ] } }, "targetResource": { "id": "/subscriptions/7d9d0261-f4de-4feb-9e2d-68c45eab82af/resourceGroups/rg_wvd/providers/Microsoft.Compute/virtualMachines/eswvdingram-0/extensions/dscextension", "resourceType": "Microsoft.Compute/virtualMachines/extensions", "resourceName": "eswvdingram-0/dscextension" } }}

 

Joining to the domain is successful, someone knows what will be happening? :)

eswvdingram-0/dscextension
Microsoft.Compute/virtualMachines/extensions
Conflict
 
Microsoft.Compute/virtualMachines/extensions
OK
 
Microsoft.Resources/deployments
OK
 
Microsoft.Compute/availabilitySets
OK
 
Microsoft.Resources/deployments
OK
2 Replies
Highlighted

@Toni_Luque I am receiving the same error in EastUS2

Has anyone found a fix for this?

Highlighted

@Eric Spivey finally it worked. The problem was because some rights assigned to the user. And instead of using an admin user, you should use service principal. I've followed this guide and it worked:

https://docs.microsoft.com/en-us/azure/virtual-desktop/create-service-principal-role-powershell