Debugging Windows Virtual Desktop Deployment Issues
This blog post is a part of a Windows Virtual Desktop series. In our last blog post we succesfully deployed WVD but what I didn’t cover was the few issues I encountered when deploying the WVD template. This blog post will summarize the few issues I had and how to solve them.
You might get an error message in the Azure portal saying that the WVD template deployment validation failed as seen here:
The error message mentioned above doesn’t make any sense at all and doesn’t provide more detail in the portal. So you need to use get-azlog if you get the above error message. Normally you would use the provided tracking ID and use it like this:
Get-AzLog -CorrelationId '60c694d0-e46f-4c12-bed1-9b7aef541c23'
In case you don’t get anything back (like me), use the following to get all events that happened against the resource group where the host pool will be created:
Get-AzLog -ResourceGroupName "Contoso-WVD"
That’s how I discovered the following error message:
This one was an easy fix. Apparently I was exceeding the allowed cores per subscription per region.
Our next error was related to the domain join of the virtual machines. With Windows Virtual Desktop you have either the option to use Azure Active Directory Domain Services or Active Directory. I chose the latter.
I had to go back to the HostPool deployment settings and specify the Domain and the OU in the following format:
And as we can see now, the extension was succesfully deployed and configured:
Let’s check on the VM itself:
Source: Alex feeds