{"id":25654,"date":"2022-10-11T08:47:26","date_gmt":"2022-10-11T12:47:26","guid":{"rendered":"https:\/\/www.eginnovations.com\/blog\/?p=25654"},"modified":"2025-05-16T01:26:40","modified_gmt":"2025-05-16T05:26:40","slug":"monitoring-the-avd-broker","status":"publish","type":"post","link":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/","title":{"rendered":"Monitoring the AVD Connection Broker"},"content":{"rendered":"<div class=\"inner_content\">\n<h2>What is the AVD Connection Broker and What is its Role in an AVD deployment?<\/h2>\n<p>A legacy way to deploy applications and desktops on Azure was often to put some Server 2022 VMs (Virtual Machines) in Azure running the standard RDS (Remote Desktop Services) roles &#8211; session hosts, brokers, gateway etc. and then pay the compute costs for your session hosts, brokers, and gateways, set up a public IP address and open ports. With Microsoft AVD (Azure Virtual Desktop) the broker and gateway are provided on Azure, and they are free &#8211; all you pay is the cost of the Session Host VMs. This has the additional benefits that IP addresses can be hidden and <a href=\"https:\/\/www.eginnovations.com\/blog\/secure-monitoring-tcp-ports\/\" target=\"blank\" rel=\"noopener noreferrer\">less secure architectures using open ports<\/a> are avoided using built-in technologies such as <a href=\"https:\/\/www.eginnovations.com\/blog\/reverse-connect-azure-avd\/\" target=\"blank\" rel=\"noopener noreferrer\">\u201cReverse Connect\u201d.<\/a><\/p>\n<p>When a user tries to log in into Azure Virtual Desktop (AVD), it is the broker and gateway that handles the authentication of the user and their assignment to a particular session host. Once a session is established certain information that is readily available in less secure on-premises architectures will be unavailable (e.g., the client IP of the end-user \u2013 <a href=\"https:\/\/www.eginnovations.com\/blog\/reverse-connect-azure-avd\/\" target=\"blank\" rel=\"noopener noreferrer\">see details<\/a>) and as such it is essential to continually monitor each logon if you wish to have this information available.<\/p>\n<p>The AVD Broker is to a large extent a black box to most users, eG Enterprise will automatically capture all the necessary information from the AVD Broker for you and avoids this being a blind spot in your overall observability. Session host monitoring alone will fail to detect many issues that can impact users\u2019 ability to logon or that can cause expensive resource wastage and excess Azure costs. Automated alerting from eG Enterprise with AVD Broker insights allows visibility on hosts that are idle, available, in drain mode, have failed upgrade and other issues.<\/p>\n<h2>What is a Connection Broker?<\/h2>\n<p style=\"margin-bottom: 15px;\">A connection broker is a resource manager that manages a pool of connections to connection-based resources such as remote desktops or databases, enabling rapid reuse of these connections by short-lived processes without the overhead of setting up a new connection each time. Remote desktop connection brokers perform a variety of tasks, including:<\/p>\n<ul>\n<li>Checking user credentials.<\/li>\n<li>Assigning users to remote desktops.<\/li>\n<li>Turning remote desktops on and off as needed.<\/li>\n<li>Load balancing the servers that host the desktops.<\/li>\n<li>Managing desktop images.<\/li>\n<li>Redirecting multimedia processing to the client.<\/li>\n<\/ul>\n<p>Typically, a pool of AVD hosts will be available and rules on the broker allocate incoming requests for connections to the hosts available based on a set of pre-configured preferences and rules. Often the pool of hosts available are configured to offer resilience in the event of host failure, for example two hosts may be available in different Azure regions, in normal operation users would be connected to the geographically closest but if one host fails all incoming requests may be allocated to the remaining live host. Whilst users will be unaware of the failure in the system it is likely that the administrator will want to resolve this situation rapidly before any users are impacted and proactive AVD broker alerting enables such workflows.<\/p>\n<p style=\"margin-bottom: 15px;\">The AVD Broker is a critical node in the logon process to monitor for information such as:<\/p>\n<ul>\n<li>Failed logins from legitimate users<\/li>\n<li>Signs of malicious attacks intended to compromise and access AVD deployments<\/li>\n<li>Whether users are being allocated efficiently to hosts to minimize Azure costs<\/li>\n<li>Have any upgrades to available hosts and golden images failed<\/li>\n<\/ul>\n<h2>How the AVD Broker Fits into the AVD End-to-end Architecture<\/h2>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb8-view.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26315\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb8.webp\" alt=\"\" width=\"750\" height=\"260\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb8.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb8-300x104.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb8-310x107.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb8-140x49.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 1: The AVD Broker is only one component of the AVD Logon process and as such other key components need to be monitored and events correlated across the entire end-to-end AVD infrastructure. Auto-discovery and topology maps (such as this one within eG Enterprise) aid help desk operators understand the connection between components and auto-correlate and filter alerts so that a root-cause failure as shown in the Azure AD Connector does not trigger secondary alarms on the AVD Broker.<\/div>\n<div style=\"padding: 20px; border: 1px solid #ffd392; background: #fcf8ef; margin-bottom: 30px;\">\n<h3 style=\"margin-top: 10px;\">Session Host Communication Channel<\/h3>\n<p style=\"margin-bottom: 15px;\">Upon startup of the Azure Virtual Desktop session host, the Remote Desktop Agent Loader service establishes the Azure Virtual Desktop broker&#8217;s persistent communication channel. This communication channel is layered on top of a secure Transport Layer Security (TLS) connection and serves as a bus for service message exchange between session host and Azure Virtual Desktop infrastructure.<\/p>\n<p style=\"margin-bottom: 15px;\"><em>Reference:<\/em> <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-desktop\/network-connectivity\" target=\"blank\" rel=\"noopener noreferrer\">Understanding Azure Virtual Desktop network connectivity &#8211; Azure | Microsoft Docs<\/a><\/p>\n<\/div>\n<h2>Monitoring AVD Broker Availability<\/h2>\n<p>The AVD Broker runs as an Azure Web Service, within eG Enterprise the underlying service is automatically monitored for events, availability, and performance. Key metrics around TCP connect time and availability, DNS availability and data transfer time are response times are all monitored.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb9-view.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26317\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb9.webp\" alt=\"\" width=\"750\" height=\"410\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb9.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb9-300x164.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb9-310x169.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb9-140x77.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 2: Monitoring the underlying web service supporting the AVD Broker.<\/div>\n<h2>Key AVD Broker Metrics, log messages and errors to proactively monitor<\/h2>\n<p>The eG Enterprise AVD Broker module provides continual monitoring, by host, of the following metrics and events:<\/p>\n<table class=\"table_design numbers \" style=\"width: 100%;\">\n<tbody>\n<tr>\n<td>Host Metrics<\/td>\n<td>Status<br \/>\nTotal session hosts (Number)<br \/>\nPowered off hosts (Number)<br \/>\nDrain mode hosts (Number)<br \/>\nNo <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-monitor\/reference\/tables\/heartbeat\"><span data-contrast=\"none\"><span data-ccp-char=\"\">heartbeat<\/span><\/span><\/a><span data-contrast=\"auto\"> hosts (Number)<br \/>\nIdle hosts (Number)<br \/>\nDisconnected hosts (Number)<br \/>\nUnavailable hosts (Number)<br \/>\nUpgrade failed hosts (Number)<br \/>\nUpgrading hosts (Number)<br \/>\nAvailable hosts (Number)<br \/>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-monitor\/reference\/tables\/heartbeat\"><span data-contrast=\"none\"><span data-ccp-char=\"\">Healthy <\/span><span data-ccp-char=\"\">heartbeat<\/span><\/span><\/a><span data-contrast=\"auto\"> hosts (Number)<br \/>\nConnection allowed hosts (Number) <\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td>Session Metrics<\/td>\n<td>User Session Details<br \/>\nTotal sessions (Number)<br \/>\nActive sessions (Number)<br \/>\nUnknown sessions (Number)<br \/>\nDisconnected sessions (Number)<br \/>\nPending sessions (Number)<br \/>\nLogoff sessions (Number)<br \/>\nUser profile disk mount sessions (Number)<\/td>\n<\/tr>\n<tr>\n<td>Connection Metrics<\/td>\n<td>Total UDP connections (Number)<br \/>\nTotal failed connections (Number)<br \/>\nTotal desktop connections (Number)<br \/>\nTotal remote application connections (Number)<br \/>\nTotal unique user sessions (Number)<br \/>\nTotal active connections (Number)<br \/>\nTotal connected connections (Number)<br \/>\nTotal completed connections (Number)<\/td>\n<\/tr>\n<tr>\n<td>Error Metrics<\/td>\n<td>Total management errors (Number)<br \/>\nTotal connection errors (Number)<br \/>\nTotal service errors (Number)<br \/>\nTotal feed errors (Number)<\/td>\n<\/tr>\n<tr>\n<td>RTT and Bandwidth Metrics<\/td>\n<td>Average estimated round trip time of host pool (Seconds)<br \/>\nAverage estimated bandwidth of host pool (Kbps)<\/td>\n<\/tr>\n<tr>\n<td>Session Host Health Metrics<\/td>\n<td>Session host health status (Number)<\/td>\n<\/tr>\n<tr>\n<td>Client Device Metrics<\/td>\n<td>Total unique client os (Number)<br \/>\nTotal unique client versions (Number)<br \/>\nTotal unique client types (Number)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-bottom: 15px;\">Out-of-the-box eG Enterprise proactively monitors certain key AVD Broker metrics, applying alerting thresholds on which alerts are raised. If you wish to replicate this functionality manually, we recommend, at a minimum, setting up automated alerting on the following key metrics:<\/p>\n<ul>\n<li>Status<\/li>\n<li>Total Sessions<\/li>\n<li>Drain Mode Hosts<\/li>\n<li>Idle Hosts<\/li>\n<li>Unavailable Hosts<\/li>\n<li>Upgrade Failed Hosts<\/li>\n<li>No heartbeat hosts<\/li>\n<li>Total failed connections<\/li>\n<li>Total management errors<\/li>\n<li>Total service errors<\/li>\n<li>Total connection errors<\/li>\n<li>Average estimated round trip time of host pool<\/li>\n<li>Average estimated bandwidth of host pool<\/li>\n<\/ul>\n<p>eG Enterprise includes <a href=\"https:\/\/www.eginnovations.com\/blog\/aiops-tools-capabilities\/\" target=\"blank\" rel=\"noopener noreferrer\">an AIOps (Artificial Intelligence for Operations) engine<\/a> that leverages machine learning technologies to learn about time-of-day, day-of-week, and other seasonal variations, to apply dynamic thresholds which are triggered when systems&#8217; behavior significantly deviates from normal behavior (anomaly detection). The \u201ctotal sessions\u201d is one metric we would certainly recommend applying dynamic threshold alerting to if using Azure Monitor or another third-party monitoring tool.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb4-view.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26311\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb4.webp\" alt=\"\" width=\"750\" height=\"436\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb4.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb4-300x174.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb4-310x180.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb4-140x81.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 3: Out-of-the-box thresholds combining static and dynamic thresholds can be manually adjusted or auto-tuned to ensure multi-level automated alerting on key metrics.<\/div>\n<p>Idle hosts are resources that will cost you money in Azure fees and so both long term and short-term monitoring should be implemented to ensure your enterprise optimizes and right-sizes their systems. Proactive alerting in eG Enterprise ensures you are alerted of idle hosts and can investigate. Here, eG Enterprise has noticed there are 3 idle hosts.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb2-view.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26307\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb2.webp\" alt=\"\" width=\"750\" height=\"589\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb2.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb2-300x236.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb2-310x243.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb2-140x110.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 4: shows 3 idle hosts have been detected<\/div>\n<p>When issues are detected the detailed diagnosis icon (A magnifying glass) appears to the right of the metric, allowing the operator to click through to detailed root-cause diagnostic information about the alert.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb3-view.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26309\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb3.webp\" alt=\"\" width=\"750\" height=\"280\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb3.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb3-300x112.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb3-310x116.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb3-140x52.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 5: shows a detailed diagnosis of the (in this case) 3 idle hosts. Historical data is also available to evaluate if this is a continual or anomalous event. Notice one host is in drain mode and maintenance mode information can be used to assess if this was by design.<\/div>\n<p>Rich dashboard overviews, include overviews of session hosts, including information such as &#8211; availability, whether idle and so on:<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker1-view.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26299\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker1.webp\" alt=\"\" width=\"750\" height=\"369\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker1.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker1-300x148.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker1-310x153.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker1-140x69.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 6: Clickable drilldowns on the dashboards allow administrator to drill down into the details of idle hosts and so on.<\/div>\n<h2>AVD Error Codes and Logs<\/h2>\n<p>eG Enterprise proactively captures and monitors key errors and audit logs and automatically watches for significant error codes, automatically raising alerts if appropriate. To manually access this data Azure Monitor users can capture and manually parse logs for error codes. Information on how to manually parse logs is available, here: <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-monitor\/logs\/parse-text\" target=\"blank\" rel=\"noopener noreferrer\">Parse text data in Azure Monitor logs &#8211; Azure Monitor | Microsoft Docs.<\/a><\/p>\n<p>Within the AVD Broker layered module, error messages and other key service and resource logs and events are automatically captured within a simple user-friendly GUI that requires no log extraction or parsing or KQL (Kusto Query Language) queries.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb7-view.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26313\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb7-copy.webp\" alt=\"\" width=\"750\" height=\"457\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb7-copy.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb7-copy-300x183.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb7-copy-310x189.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb7-copy-140x85.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 7: Error logs are continually trawled for AVD Broker errors alongside error logs for other Azure components and infrastructure.<\/div>\n<h3>Linking the AVD Broker data to the User Experience and Logon Performance<\/h3>\n<p>Rich UI (User Interface) dashboards and drilldowns allow the helpdesk operator and administrator to link the AVD Broker\u2019s role and data collected to the overall user logon experience. Slow degradations can be monitored, and performance analyzed within the context of the individual users\u2019 sessions and configurations.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb13-view-2.jpg\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26321\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb13-1.webp\" alt=\"\" width=\"750\" height=\"409\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 8: User Experience drilldowns link the AVD Broker with other key components associated with a user and session allowing Digital Employee Experience (DEX) to be continually monitored. Colored alert overlays allow root-cause problem diagnosis \u2013 the yellow \u201ci\u201d on the AVD Broker has been triggered by an excessive number of idle hosts available to the broker.<\/div>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker5-view.jpg\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26305\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker5.webp\" alt=\"\" width=\"750\" height=\"459\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker5.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker5-300x184.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker5-310x190.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker5-140x86.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 9: logon data from the AVD Broker is associated with the individual user for every logon alongside key information such as client version and protocol in use. GPO (Group Policy Object) and CSE Extension breakdown times are also available.<\/div>\n<p>If you are experiencing slow logons, logon slowdown or logon failures with AVD, you may find this troubleshooting guide of use, see: <a href=\"https:\/\/www.eginnovations.com\/blog\/troubleshoot-avd-logon\/\" target=\"blank\" rel=\"noopener noreferrer\">Troubleshoot Slow Azure Virtual Desktop Logons.<\/a> This guide will also give you more context around how brokering works within the end-to-end logon process for AVD.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/free-logon-simulator-for-avd-azure-virtual-desktop-now-available\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26336\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-banner-1.webp\" alt=\"\" width=\"850\" height=\"165\" \/><\/a><\/p>\n<h2>Using Azure Native Tools to Investigate Broker Issues<\/h2>\n<p>If you are relying on native Azure functionality to troubleshoot broker issues a reliable source of information is: <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-desktop\/troubleshoot-agent\" target=\"blank\" rel=\"noopener noreferrer\">Troubleshoot Azure Virtual Desktop Agent Issues &#8211; Azure | Microsoft Docs.<\/a> The Azure Virtual Desktop Agent can cause connection issues because of multiple factors including an error on the broker that makes the agent stop the service.<\/p>\n<h2>Capacity Planning and Right-sizing<\/h2>\n<p>Live and historical reporting are included within the core eG Enterprise product to ensure you can plan for growth and optimize your deployments to reduce costs whilst eliminating resource bottlenecks and understanding user demand patterns.<\/p>\n<p>These reports can also assist IT departments in implementing internal SLAs (Service Level Agreements) and communicating their KPIs (Key Performance Indicators) and achievements to management automatically.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb10-view.jpg\" data-rel=\"lightbox-image-9\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26319\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb10.webp\" alt=\"\" width=\"750\" height=\"451\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb10.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb10-300x180.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb10-310x186.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avdb10-140x84.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 10: Gain instant insights into historical usage such as idle hosts over timescales of your choice.<\/div>\n<p>Broker reports out-of-the-box overview by broker, logon performance, slow logons and connection failures.<\/p>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker3-view.jpg\" data-rel=\"lightbox-image-10\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26303\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker3.webp\" alt=\"\" width=\"750\" height=\"367\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker3.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker3-300x147.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker3-310x152.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker3-140x69.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 11: Logon Performance Report By Broker. Note the option to exclude weekends<\/div>\n<p><a href=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker2-view.jpg\" data-rel=\"lightbox-image-11\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26301\" src=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker2.webp\" alt=\"\" width=\"750\" height=\"367\" srcset=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker2.webp 750w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker2-300x147.webp 300w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker2-310x152.webp 310w, https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/sAVDBroker2-140x69.webp 140w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<div class=\"img_caption\">Figure 12: AVD Connection Failures By Broker<\/div>\n<h2>Further Reading<\/h2>\n<p style=\"margin-bottom: 15px;\">Many of our customers also use eG Enterprise to monitor Azure infrastructures, other clouds, and on-premises infrastructure and applications. Please see the links below for relevant information:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.eginnovations.com\/supported-technologies\/azure-monitoring\" target=\"blank\" rel=\"noopener noreferrer\">Azure Monitoring<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/troubleshoot-avd-logon\/\" target=\"blank\" rel=\"noopener noreferrer\">Troubleshoot Slow Azure Virtual Desktop Logons (eginnovations.com)<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/free-logon-simulator-for-avd-azure-virtual-desktop-now-available\/\" target=\"blank\" rel=\"noopener noreferrer\">Free Logon Simulator for AVD (Azure Virtual Desktop) &#8211; Now Available! | eG Innovations<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/supported-technologies\/azure-virtual-desktop-monitoring-avd\" target=\"blank\" rel=\"noopener noreferrer\">Azure AVD (Azure Virtual Desktops) Monitoring<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-desktop\/network-connectivity\" target=\"blank\" rel=\"noopener noreferrer\">Understanding Azure Virtual Desktop network connectivity &#8211; Azure | Microsoft Docs<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-desktop\/drain-mode\" target=\"blank\" rel=\"noopener noreferrer\">How to use drain mode to isolate session hosts &#8211; Azure Virtual Desktop | Microsoft Docs<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/reduce-azure-monitoring-cost\/\" target=\"blank\" rel=\"noopener noreferrer\">Reduce Azure Monitoring Costs<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/infrastructure-as-code-iac-azure\/\" target=\"blank\" rel=\"noopener noreferrer\">IaC Azure &#8211; Infrastructure as Code for Azure<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/supported-technologies\/microsoft-monitoring\" target=\"blank\" rel=\"noopener noreferrer\">Microsoft Monitoring: One-Stop Shop for Everything Microsoft<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/what-is-azure-active-directory\/\/\" target=\"blank\" rel=\"noopener noreferrer\">An Overview of Azure Active Directory (Azure AD) \u2013 101,<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/track-users-azure-active-directory\/\" target=\"blank\" rel=\"noopener noreferrer\">How to monitor and audit Azure AD Users<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/azure-ad-app-client-secret-certificate-expirations-alerts\/\" target=\"blank\" rel=\"noopener noreferrer\">Monitoring and Alerting on Azure AD App Client Secret and Certificate Expirations.<\/a><\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/blog\/monitor-azure-ad-audit-logs\/\" target=\"blank\" rel=\"noopener noreferrer\">How to Monitor Azure AD Audit Logs<\/a><\/li>\n<li>Read about eG Innovations experience with proactive monitoring of other connection brokers such as, <a href=\"https:\/\/www.eginnovations.com\/documentation\/Leostream-Connection-Broker\/Monitoring-the-Leostream-Connection.htm\" target=\"blank\" rel=\"noopener noreferrer\">Leostream,<\/a> <a href=\"https:\/\/www.eginnovations.com\/documentation\/VMware-Horizon-View\/View-Connection-Broker-Test.htm\" target=\"blank\" rel=\"noopener noreferrer\">Omnissa Horizon,<\/a> <a href=\"https:\/\/www.eginnovations.com\/documentation\/Leostream-Connection-Broker\/Connection-Broker-Status-Test.htm\" target=\"blank\" rel=\"noopener noreferrer\">Oracle VDI,<\/a> <a href=\"https:\/\/www.eginnovations.com\/documentation\/Citrix-WEM-Broker\/Introduction-to-Citrix-WEM-Broker-Monitoring.htm\" target=\"blank\" rel=\"noopener noreferrer\">Citrix WEM Broker<\/a> and others.<\/li>\n<li><a href=\"https:\/\/www.eginnovations.com\/product\/technologies\" target=\"blank\" rel=\"noopener noreferrer\">Other technologies supported by eG Enterprise<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is the AVD Connection Broker and What is its Role in an AVD deployment? A legacy way to deploy applications and desktops on Azure was often to put some Server 2022 VMs (Virtual Machines) in Azure running the standard RDS (Remote Desktop Services) roles &#8211; session hosts, brokers, gateway etc. and then pay the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":26343,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[404,387],"tags":[421,768,883,606,706,886,607,884,887,885,415,420,707],"class_list":["post-25654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-monitoring","category-digital-workspace-monitor","tag-avd","tag-avd-broker","tag-avd-host-pool","tag-avd-logon","tag-avd-logon-performance","tag-avd-logon-time-analysis","tag-avd-monitoring","tag-avd-session","tag-avd-session-host","tag-azure-connection-broker","tag-azure-monitoring","tag-azure-virtual-desktop","tag-azure-virtual-desktop-logon-performance"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Monitor and investigate AVD Broker issues | eG Innovations<\/title>\n<meta name=\"description\" content=\"Learn about the key role that an Azure Virtual Desktop AVD Broker plays &amp; how eG Enterprise makes it simple to track its performance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Monitor and investigate AVD Broker issues | eG Innovations\" \/>\n<meta property=\"og:description\" content=\"Learn about the key role that an Azure Virtual Desktop AVD Broker plays &amp; how eG Enterprise makes it simple to track its performance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/\" \/>\n<meta property=\"og:site_name\" content=\"eG Innovations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eGInnovations\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-11T12:47:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-16T05:26:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Social-Banner-Image.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Babu Sundaram\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Social-Banner-Image.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/virtualinfra76?lang=en\" \/>\n<meta name=\"twitter:site\" content=\"@eginnovations\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Babu Sundaram\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Monitor and investigate AVD Broker issues | eG Innovations","description":"Learn about the key role that an Azure Virtual Desktop AVD Broker plays & how eG Enterprise makes it simple to track its performance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/","og_locale":"en_US","og_type":"article","og_title":"Monitor and investigate AVD Broker issues | eG Innovations","og_description":"Learn about the key role that an Azure Virtual Desktop AVD Broker plays & how eG Enterprise makes it simple to track its performance.","og_url":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/","og_site_name":"eG Innovations","article_publisher":"https:\/\/www.facebook.com\/eGInnovations","article_published_time":"2022-10-11T12:47:26+00:00","article_modified_time":"2025-05-16T05:26:40+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Social-Banner-Image.jpg","type":"image\/jpeg"}],"author":"Babu Sundaram","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Social-Banner-Image.jpg","twitter_creator":"@https:\/\/twitter.com\/virtualinfra76?lang=en","twitter_site":"@eginnovations","twitter_misc":{"Written by":"Babu Sundaram","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/#article","isPartOf":{"@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/"},"author":{"name":"Babu Sundaram","@id":"https:\/\/www.eginnovations.com\/blog\/#\/schema\/person\/5f7590f77be55ecf13f1b8d915ac39df"},"headline":"Monitoring the AVD Connection Broker","datePublished":"2022-10-11T12:47:26+00:00","dateModified":"2025-05-16T05:26:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/"},"wordCount":2014,"publisher":{"@id":"https:\/\/www.eginnovations.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Thumbnail.jpg","keywords":["AVD","AVD Broker","AVD host pool","AVD Logon","AVD Logon Performance","AVD logon time analysis","AVD Monitoring","AVD session","AVD session host","Azure connection broker","Azure Monitoring","Azure virtual Desktop","Azure Virtual Desktop Logon Performance"],"articleSection":["Azure Monitoring","Digital Workspace Monitoring"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/","url":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/","name":"Monitor and investigate AVD Broker issues | eG Innovations","isPartOf":{"@id":"https:\/\/www.eginnovations.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/#primaryimage"},"image":{"@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Thumbnail.jpg","datePublished":"2022-10-11T12:47:26+00:00","dateModified":"2025-05-16T05:26:40+00:00","description":"Learn about the key role that an Azure Virtual Desktop AVD Broker plays & how eG Enterprise makes it simple to track its performance.","breadcrumb":{"@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/#primaryimage","url":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Thumbnail.jpg","contentUrl":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2022\/08\/avd-broker-Thumbnail.jpg","width":362,"height":235},{"@type":"BreadcrumbList","@id":"https:\/\/www.eginnovations.com\/blog\/monitoring-the-avd-broker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.eginnovations.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Monitoring the AVD Connection Broker"}]},{"@type":"WebSite","@id":"https:\/\/www.eginnovations.com\/blog\/#website","url":"https:\/\/www.eginnovations.com\/blog\/","name":"eG Innovations","description":"IT Performance Monitoring Insights","publisher":{"@id":"https:\/\/www.eginnovations.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.eginnovations.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.eginnovations.com\/blog\/#organization","name":"eG Innovations","alternateName":"eg innovations","url":"https:\/\/www.eginnovations.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.eginnovations.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2014\/07\/eg-logo-dark-gray1_new.jpg","contentUrl":"https:\/\/www.eginnovations.com\/blog\/wp-content\/uploads\/2014\/07\/eg-logo-dark-gray1_new.jpg","width":362,"height":235,"caption":"eG Innovations"},"image":{"@id":"https:\/\/www.eginnovations.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eGInnovations","https:\/\/x.com\/eginnovations"]},{"@type":"Person","@id":"https:\/\/www.eginnovations.com\/blog\/#\/schema\/person\/5f7590f77be55ecf13f1b8d915ac39df","name":"Babu Sundaram","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.eginnovations.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d28fef01834f3b388d7d825216013937?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d28fef01834f3b388d7d825216013937?s=96&d=mm&r=g","caption":"Babu Sundaram"},"sameAs":["https:\/\/x.com\/https:\/\/twitter.com\/virtualinfra76?lang=en"],"url":"https:\/\/www.eginnovations.com\/blog\/author\/babusundaram\/"}]}},"modified_by":"eG Innovations","_links":{"self":[{"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/posts\/25654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/comments?post=25654"}],"version-history":[{"count":0,"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/posts\/25654\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/media\/26343"}],"wp:attachment":[{"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/media?parent=25654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/categories?post=25654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eginnovations.com\/blog\/wp-json\/wp\/v2\/tags?post=25654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}