question

POLINENIKiran-1542 avatar image
0 Votes"
POLINENIKiran-1542 asked SwathiDhanwada-MSFT commented

Can we abort the scheduled windows update deployment

i have configured the Schedule update deployment for installing the critical updates on windows VMs. While running the scheduled update deployment job, i need to abort the job to stop installing the updates on windows VMs. Is there any provision for aborting the schedule update deployment job.

azure-automation
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SwathiDhanwada-MSFT avatar image
0 Votes"
SwathiDhanwada-MSFT answered SwathiDhanwada-MSFT commented

@POLINENIKiran-1542 Welcome to Microsoft Q & A Community Forum. Yes , its possible to abort the scheduled update deployment. Scheduling an update deployment creates a schedule resource linked to the "Patch-MicrosoftOMSComputers" runbook that handles the update deployment on the target machine or machines. When scheduled update deployment is triggered , a job related to "Patch-MicrosoftOMSComputers" runbook is triggered internally which you can stop by traversing to Automation Account -> Jobs -> Select Patch-MicrosoftOMSComputers -> Stop.

· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SwathiDhanwada-MSFT , Thanks for the reply.

I have a requirement of scheduling update deployments for different Windows VMs. I have 3 Windows VMs in 3 different resource groups and these 3 VMs are connected to 3 different LA workspace of there corresponding resource group. I need to schedule update deployment from single automation account to install the selected windows classification updates. Can you please guide me how to achieve this. Please share the steps related to it.

0 Votes 0 ·

@POLINENIKiran-1542 One thing you need to know about update management is that Update Management requires linking a Log Analytics workspace to your Automation account. I would suggest you to link your VM to single workspace and link the log analytics workspace to automation account. Also note that only few regions support linking of log analytics to automation account. To check the list, kindly browse this document.

0 Votes 0 ·

@POLINENIKiran-1542 Did you get chance to look into my previous comments ? Kindly revert if you have any questions.

0 Votes 0 ·

@SwathiDhanwada-MSFT, thanks for the reply.

The links what you shared are related to single VM connected to single LA workspace and our requirement is requirement is different as we have 3 different Windows VM(s) are connected to 3 different LA workspace(s) across different resource groups. Our requirement is with single schedule update deployment we need to install the selected updates on all 3 VMs. With the links which you shared supports only single LA workspace connected VMs. Is there any possibility of scheduling single update windows deployments all 3 VMs by doing any customization, if so please share those steps/ procedure that would be very helpful.

0 Votes 0 ·

@POLINENIKiran-1542 The requirement you are asking is not possible as of now. The only way to do is to connect all vm's to single log analytics workspace.

0 Votes 0 ·

@SwathiDhanwada-MSFT Thanks for reply.

Can you please guide, if there is no direct way, can the customization of scheduling windows update deployment on different VMs which are connecting to different Loa analytics workspace can be done, if so please share the steps that would be helpful

0 Votes 0 ·

@POLINENIKiran-1542 Its not possible at all using Update Management. The requirement you have comes more of as product feedback and currently can't be customized in any way as per my knowledge.

0 Votes 0 ·