Virtual Machine Auto-shutdown: No webhook configured — Unable to save settings and scheduled shutdowns not working

Ralph Street 0 Reputation points
2026-10-21T14:06:09.88+00:00

Problem description

I am experiencing issues with the auto-shutdown feature on my Azure Virtual Machines running Windows. The Auto-shutdown blade in the Azure portal displays the message 'No webhook configured', and I am unable to view or change the shutdown settings. Additionally, VMs that already have auto-shutdown enabled are not shutting down at their scheduled times. I want to understand why this message appears, how to fix the issue, and ensure that scheduled shutdowns function correctly. Notifications are Disabled, and hasWebhook: false on every schedule

Environment

Multiple Azure Virtual Machines running Windows, managed through the Azure portal, specifically the per-VM Auto-shutdown settings blade.

What I've already tried

I have attempted to update the notificationSettings to disable webhooks and also tried to recreate the auto-shutdown schedule resources. Despite provisioning success messages, the portal still shows 'No webhook configured' and does not allow saving changes. I have also verified that webhooks and notifications were not previously used in my setup, indicating that this behavior is unexpected.

Current status

Repairing or recreating the auto-shutdown schedule resources does not remove the 'No webhook configured' message.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


1 answer

Sort by: Newest
  1. Andriy Bilous 12,516 Reputation points MVP
    2026-10-22T04:24:25.4633333+00:00

    Hello Ralph Street

    No webhook configured message should not prevent VM auto-shutdown. Webhooks are optional and used for notifications only. When notifications are disabled, hasWebhook=false is expected.

    Azure VM auto-shutdown uses Microsoft.DevTestLab/schedules resources, so I recommend checking the underlying schedule rather than relying on the portal.

    1. Verify the existing schedule
    az resource show \
      -g <RESOURCE_GROUP> \
      -n shutdown-computevm-<VM_NAME> \
      --resource-type Microsoft.DevTestLab/schedules \
      --api-version 2018-09-15 \
      --query "properties"
    

    Confirm these properties:

    • status: Enabled
    • taskType: ComputeVmShutdownTask
    • targetResourceId: matches the VM's actual resource ID
    • dailyRecurrence.time and timeZoneId: correct
    1. Test configuration outside the portal

    You can use Azure CLI to configure auto-shutdown without a webhook:

    az vm auto-shutdown \
      -g <RESOURCE_GROUP> \
      -n <VM_NAME> \
      --time 2300
    

    This configures shutdown at 23:00 UTC. Adjust the time to your requirement.

    Documentation: Configure VM auto-shutdown

    1. Check a related reported issue

    There is an open Azure GitHub issue from September 2026 reporting that the Microsoft.DevTestLab/schedules API does not return notificationSettings.webhookUrl correctly, including when configured through the portal.

    GitHub issue #46146

    This may explain the portal's webhook behavior, but it does not confirm the cause of missed shutdowns.

    1. If shutdown still doesn't execute

    Check the VM's Activity Log around the scheduled time for stop/deallocate operations.

    If no operation appears despite a correctly enabled schedule, I would open an Azure Support request to investigate the DevTestLab scheduling backend. Include the schedule resource ID, affected VM IDs, region, and missed shutdown timestamps.

    If reliable scheduled shutdown is urgently required, Microsoft's Start/Stop VMs v2 provides an alternative with scheduled execution and monitoring.

    The missing webhook itself is not the problem. The important distinction is whether the underlying schedule is correctly configured but fails to execute, or whether the portal is failing to manage the schedule correctly.

    Was this answer helpful?

    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.