Azure Maintenance Mode Scheduler

Azure Maintenance Mode Scheduler enables you to schedule maintenance windows for any Azure Alert. It also gives you the ability to immediately put an Alert into maintenance mode for an hour or a few days while you are working on an issue. Without the Azure Maintenance Mode Scheduler, often times engineers manually disable alerts and then forget to re-enable them or even worse they don’t disable them at all and the alerts become noise that gets ignored.


  • Easily access web based maintenance mode scheduler from any browser (Chrome, Edge, Safari and IE)
  • Schedule Azure Alerts for maintenance in a few seconds.
  • Import a CSV or text list of Alerts for scheduled maintenance.
  • Instant MM: Server and application admins can instantly place Azure Alerts into maintenance before reboots and maintenance.
  • Instant MM can be called by a PowerShell or Unix Shell script from anywhere. This can be used to start and stop maintenance on any server for a specified amount of time. This makes it easy to integrate into your current change or software management process.

Instant Maintenance Mode

This solution makes it easy for IT staff to put a server into maintenance mode without having to go to the Azure console. Anywhere on your network, the administrator can visit the Azure Maintenance Mode Scheduler Instant MM website at http://yourMMserver/Home/MM/InstantMM

Create a shortcut on the desktop of the servers to make it even easier.

Instant MM can be called by a PowerShell or Unix Shell script

Using URL Parameters, you can put Azure Alert rules into Maintenance Mode from any computer using a script. Typical use case would be using SCCM when updates or software is installed. SCCM would execute the PowerShell script before the install process to start maintenance mode. After the updates or software is installed SCCM would call the script to stop maintenance mode.

PowerShell Example Download:

param (

 $FullURL = "http://" + $mmServer + "/AzMM/Home/InstantMM?RuleName=" + $ruleName + "&Min=" + $min + "&MMAction=" + $action

Invoke-RestMethod $FullURL -Method 'POST'

Unix/Linux Example Download:

RuleName=$( printf "%s\n" "$RuleName" | sed 's/ /%20/g' )


echo $url

wget $url --method POST 

, , ,

2 Responses to Azure Maintenance Mode Scheduler

  1. David Sloyer May 10, 2023 at 11:28 am #

    Does this functionality extend only to VM-based Alert Rules or to any Alert Rule? From the “Required” params above, it looks like it may only support Alert Rules targeted at VMs.

    We currently use the SCOMMMS for on-premise workloads and our staff is familiar with the tool. It would be ideal to extend the usage to our Azure Cloud environment for alert suppression, but we would need the ability to suppress any alert rule, not just VM alert rules.

    • admin May 10, 2023 at 11:31 am #

      It works with any Alert Rule. Not just VM Alert rules.

Leave a Reply