Enable Insights to monitor Azure Virtual Desktop (2024)

  • Article

Azure Virtual Desktop Insights is a dashboard built on Azure Monitor Workbooks that helps IT professionals understand their Azure Virtual Desktop environments. This topic will walk you through how to set up Azure Virtual Desktop Insights to monitor your Azure Virtual Desktop environments.

Important

The Log Analytics Agent is currently being deprecated. If you use the Log Analytics Agent, you'll eventually need to migrate to the Azure Monitor Agent by August 31, 2024.

Prerequisites

Before you start using Azure Virtual Desktop Insights, you'll need to set up the following things:

  • All Azure Virtual Desktop environments you monitor must be based on the latest release of Azure Virtual Desktop that’s compatible with Azure Resource Manager.

  • At least one configured Log Analytics Workspace. Use a designated Log Analytics workspace for your Azure Virtual Desktop session hosts to ensure that performance counters and events are only collected from session hosts in your Azure Virtual Desktop deployment.

  • Enable data collection for the following things in your Log Analytics workspace:

    • Diagnostics from your Azure Virtual Desktop environment
    • Recommended performance counters from your Azure Virtual Desktop session hosts
    • Recommended Windows Event Logs from your Azure Virtual Desktop session hosts

    The data setup process described in this article is the only one you'll need to monitor Azure Virtual Desktop. You can disable all other items sending data to your Log Analytics workspace to save costs.

  • Anyone monitoring Azure Virtual Desktop Insights for your environment will also need to have the following Azure role-based access control (RBAC) roles assigned as a minimum:

    • Desktop Virtualization Reader assigned on the resource group or subscription where the host pools, workspaces and session hosts are.
    • Log Analytics Reader assigned on any Log Analytics workspace used with Azure Virtual Desktop Insights.

    You can also create a custom role to reduce the scope of assignment on the Log Analytics workspace. For more information, see Manage access to Log Analytics workspaces.

    Note

    Read access only lets admins view data. They'll need different permissions to manage resources in the Azure Virtual Desktop portal.

Log Analytics settings

To start using Azure Virtual Desktop Insights, you'll need at least one Log Analytics workspace. Use a designated Log Analytics workspace for your Azure Virtual Desktop session hosts to ensure that performance counters and events are only collected from session hosts in your Azure Virtual Desktop deployment. If you already have a workspace set up, skip ahead to Set up the configuration workbook. To set one up, see Create a Log Analytics workspace in the Azure portal.

Note

Standard data storage charges for Log Analytics will apply. To start, we recommend you choose the pay-as-you-go model and adjust as you scale your deployment and take in more data. To learn more, see Azure Monitor pricing.

Set up the configuration workbook

If it's your first time opening Azure Virtual Desktop Insights, you'll need to set up Azure Virtual Desktop Insights for your Azure Virtual Desktop environment. To configure your resources:

  1. Open Azure Virtual Desktop Insights in the Azure portal at aka.ms/avdi.
  2. Select Workbooks, then select Check Configuration.
  3. Select an Azure Virtual Desktop environment to configure from the drop-down lists for Subscription, Resource Group, and Host Pool.

The configuration workbook sets up your monitoring environment and lets you check the configuration after you've finished the setup process. It's important to check your configuration if items in the dashboard aren't displaying correctly, or when the product group publishes updates that require new settings.

Resource diagnostic settings

To collect information on your Azure Virtual Desktop infrastructure, you'll need to enable several diagnostic settings on your Azure Virtual Desktop host pools and workspaces (this is your Azure Virtual Desktop workspace, not your Log Analytics workspace). To learn more about host pools, workspaces, and other Azure Virtual Desktop resource objects, see our environment guide.

You can learn more about Azure Virtual Desktop diagnostics and the supported diagnostic tables at Send Azure Virtual Desktop diagnostics to Log Analytics.

To set your resource diagnostic settings in the configuration workbook:

  1. Select the Resource diagnostic settings tab in the configuration workbook.
  2. Select Log Analytics workspace to send Azure Virtual Desktop diagnostics.

Host pool diagnostic settings

To set up host pool diagnostics using the resource diagnostic settings section in the configuration workbook:

  1. Under Host pool, check to see whether Azure Virtual Desktop diagnostics are enabled. If they aren't, an error message will appear that says "No existing diagnostic configuration was found for the selected host pool." You'll need to enable the following supported diagnostic tables:

    • Management Activities
    • Feed
    • Connections
    • Errors
    • Checkpoints
    • HostRegistration
    • AgentHealthStatus

    Note

    If you don't see the error message, you don't need to do steps 2 through 4.

  2. Select Configure host pool.

  3. Select Deploy.

  4. Refresh the configuration workbook.

Workspace diagnostic settings

To set up workspace diagnostics using the resource diagnostic settings section in the configuration workbook:

  1. Under Workspace, check to see whether Azure Virtual Desktop diagnostics are enabled for the Azure Virtual Desktop workspace. If they aren't, an error message will appear that says "No existing diagnostic configuration was found for the selected workspace." You'll need to enable the following supported diagnostics tables:

    • Management Activities
    • Feed
    • Errors
    • Checkpoints

    Note

    If you don't see the error message, you don't need to do steps 2-4.

  2. Select Configure workspace.

  3. Select Deploy.

  4. Refresh the configuration workbook.

Session host data settings

You can use either the Azure Monitor Agent or the Log Analytics agent to collect information on your Azure Virtual Desktop session hosts. We recommend you use the Azure Monitor Agent as the Log Analytics Agent will be deprecated on August 31st, 2024. Select the relevant tab for your scenario.

  • Azure Monitor Agent
  • Log Analytics agent

To collect information on your Azure Virtual Desktop session hosts, you must configure a Data Collection Rule (DCR) to collect performance data and Windows Event Logs, associate the session hosts with the DCR, install the Azure Monitor Agent on all session hosts in host pools you're collecting data from, and ensure the session hosts are sending data to a Log Analytics workspace.

The Log Analytics workspace you send session host data to doesn't have to be the same one you send diagnostic data to.

To configure a DCR and select a Log Analytics workspace destination using the configuration workbook:

  1. From the Azure Virtual Desktop overview page, select Host pools, then select the pooled host pool you want to monitor.

  2. From the host pool overview page, select Insights, then select Open Configuration Workbook.

  3. Select the Session host data settings tab in the configuration workbook.

  4. For Workspace destination, select the Log Analytics workspace you want to send session host data to.

  5. For DCR resource group, select the resource group in which you want to create the DCR.

  6. Select Create data collection rule to automatically configure the DCR using the configuration workbook. This option only appears once you've selected a workspace destination and a DCR resource group.

Session hosts

You need to install the Azure Monitor Agent on all session hosts in the host pool and send data from those hosts to your selected Log Analytics workspace. If the session hosts don't all meet the requirements, you'll see a Session hosts section at the top of Session host data settings with the message Some hosts in the host pool are not sending data to the selected Log Analytics workspace.

Note

If you don't see the Session hosts section or error message, all session hosts are set up correctly. Automated deployment is limited to 1000 session hosts or fewer.

To set up your remaining session hosts using the configuration workbook:

  1. Select the DCR you're using for data collection.

  2. Select Deploy association to create the DCR association.

  3. Select Add extension to deploy the Azure Monitor Agent to all the session hosts in the host pool.

  4. Select Add system managed identity to configure the required managed identity.

  5. Once the agent has installed and the managed identity has been added, refresh the configuration workbook.

Note

For larger host pools (over 1,000 session hosts) or if you encounter deployment issues, we recommend you install the Azure Monitor Agent when you create a session host by using an Azure Resource Manager template.

Optional: configure alerts

Azure Virtual Desktop Insights allows you to monitor Azure Monitor alerts happening within your selected subscription in the context of your Azure Virtual Desktop data. Azure Monitor alerts are an optional feature on your Azure subscriptions, and you need to set them up separately from Azure Virtual Desktop Insights. You can use the Azure Monitor alerts framework to set custom alerts on Azure Virtual Desktop events, diagnostics, and resources. To learn more about Azure Monitor alerts, see Azure Monitor Log Alerts.

Diagnostic and usage data

Microsoft automatically collects usage and performance data through your use of the Azure Virtual Desktop Insights service. Microsoft uses this data to improve the quality, security, and integrity of the service.

To provide accurate and efficient troubleshooting capabilities, the collected data includes the portal session ID, Microsoft Entra user ID, and the name of the portal tab where the event occurred. Microsoft doesn't collect names, addresses, or other contact information.

For more information about data collection and usage, see the Microsoft Online Services Privacy Statement.

Note

To learn about viewing or deleting your personal data collected by the service, see Azure Data Subject Requests for the GDPR. For more information about GDPR, see the GDPR section of the Service Trust portal.

Next steps

Now that you’ve configured Azure Virtual Desktop Insights for your Azure Virtual Desktop environment, here are some resources that might help you start monitoring your environment:

  • Check out our glossary to learn more about terms and concepts related to Azure Virtual Desktop Insights.
  • To estimate, measure, and manage your data storage costs, see Estimate Azure Virtual Desktop Insights costs.
  • If you encounter a problem, check out our troubleshooting guide for help and known issues.
  • To see what's new in each version update, see What's new in Azure Virtual Desktop Insights.
Enable Insights to monitor Azure Virtual Desktop (2024)

FAQs

How do I enable VM insights in Azure monitor? ›

Select Enable next to any machine that you want to enable. If a machine is currently not running, you must start it to enable it. On the Insights Onboarding page, select Enable. On the Monitoring configuration page, select Azure Monitor agent and select a data collection rule from the Data collection rule dropdown.

What are Azure Virtual Desktop Insights? ›

Azure Virtual Desktop Insights can provide detailed information about resource utilization and user input delay to allow you to more easily and quickly find if users are impacted by limitations for resources like CPU or memory. To view session host performance: Sign in to the Azure portal.

What is the difference between an Azure monitor and insights? ›

Pricing and Licensing: Azure Monitor is billed based on the volume of monitoring data ingested and stored, while Azure Application Insights offers different pricing options based on the number of data points collected per month.

How do I enable monitoring in Azure policy? ›

  1. From the policy Definitions page, select your scope.
  2. Select Initiative in the Definition type dropdown.
  3. Select Monitoring in the Category dropdown.
  4. Enter audit in the Search field.
  5. Select thee Enable audit category group resource logging for supported resources to Log Analytics initiative.
May 30, 2024

How do I enable Azure Virtual Desktop? ›

Sign in to the Azure portal. In the search bar, enter Azure Virtual Desktop and select the matching service entry. Select Host pools, then select the name of the host pool where you want to enable the setting.

How do I enable Azure application insight? ›

Enable Application Insights server-side telemetry (Visual Studio)
  1. Open your project in Visual Studio.
  2. Go to Project > Add Application Insights Telemetry.
  3. Select Azure Application Insights > Next.
  4. Choose your subscription and Application Insights instance. ...
  5. Add or confirm your Application Insights connection string.
Sep 11, 2024

What is Azure Insights used for? ›

Provides a unified, interactive view of overall performance, failures, capacity, and operational health. Azure Data Explorer Insights provides comprehensive monitoring of your clusters by delivering a unified view of your cluster performance, operations, usage, and failures.

What is the purpose of Azure Virtual Desktop? ›

With Azure Virtual Desktop, you can set up a scalable and flexible environment: Create a full desktop virtualization environment in your Azure subscription without running any gateway servers. Flexible configurations to accommodate your diverse workloads.

What is Azure Monitor network Insights? ›

Azure Monitor is a comprehensive monitoring solution for collecting, analyzing, and responding to monitoring data from your cloud and on-premises environments. You can use Azure Monitor to maximize the availability and performance of your applications and services.

Which of the following is a benefit of using Azure Monitor Insights? ›

Which of the following is a benefit of using Azure Monitor Insights? You can view how a resource is performing and identify potential problems. Explanation: Azure Monitor Insights lets you easily analyze the collected data for each hybrid network resource.

What are the different types of monitoring in Azure? ›

Different data types
  • Application monitoring data. ...
  • Azure resource monitoring data. ...
  • Azure tenant monitoring data. ...
  • Azure subscription monitoring data. ...
  • Virtual machine and cloud services data. ...
  • Application insight data. ...
  • Azure Active Directory reporting data. ...
  • Activity logs.

Which two data types should you use Azure Monitor? ›

Which two data types should you use? Explanation: Azure Monitor provides two primary data types for monitoring and analysis: Metrics and Logs. Metrics provide a numerical view of performance data, while Logs provide a detailed record of events and activities.

What is enable monitoring? ›

enable monitoring controls whether Adaptive Server collects the monitoring table data. Data is not collected if enable monitoring is set to 0. enable monitoring acts as a master switch that determines whether any of the following configuration parameters are enabled.

How do I set up VM monitoring in Azure? ›

To monitor VM guest data, you need to install Azure Monitor Agent on the VM and set up a data collection rule (DCR). The VM Insights feature automatically installs Azure Monitor Agent on your VM and sets up a default data collection rule for quick and easy onboarding.

How do I turn off monitoring in Azure VM? ›

Disable monitoring and keep the workspace
  1. Sign in to the Azure portal.
  2. In the Azure portal, select Virtual Machines.
  3. From the list, select a VM.
  4. On the left, select Extensions. ...
  5. On the extension properties page, select Uninstall.
  6. On the Extensions page, select MicrosoftMonitoringAgent.
Sep 28, 2023

How do I enable VM insights in PowerShell? ›

To enable VM insights for multiple VMs or virtual machine scale set, use the PowerShell script Install-VMInsights. ps1. The script is available from the Azure PowerShell Gallery. This script iterates through the virtual machines or virtual machine scale sets according to the parameters that you specify.

How do I enable VM resource metering? ›

Description. The Enable-VMResourceMetering cmdlet starts collecting resource utilization data for a virtual machine or resource pool. You can use the Measure-VM or Measure-VMResourcePool cmdlet to obtain this data.

How do I enable log analytics workspace in Azure? ›

Configure Log Analytics
  1. Sign in to the Azure portal as at least a Security Administrator and Log Analytics Contributor.
  2. Browse to Log Analytics workspaces.
  3. Select Create.
  4. On the Create Log Analytics workspace page, perform the following steps: ...
  5. Select Review + Create.
  6. Select Create and wait for the deployment.
Feb 9, 2024

Top Articles
What Happens When the Government Seizes Bitcoin and Other Cryptocurrency?
Remote Identification of Drones
Alan Miller Jewelers Oregon Ohio
From Algeria to Uzbekistan-These Are the Top Baby Names Around the World
Bucks County Job Requisitions
Hawkeye 2021 123Movies
<i>1883</i>'s Isabel May Opens Up About the <i>Yellowstone</i> Prequel
Craigslist Phoenix Cars By Owner Only
My.doculivery.com/Crowncork
2021 Tesla Model 3 Standard Range Pl electric for sale - Portland, OR - craigslist
Immortal Ink Waxahachie
Simplify: r^4+r^3-7r^2-r+6=0 Tiger Algebra Solver
Comics Valley In Hindi
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
Zalog Forum
Sadie Proposal Ideas
Airrack hiring Associate Producer in Los Angeles, CA | LinkedIn
Teacup Yorkie For Sale Up To $400 In South Carolina
Glenda Mitchell Law Firm: Law Firm Profile
Juicy Deal D-Art
Melissababy
O'Reilly Auto Parts - Mathis, TX - Nextdoor
Unionjobsclearinghouse
The EyeDoctors Optometrists, 1835 NW Topeka Blvd, Topeka, KS 66608, US - MapQuest
Craigslist Northfield Vt
Buying Cars from Craigslist: Tips for a Safe and Smart Purchase
Xfinity Cup Race Today
Violent Night Showtimes Near Amc Dine-In Menlo Park 12
Manuela Qm Only
Roanoke Skipthegames Com
Tomb Of The Mask Unblocked Games World
Vivification Harry Potter
Top Songs On Octane 2022
Primerica Shareholder Account
Earthy Fuel Crossword
What Is The Lineup For Nascar Race Today
Calculator Souo
Unm Hsc Zoom
Manatee County Recorder Of Deeds
Shih Tzu dogs for sale in Ireland
When His Eyes Opened Chapter 2048
Busch Gardens Wait Times
Subdomain Finder
boston furniture "patio" - craigslist
Juiced Banned Ad
Coffee County Tag Office Douglas Ga
Reilly Auto Parts Store Hours
Rite Aid | Employee Benefits | Login / Register | Benefits Account Manager
Shiftselect Carolinas
Metra Union Pacific West Schedule
Inside the Bestselling Medical Mystery 'Hidden Valley Road'
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 6197

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.