Azure Monitor for Windows Virtual Desktop

Azure Monitor for Windows Virtual Desktop provides you a 360 degree view of your Windows Virtual Desktop environment. You can easily find and troubleshoot problems in the deployment, view the status and health of host pools, diagnose session issues, and understand resource utilization. General availability comes with many improvements including improved data collection and setup experience and cost optimizations.

But lets see how to set it up (and how good it is).

Implement Azure Monitor For WVD

1. Azure Log Analytics Workspace

You need to have permissions to create an Azure Log Analytics Workspace. The workspace will be a storage space for all the logs and signals from your Windows Virtual Desktops.

  1. Open up Azure Portal
  2. Search for and open Log Analytics Workspaces
  3. Click Create
  1. Select where to put the Workspace, and the name for the Workspace
  1. Select Pricing Tier if you have different plans available. I have only a Pay-as-you-go tier.
  1. Assign Tags if used in your environment.
  2. Review and create the workspace
  3. When deployment is done, open the created Log Analytics Workspace.
  4. Open the Usage and estimated costs tab and click Data Retention.
    The default is to save 30 days of information. The more you save the more it will cost.

Now you have your Azure Log Analytics Workspace, ready to store your WVD data.

2. Azure Monitoring for Windows Virtual Desktop

When we have an Azure Log Analytics Workspace, we can now enable the Azure Monitoring of WVD.

  1. Search for and open Windows Virtual Desktop
  2. Select Insights
  3. Select the Host Pool to Monitor
  4. Open the Configuration Workbook
  1. Connect the Azure Log Analytics Workspace (Arrow 1 on Image)
  2. Select Configure Host Pool (Arrow 2 on Image)
  1. Select to Deploy the configuration to the host pool
  2. Select Configure workspace (Arrow 3 on Image)
  3. Select to Deploy the configuration to the workspace
  1. Wait for the deployment to finish as succeeded.
  1. Select the tab Session Host Data Settings
  2. Continue with the configurations and select deploy on all parts:
    Add hosts to workspace – Deploy
    Configure Performance Counters – Deploy
    Configure Events – Deploy
  1. Wait for the deployment to finish as succeeded.
  2. Wait an additional 10 minutes to get some logs collected and then refresh the portal.

Now you have your Azure Monitor For Windows Virtual Desktop configured and ready to explore.

3. Using Azure Monitor for Windows Virtual Desktop

In my case, I do not want to expose a customer environment. So this screenshot has no real data. Or in other words the report has no or very little data.

But is it useful in a real life situation for a Windows Virtual Desktop Admin.? Yes, it´s a great new resource!

  • Connection diagnostics – How many users connect, and how much connection issues.
  • Connection Performance – How long time to connect, how long time to route the user to the host, etc
  • Host Diagnostics – Detect potential issues with the hosts
  • Host Performance – Can be used to detect performance issues. up or down scaling/sizing indicators.
  • Users – Investigate specific users and their usage of the WVD. Some gems here to trim performance for different users.
  • Utilization – Another view on the utilization to determine up or down scaling/sizing needs.
  • Clients – Information on how the users connect. Do your default user use Mac or Windows?
  • Alerts – Alerts generated by the workbook that needs attention.

After running this at a customer for 1 month, the main takeaway was the Connection Performance. The report detected some users with long time to connect. After investigating these specific users and connections, we found out that these users first connected VPN and then the WVD and Split tunnel config was not working correctly. After some reconfiguration, the time to connect report was much nicer to view.

So, Activate this immediately! A very useful insight on your Host pool performance and usage!

About The Author

Mr T-Bone

Torbjörn Tbone Granheden is a Solution Architect for Modern Workplace at Coligo AB. Most Valuable Professional (MVP) on Enterprise Mobility. Certified in most Microsoft technologies and over 23 years as Microsoft Certified Trainer (MCT)

You may also like...