question

Ido-1318 avatar image
0 Votes"
Ido-1318 asked ·

wvd session host with custom image

Hi,
i tried to take an image from running session host and to create another host pool with session host based on that image, but the deployment hang on task: dscextenssion powershell.dsc transitioning state and after more than a hour it timed out with the following error:

{"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\": \"VMExtensionProvisioningTimeout\",\r\n \"message\": \"Provisioning of VM extension dscextension has timed out. Extension provisioning has taken too long to complete. The extension did not report a message. More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot"rn }\r\n ]\r\n }\r\n}"}]}

those are the steps taken to create the image for that deployment (win 10):
1. backup the source vm (session host)
2. restore the vm, remove it from the domain and change the hostname
3. uninstall the Microsoft.RDInfra.RDAgent.Installer-x64-verx.x.x and Microsoft.RDInfra.RDAgentBootLoader.Installer-x64 - according the following kb -https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell#update-the-agent
4. sysprep the vm
5. capture image from azure
6. create a new host pool and select the image above as the image for the session host

i tried it numbers of time but always getting the same error, when i choose to use a marketplace image it works!
what im doing wrong?

any help would be appreciated !

BR,
Ido











windows-virtual-desktop
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Ido-1318 Apologies for the delay in response and all the inconvenience caused because of the issue.
I have reached out to our internal team on the issue and once I have an update will keep you posted on same.

Thank you for your patience over the matter.

Thanks.

0 Votes 0 ·
prmanhas-MSFT avatar image
1 Vote"
prmanhas-MSFT answered ·

@Ido-1318 Apologies for the delay in response and all the inconvenience caused because of the issue.

I reached out to our internal team and got below response:

I try the following article below to create a custom image. All from within the Azure portal. I have had lots of success doing it this way. Let me know if you have success and do let me know if any help needed:

Windows Virtual Desktop (WVD) – Image Management : How to manage and deploy custom images (including versioning) with the Azure Shared Image Gallery (SIG)

This documentation can be helpful as well:

https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-customize-master-image Please follow this link to create your image

Hope it helps!!!

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics


Note : The article in the mentioned answer is not the official documentation from Microsoft side, so we can't confirm if it works on all tenants or for all cx. We have just tried to provide you the information which can be helpful to you with the current issue you are facing and help you in resolving the same.







·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ido-1318 avatar image
0 Votes"
Ido-1318 answered ·

thank you for helping me,
the first link was very helpful!

Ido

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.