Creating a Windows Update Deployment on a Monthly Schedule #4004
-
I'm not sure if this is even possible but will ask the question... I'm creating an automation account with update management enabled, and I'm looking to create 2 deployment schedules:
I've managed to create the definition updates deployment fine, but I'm getting stuck with the windows updates deployment I'm looking to create this deployment on the 3rd Saturday of the month at 10pm, but for different timezones. Is this possible? Here is what I have so far:
I'm probably trying to be too fancy, but if anyone knows of a way to solve it, I'm all ears Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I believe what you are looking for should be available with the scheduler that is part of the 'softwareUpdateConfigurations' I have been using scheduleInfo: {
isEnabled: patchingStatus.windows
frequency: 'Week'
interval: 1
advancedSchedule: {
weekDays: [
'Wednesday'
'Thursday'
]
}
} When referencing the api docs here: It appears When I deploy the following (It defaults to UTC) scheduleInfo: {
isEnabled: patchingStatus.windows
frequency: 'Month'
interval: 1
advancedSchedule: {
monthlyOccurrences: [
{
day: 'Saturday'
occurrence: 3
}
]
}
} This is generated, which looks good ? When I update it to include the timeZone, that is reflected in the schedule scheduleInfo: {
isEnabled: patchingStatus.windows
frequency: 'Month'
timeZone: 'America/Denver'
interval: 1
advancedSchedule: {
monthlyOccurrences: [
{
day: 'Saturday'
occurrence: 3
}
]
}
} Are you able to share some more info? i.e. is it time zone OR start time related Etc? |
Beta Was this translation helpful? Give feedback.
I believe what you are looking for should be available with the scheduler that is part of the 'softwareUpdateConfigurations'
I have been using
weekly
updates that look like this.https://github.com/brwilkinson/AzureDeploymentFramework/blob/5e1ac1fa60b751f44697286b7c59791a6b243e3b/ADF/bicep/OMS.bicep#L887
When referencing the api docs here:
https://docs.microsoft.com/en-us/azure/templates/microsoft.automat…