Home

virtual desktop hostpool deployment failed

%3CLINGO-SUB%20id%3D%22lingo-sub-400664%22%20slang%3D%22en-US%22%3Evirtual%20desktop%20hostpool%20deployment%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-400664%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20together%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20trying%20to%20create%20a%20Windows%20Virtual%20Desktop%20hostpool%20in%20oour%20Azure%20Environment%20by%20using%20the%20following%20Guidelines%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftenant-setup-azure-active-directory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftenant-setup-azure-active-directory%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhile%20creating%20the%20Service%2C%20the%20deployment%20failed%20by%20setting%20up%20the%20dcsextension%20for%20the%20new%20created%20VM%20after%20the%20machine%20was%20domainjoined.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20got%20his%20error%20message%20in%20the%20Azure%20Portal%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%7B'code'%3A'DeploymentFailed'%2C'message'%3A'At%20least%20one%20resource%20deployment%20operation%20failed.%20Please%20list%20deployment%20operations%20for%20details.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-debug%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-debug%3C%2FA%3E%20for%20usage%20details.'%2C'details'%3A%5B%7B'code'%3A'Conflict'%2C'message'%3A'%7B%5C%5Cr%5C%5Cn%20%5C%5C'status%5C%5C'%3A%20%5C%5C'Failed%5C%5C'%2C%5C%5Cr%5C%5Cn%20%5C%5C'error%5C%5C'%3A%20%7B%5C%5Cr%5C%5Cn%20%5C%5C'code%5C%5C'%3A%20%5C%5C'ResourceDeploymentFailure%5C%5C'%2C%5C%5Cr%5C%5Cn%20%5C%5C'message%5C%5C'%3A%20%5C%5C'The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%5C'%2C%5C%5Cr%5C%5Cn%20%5C%5C'details%5C%5C'%3A%20%5B%5C%5Cr%5C%5Cn%20%7B%5C%5Cr%5C%5Cn%20%5C%5C'code%5C%5C'%3A%20%5C%5C'VMExtensionProvisioningTimeout%5C%5C'%2C%5C%5Cr%5C%5Cn%20%5C%5C'message%5C%5C'%3A%20%5C%5C'Provisioning%20of%20VM%20extension%20'dscextension'%20has%20timed%20out.%20Extension%20installation%20may%20be%20taking%20too%20long%2C%20or%20extension%20status%20could%20not%20be%20obtained.%5C%5C'%5C%5Cr%5C%5Cn%20%7D%5C%5Cr%5C%5Cn%20%5D%5C%5Cr%5C%5Cn%20%7D%5C%5Cr%5C%5Cn%7D'%7D%5D%7D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20everyone%20know%2C%20what%20I%20can%20do%20to%20torubleshoot%20this%20issue%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20and%20regards%3C%2FP%3E%3CP%3EHenry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-401222%22%20slang%3D%22en-US%22%3ERe%3A%20virtual%20desktop%20hostpool%20deployment%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-401222%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F314772%22%20target%3D%22_blank%22%3E%40HenryM%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BHi%20Henry%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20follow%20the%20same%20link%20%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%3C%2FA%3E%3C%2FP%3E%3CP%3Ebut%20for%20me%20the%20error%20was%26nbsp%3B%20joined%20failed%20with%20the%20VM%20%2C%20so%26nbsp%3B%20i%20configured%20AADS%20with%20Sync%20Password%20force%20the%20Sync%20with%20powershell%20from%20AD%20azure%20to%20ADDS%26nbsp%3B%20%2C%20if%20you%20don't%20want%20to%20sync%20the%20password%20just%20create%20a%20cloud%20account%20and%20the%20change%20the%20password%20from%20this%20link%20%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmyapps.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmyapps.microsoft.com%3C%2FA%3E%26nbsp%3B%20it%20will%20trigger%20the%20update%20password%20in%20ADDS%26nbsp%3B%20(%20ADDS%20need%20to%20be%20enable)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emy%20error%20was%20in%20this%20section%20in%20the%20link%20is%20confusing%20because%20it%20asked%20you%20to%20put%20your%20admin%20in%20client%20app%26nbsp%3B%20%3A%3C%2FP%3E%3CP%3Eso%20when%20it%20asked%20you%20to%20configure%20Windows%20virtual%20consent%20page%20for%20Server%20App%20and%20client%20APP%26nbsp%3B%3C%2FP%3E%3CP%3Efor%20server%20App%20it%20asked%20you%20to%20put%20the%20tenant%20name%2C%20this%20part%20is%20ok%3C%2FP%3E%3CP%3Enow%20for%20client%20App%20it%20asked%20you%20to%20configure%20the%20admin%20account%20this%20one%20didn't%20work%20for%20me%20always%20error%20%22no%20tenant%20ID%22%26nbsp%3B%20.%26nbsp%3B%20so%26nbsp%3B%20instead%20of%20the%20admin%20account%20i%20put%20the%20tenant%20name%20again%20%2C%20it%20works%20with%20client%20apps%20nor%20more%20tenant%20error%20ID%20and%20the%20permission%20applied%20for%20client%20apps%2C%26nbsp%3B%20then%20i%26nbsp%3B%20%26nbsp%3Bfollow%26nbsp%3B%20the%20rest%20of%20the%20guide%26nbsp%3B%20all%20works%20fine%20if%20you%20want%20more%20info%20let%20me%20know%3C%2FP%3E%3CP%3ENB%3A%20i%20didn't%20choose%20the%20service%20principal%20name%20only%20UPN%20name%20with%20permission%20to%20joined%20ADDS%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-400713%22%20slang%3D%22en-US%22%3ERe%3A%20virtual%20desktop%20hostpool%20deployment%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-400713%22%20slang%3D%22en-US%22%3EI%20already%20tried%20this%20guidance%2C%20too.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ferjenrijnders.nl%2F2019%2F04%2F04%2Fhow-to-deploy-windows-virtual-desktop-in-azure%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ferjenrijnders.nl%2F2019%2F04%2F04%2Fhow-to-deploy-windows-virtual-desktop-in-azure%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-414110%22%20slang%3D%22en-US%22%3ERe%3A%20virtual%20desktop%20hostpool%20deployment%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-414110%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20figured%20the%20problem%20out.%20In%20our%20case%2C%20Azure%20wasn't%20able%20to%20setup%20the%20dcs-extensions%20on%20the%20VM%2C%20because%20we%20had%20the%20powershell%20execution%20policy%20set%20on%20%22Allsigned%22.%3C%2FP%3E%3CP%3ENow%20we%20switched%20the%20execution%20policy%20for%20the%20target%20OU%20the%20%22Allow%20local%20scripts%20and%20remote%20signed%22%20and%20Azure%20was%20able%20to%20setup%20the%20dcs-extension%20successful.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-900888%22%20slang%3D%22en-US%22%3ERe%3A%20virtual%20desktop%20hostpool%20deployment%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-900888%22%20slang%3D%22en-US%22%3EHaving%20the%20same%20issue%20wondering%20if%20you%20could%20point%20me%20in%20the%20right%20direction.%20How%20and%20were%20di%20you%20make%20this%20change.%3C%2FLINGO-BODY%3E
HenryM
Occasional Contributor

Hi together,

 

I was trying to create a Windows Virtual Desktop hostpool in oour Azure Environment by using the following Guidelines:

https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/Getting-started-with-Windows-Virtual-Desk...

https://docs.microsoft.com/en-us/azure/virtual-desktop/tenant-setup-azure-active-directory

 

While creating the Service, the deployment failed by setting up the dcsextension for the new created VM after the machine was domainjoined.

 

I got his error message in the Azure Portal:

 

{'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\\': \\'VMExtensionProvisioningTimeout\\',\\r\\n \\'message\\': \\'Provisioning of VM extension 'dscextension' has timed out. Extension installation may be taking too long, or extension status could not be obtained.\\'\\r\\n }\\r\\n ]\\r\\n }\\r\\n}'}]}

 

Did everyone know, what I can do to torubleshoot this issue?

 

Thanks and regards

Henry

5 Replies

@HenryM   Hi Henry ,

 

i follow the same link :

https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/Getting-started-with-Windows-Virtual-Desk...

but for me the error was  joined failed with the VM , so  i configured AADS with Sync Password force the Sync with powershell from AD azure to ADDS  , if you don't want to sync the password just create a cloud account and the change the password from this link : https://myapps.microsoft.com  it will trigger the update password in ADDS  ( ADDS need to be enable)

 

my error was in this section in the link is confusing because it asked you to put your admin in client app  :

so when it asked you to configure Windows virtual consent page for Server App and client APP 

for server App it asked you to put the tenant name, this part is ok

now for client App it asked you to configure the admin account this one didn't work for me always error "no tenant ID"  .  so  instead of the admin account i put the tenant name again , it works with client apps nor more tenant error ID and the permission applied for client apps,  then i   follow  the rest of the guide  all works fine if you want more info let me know

NB: i didn't choose the service principal name only UPN name with permission to joined ADDS

Thanks 

 

Hi,

 

I've figured the problem out. In our case, Azure wasn't able to setup the dcs-extensions on the VM, because we had the powershell execution policy set on "Allsigned".

Now we switched the execution policy for the target OU the "Allow local scripts and remote signed" and Azure was able to setup the dcs-extension successful.

Having the same issue wondering if you could point me in the right direction. How and were di you make this change.

@Myron_Coward You can set these Settings by using a Group Policy in Active Directory.

If you browse to Computer configuration -> policies -> admninistrative templates -> Windows components -> Windows Powershell
There you've to activate "Turn on script execution" and set this to "Allow local scripts and remote signed"

Regards
Henry

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies