Azure AVD alerts

凯旋 李 0 Reputation points
2025-12-03T07:36:07.8233333+00:00

I want to configure alerts for Azure Virtual Desktop. AVD Insights monitoring is already enabled. I need to set up alerts for:

User connection status

Session host availability

Some critical errors such as users being unable to connect or hosts being unavailable

How should I configure alerts so that I can be notified quickly (for example, by alert) when users cannot access session hosts properly or when hosts are unavailable?Or do you have any recommended alert configurations and how to set them up?

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jilakara Hemalatha 6,055 Reputation points Microsoft External Staff Moderator
    2025-12-03T08:10:55.42+00:00

    Hi 凯旋 李 ,

    Thanks for reaching out Q/A. it sounds like you want to set up alerts for Azure Virtual Desktop (AVD) to monitor user connection status, session host availability, and critical errors effectively. Here’s how you can configure those alerts:

    Steps to Configure Alerts:

    1. Verify AVD Insights Monitoring: Ensure that AVD Insights monitoring is enabled, as it provides crucial metrics and visualizations for monitoring your AVD environment.
    2. Install Azure Monitor Agent: If you haven’t already, install the Azure Monitor Agent on your VMs. This agent is essential for collecting performance data.
    3. Create Metric Alert Rules: Set up alert rules in Azure Monitor to notify you of critical events. Here’s how to do that:
      • Go to the Azure portal and navigate to Monitor > Alerts > + New alert rule.
      • Select your target resource (like the VMs in your host pool).
      • Set conditions based on the signals you are interested in, such as:
      • User connection status: Use metrics like Connection success.
      • Session host availability: Monitor using the Health metric for your VMs.
      • Critical errors: You can set alerts for specific event IDs or metrics indicating issues (e.g., users being unable to connect).
      • Define thresholds and duration for alerts. For example, if no successful connections are registered over a certain period, trigger an alert.
      • Choose how you want to be notified (e.g., through email or SMS) by configuring an action group.
    4. Use Azure Virtual Desktop Insights: Utilize metrics and dashboards in AVD Insights to get granular data about connection success rates, session utilization, and recognize patterns over time, which can aid in alert configuration.
    5. Monitor for Critical Events: Set alerts for significant service issues or critical events (like connection failures with specific error codes). You can follow the recommended practices outlined in the Monitoring Considerations for AVD Workloads.

    Recommended Alert Configurations:

    Hope this helps! If you have any further questions or need additional clarification, feel free to ask in comments. Thanks


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.