Hi Komal Phadatare,
Thank you for reaching out to us on the Microsoft Q&A forum.
Based on your issue with automatic patch updates on your VM, the problem occurs because, when deploying the VM from the Azure portal, the default setting enables automatic updates by the OS. To address this, you should select the manual update mode instead of the automatic one. Please refer the below screenshot.
If you are deploying a VM using CLI or PowerShell, setting --enable-auto-updates
to false
will also set patchMode
to manual and disable automatic updates. It is important to keep your virtual machines up to date with the latest security updates and patches to ensure that they are protected against known vulnerabilities and threats.
Please find the document provided below for your reference:
Patch orchestration modes
Automatic Guest Patching for Azure Virtual Machines and Scale Sets
If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!