Unable to deploy window host for azure wvd

%3CLINGO-SUB%20id%3D%22lingo-sub-1414609%22%20slang%3D%22en-US%22%3EUnable%20to%20deploy%20window%20host%20for%20azure%20wvd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1414609%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20have%20prepared%20window-7%20master%20image%20for%20wvd%20and%20deployed%20but%20getting%20the%20error%20message.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EError%20Message%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EstatusMessage%22%3A%20%22%7B%5C%22status%5C%22%3A%5C%22Failed%5C%22%2C%5C%22error%5C%22%3A%7B%5C%22code%5C%22%3A%5C%22ResourceOperationFailure%5C%22%2C%5C%22message%5C%22%3A%5C%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%22%2C%5C%22details%5C%22%3A%5B%7B%5C%22code%5C%22%3A%5C%22VMExtensionProvisioningError%5C%22%2C%5C%22message%5C%22%3A%5C%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%5C%5C%22DSC%20Configuration%20'AddSessionHost'%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%20Cannot%20process%20argument%20transformation%20on%20parameter%20'rdshIs1809OrLater'.%20Cannot%20convert%20value%20%5C%5C%5C%22%5C%5C%5C%22%20to%20type%20%5C%5C%5C%22System.Boolean%5C%5C%5C%22.%20Boolean%20parameters%20accept%20only%20Boolean%20values%20and%20numbers%2C%20such%20as%20%24True%2C%20%24False%2C%201%20or%200.%20The%20SendConfigurationApply%20function%20did%20not%20succeed.%5C%5C%5C%22%5C%5Cr%5C%5Cn%5C%5Cr%5C%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%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%3C%2FA%3E%20%5C%22%7D%5D%7D%7D%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1414609%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ewvd_vm__win-7%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415056%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20window%20host%20for%20azure%20wvd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415056%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F237571%22%20target%3D%22_blank%22%3E%40Pradeep%20MISHRA%3C%2FA%3E%26nbsp%3Bsee%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fdeploy-windows-7-virtual-machine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fdeploy-windows-7-virtual-machine.%3C%2FA%3E%3C%2FP%3E%3CP%3EAlso%20works%20for%20Windows%20Virtual%20Desktop%20Spring%20Update.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDeployment%20by%26nbsp%3BWindows%20Virtual%20Desktop%20%7C%20Host%20pools%20is%20not%20possible%20because%20a%20different%20agent%20is%20used%20during%20the%20deployment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1416364%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20window%20host%20for%20azure%20wvd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1416364%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F606384%22%20target%3D%22_blank%22%3E%40mkolb%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20support.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20follow%20this%20article%20but%20still%20hot%20session%20unable%20to%20added%20in%20host%20pool.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20help%20to%20add%20session%20host%20in%20hostpool.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1417432%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20window%20host%20for%20azure%20wvd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1417432%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20the%20Windows%207%20Enterprise%20VM%20is%20not%20visible%20in%20the%20WVD%20Portal%2C%20verfiy%20eventvwr%20and%20whether%20there%20is%20a%20communication%20-%26gt%3B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Foverview%23requirements%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Foverview%23requirements%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20can%20only%20say%20that%20the%20article%20worked%20for%20me%20with%20a%20Windows%207%20Enterprise%20Image%20from%20the%20gallery.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1428268%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20window%20host%20for%20azure%20wvd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1428268%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F606384%22%20target%3D%22_blank%22%3E%40mkolb%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIssue%20is%20still%20not%20resolved%20and%20support%20team%20is%20also%20working%20on%20this%20case%20(case%20id%20%3CSPAN%3E120052324000236%20%3C%2FSPAN%3E)%20last%205%20days%20but%20no%20update%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1478612%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20window%20host%20for%20azure%20wvd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1478612%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F237571%22%20target%3D%22_blank%22%3E%40Pradeep%20MISHRA%3C%2FA%3E%26nbsp%3BDid%20you%20get%20this%20resolved%3F%26nbsp%3B%20I%20also%20have%20a%20case%20open%20for%20the%20same%20issue.%26nbsp%3B%20Seems%20to%20only%20happen%20with%20Server%202012R2%20OS.%20Case%23120061721003983%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi have prepared window-7 master image for wvd and deployed but getting the error message.

 

Error Message:

 

statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"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 'AddSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: Cannot process argument transformation on parameter 'rdshIs1809OrLater'. Cannot convert value \\\"\\\" to type \\\"System.Boolean\\\". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0. The SendConfigurationApply function did not succeed.\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot \"}]}}"

5 Replies
Highlighted

@Pradeep MISHRA see https://docs.microsoft.com/en-us/azure/virtual-desktop/virtual-desktop-fall-2019/deploy-windows-7-vi...

Also works for Windows Virtual Desktop Spring Update.

 

Deployment by Windows Virtual Desktop | Host pools is not possible because a different agent is used during the deployment.

Highlighted

@mkolb,

 

Thanks for support.

 

I have follow this article but still hot session unable to added in host pool.

 

Can you help to add session host in hostpool.

Highlighted

If the Windows 7 Enterprise VM is not visible in the WVD Portal, verfiy eventvwr and whether there is a communication -> https://docs.microsoft.com/en-us/azure/virtual-desktop/overview#requirements

I can only say that the article worked for me with a Windows 7 Enterprise Image from the gallery.

Highlighted

@mkolb,

 

Issue is still not resolved and support team is also working on this case (case id 120052324000236 ) last 5 days but no update

Highlighted

@Pradeep MISHRA Did you get this resolved?  I also have a case open for the same issue.  Seems to only happen with Server 2012R2 OS. Case#120061721003983