Share via

Azure Update Manager - Configuration Maintenance Query

Andrea Guido 0 Reputation points
2026-02-17T16:07:57.8766667+00:00

Hi,

I am trying to setup an Azure Update Manager alert rule to send out an email when a specific Maintenance Configuration starts and ends.

I should manage a Kusto query, but checking Update, Patchinstallationsresources, Maintenanceresources samples, I am not able to find the proper one.

Any help?

Thanks.

Andrea

Azure Update Manager
Azure Update Manager

An Azure service to centrally manages updates and compliance at scale.

{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-17T16:08:11.6233333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To set up an Azure Update Manager alert rule that sends an email when a specific Maintenance Configuration starts and ends, you will need to create a custom Kusto query that targets the relevant maintenance configuration events. While the specific query for your use case isn't provided in the context, you can use the following approach to create your alert rule:

    1. Identify the Maintenance Configuration: You need to know the specific maintenance configuration you want to monitor. This includes the resource ID or name of the configuration.
    2. Create a Kusto Query: You can start with a query that filters maintenance events. For example, you could use a query similar to this:
         maintenanceresources  
         | where type =~ "microsoft.maintenance/maintenanceconfigurations/applyupdates"  
         | where properties.correlationId has "<your-maintenance-configuration-id>"
         | project startTime = properties.startTime, endTime = properties.endTime, status = properties.status
      
      Replace <your-maintenance-configuration-id> with the actual ID of your maintenance configuration.
    3. Set Up the Alert Rule: Once you have your query, you can proceed to create the alert rule in the Azure portal under Azure Update Manager. Follow the steps to create a new alert rule and use your Kusto query as the basis for the alert condition.
    4. Configure Notifications: In the alert rule settings, ensure to configure the notification settings to send an email when the alert is triggered.

    This should help you set up the alert for the specific maintenance configuration you are interested in.

    0 comments No comments

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.