Unable to save changes to maintenance schedule, needing to allocate 40 minutes to the pre-maintenance task

Greg Bonk 66 Reputation points
2024-09-18T13:05:57.8033333+00:00

I wanted to change a maintenance schedule in the Azure portal, but there is this message and I can not save my changes.

You have a pre maintenance task configured which will not get triggered in the upcoming scheduled run. Please ensure to allocate at least 40 minutes for the pre maintenance task to execute before the maintenance schedule run.

My Maintenace runs every 6 hours and the window is 2 hours.

I do have events set with this Maintenance Configuration, listening to Microsoft.Maintenance.PreMaintenanceEvent and Microsoft.Maintenance.PostMaintenanceEvent. My events are Azure Functions that will start/stop all of the Session Hosts in a host pool.

Where and what do I update to allocate the 40 minutes ?

Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
303 questions
{count} votes

Your answer

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