dscextension fails when trying to deploy more than 1 SessionHosts

%3CLINGO-SUB%20id%3D%22lingo-sub-1501237%22%20slang%3D%22en-US%22%3Edscextension%20fails%20when%20trying%20to%20deploy%20more%20than%201%20SessionHosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501237%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20using%20a%20custom%20images%20(based%20on%20Windows%2010%20Enterprise%202004%20from%20the%20Azure%20Image%20Gallery).%3C%2FP%3E%3CP%3EI%20started%20with%20Windows%20Virtual%20Desktop%20Spring%20edition.%3C%2FP%3E%3CP%3EWhen%20I%20setup%20a%20hostpool%20with%201%20session%20host%20everything%20works%20fine%20but%20when%20I%20add%20more%20than%201%20host%20I'll%20receive%20a%20dscextension%20error.%3C%2FP%3E%3CP%3ESame%20for%20adding%20session%20hosts%20to%20an%20existing%20hostpool.%3C%2FP%3E%3CP%3EI%20can%20add%201%20session%20host%20at%20a%20time%20but%20as%20soon%20I%20add%20more%20than%201%20I'll%20get%20the%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%22code%22%3A%22DeploymentFailed%22%2C%22message%22%3A%22At%20least%20one%20resource%20deployment%20operation%20failed.%20Please%20list%20deployment%20operations%20for%20details.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDeployOperations%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FDeployOperations%3C%2FA%3E%20for%20usage%20details.%22%2C%22details%22%3A%5B%7B%22code%22%3A%22Conflict%22%2C%22message%22%3A%22%7B%5Cr%5Cn%20%5C%22status%5C%22%3A%20%5C%22Failed%5C%22%2C%5Cr%5Cn%20%5C%22error%5C%22%3A%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22ResourceDeploymentFailure%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22VMExtensionProvisioningError%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%5C%5C%22The%20DSC%20Extension%20received%20an%20incorrect%20input%3A%20An%20error%20occurred%20while%20executing%20script%20or%20module%20'Configuration.ps1'%3A%20The%20term%20'C%3A%5C%5C%5C%5CPackages%5C%5C%5C%5CPlugins%5C%5C%5C%5CMicrosoft.Powershell.DSC%5C%5C%5C%5C2.80.0.0%5C%5C%5C%5Cbin%5C%5C%5C%5C..%5C%5C%5C%5CDSCWork%5C%5C%5C%5CConfiguration.0%5C%5C%5C%5CConfiguration.ps1'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%20operable%20program.%20Check%20the%20spelling%20of%20the%20name%2C%20or%20if%20a%20path%20was%20included%2C%20verify%20that%20the%20path%20is%20correct%20and%20try%20again..%5C%5Cr%5C%5CnPlease%20correct%20the%20input%20and%20retry%20executing%20the%20extension.%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%22%3E%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%3C%2FA%3E%20%5C%22%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%7D%22%7D%2C%7B%22code%22%3A%22Conflict%22%2C%22message%22%3A%22%7B%5Cr%5Cn%20%5C%22status%5C%22%3A%20%5C%22Failed%5C%22%2C%5Cr%5Cn%20%5C%22error%5C%22%3A%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22ResourceDeploymentFailure%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22VMExtensionProvisioningError%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%5C%5C%22The%20DSC%20Extension%20received%20an%20incorrect%20input%3A%20An%20error%20occurred%20while%20executing%20script%20or%20module%20'Configuration.ps1'%3A%20The%20term%20'C%3A%5C%5C%5C%5CPackages%5C%5C%5C%5CPlugins%5C%5C%5C%5CMicrosoft.Powershell.DSC%5C%5C%5C%5C2.80.0.0%5C%5C%5C%5Cbin%5C%5C%5C%5C..%5C%5C%5C%5CDSCWork%5C%5C%5C%5CConfiguration.0%5C%5C%5C%5CConfiguration.ps1'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%20operable%20program.%20Check%20the%20spelling%20of%20the%20name%2C%20or%20if%20a%20path%20was%20included%2C%20verify%20that%20the%20path%20is%20correct%20and%20try%20again..%5C%5Cr%5C%5CnPlease%20correct%20the%20input%20and%20retry%20executing%20the%20extension.%5C%5C%5C%22%5C%5Cr%5C%5Cn%5C%5Cr%5C%5CnMore%20information%20on%20troubleshooting%20is%20available%20at%20%5B%23%24dp13%5D%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%3C%2FA%3E%20%5C%22%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%7D%22%7D%2C%7B%22code%22%3A%22Conflict%22%2C%22message%22%3A%22%7B%5Cr%5Cn%20%5C%22status%5C%22%3A%20%5C%22Failed%5C%22%2C%5Cr%5Cn%20%5C%22error%5C%22%3A%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22ResourceDeploymentFailure%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22VMExtensionProvisioningError%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%5C%5C%22The%20DSC%20Extension%20received%20an%20incorrect%20input%3A%20An%20error%20occurred%20while%20executing%20script%20or%20module%20'Configuration.ps1'%3A%20The%20term%20'C%3A%5C%5C%5C%5CPackages%5C%5C%5C%5CPlugins%5C%5C%5C%5CMicrosoft.Powershell.DSC%5C%5C%5C%5C2.80.0.0%5C%5C%5C%5Cbin%5C%5C%5C%5C..%5C%5C%5C%5CDSCWork%5C%5C%5C%5CConfiguration.0%5C%5C%5C%5CConfiguration.ps1'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%20operable%20program.%20Check%20the%20spelling%20of%20the%20name%2C%20or%20if%20a%20path%20was%20included%2C%20verify%20that%20the%20path%20is%20correct%20and%20try%20again..%5C%5Cr%5C%5CnPlease%20correct%20the%20input%20and%20retry%20executing%20the%20extension.%5C%5C%5C%22%5C%5Cr%5C%5Cn%5C%5Cr%5C%5CnMore%20information%20on%20troubleshooting%20is%20available%20at%20%5B%23%24dp13%5D%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%3C%2FA%3E%20%5C%22%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%7D%22%7D%2C%7B%22code%22%3A%22Conflict%22%2C%22message%22%3A%22%7B%5Cr%5Cn%20%5C%22status%5C%22%3A%20%5C%22Failed%5C%22%2C%5Cr%5Cn%20%5C%22error%5C%22%3A%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22ResourceDeploymentFailure%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22VMExtensionProvisioningError%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%5C%5C%22The%20DSC%20Extension%20received%20an%20incorrect%20input%3A%20An%20error%20occurred%20while%20executing%20script%20or%20module%20'Configuration.ps1'%3A%20The%20term%20'C%3A%5C%5C%5C%5CPackages%5C%5C%5C%5CPlugins%5C%5C%5C%5CMicrosoft.Powershell.DSC%5C%5C%5C%5C2.80.0.0%5C%5C%5C%5Cbin%5C%5C%5C%5C..%5C%5C%5C%5CDSCWork%5C%5C%5C%5CConfiguration.0%5C%5C%5C%5CConfiguration.ps1'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%20operable%20program.%20Check%20the%20spelling%20of%20the%20name%2C%20or%20if%20a%20path%20was%20included%2C%20verify%20that%20the%20path%20is%20correct%20and%20try%20again..%5C%5Cr%5C%5CnPlease%20correct%20the%20input%20and%20retry%20executing%20the%20extension.%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%22%3Ehttps%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%3C%2FA%3E%20%5C%22%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%7D%22%7D%5D%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Visitor

I'm using a custom images (based on Windows 10 Enterprise 2004 from the Azure Image Gallery).

I started with Windows Virtual Desktop Spring edition.

When I setup a hostpool with 1 session host everything works fine but when I add more than 1 host I'll receive a dscextension error.

Same for adding session hosts to an existing hostpool.

I can add 1 session host at a time but as soon I add more than 1 I'll get the error.

 

Thanks

 

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations 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: \\\"The DSC Extension received an incorrect input: An error occurred while executing script or module 'Configuration.ps1': The term 'C:\\\\Packages\\\\Plugins\\\\Microsoft.Powershell.DSC\\\\2.80.0.0\\\\bin\\\\..\\\\DSCWork\\\\Configuration.0\\\\Configuration.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again..\\r\\nPlease correct the input and retry executing the extension.\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"},{"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: \\\"The DSC Extension received an incorrect input: An error occurred while executing script or module 'Configuration.ps1': The term 'C:\\\\Packages\\\\Plugins\\\\Microsoft.Powershell.DSC\\\\2.80.0.0\\\\bin\\\\..\\\\DSCWork\\\\Configuration.0\\\\Configuration.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again..\\r\\nPlease correct the input and retry executing the extension.\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"},{"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: \\\"The DSC Extension received an incorrect input: An error occurred while executing script or module 'Configuration.ps1': The term 'C:\\\\Packages\\\\Plugins\\\\Microsoft.Powershell.DSC\\\\2.80.0.0\\\\bin\\\\..\\\\DSCWork\\\\Configuration.0\\\\Configuration.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again..\\r\\nPlease correct the input and retry executing the extension.\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"},{"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: \\\"The DSC Extension received an incorrect input: An error occurred while executing script or module 'Configuration.ps1': The term 'C:\\\\Packages\\\\Plugins\\\\Microsoft.Powershell.DSC\\\\2.80.0.0\\\\bin\\\\..\\\\DSCWork\\\\Configuration.0\\\\Configuration.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again..\\r\\nPlease correct the input and retry executing the extension.\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"}]}

 

0 Replies