Hello Wazen Shbair,
Thanks for your question
Ubuntu uses the unattended-upgrades
package to handle automatic updates. You can disable this service to prevent automatic updates.
See and remove
sudo systemctl stop unattended-upgrades
sudo systemctl disable unattended-upgrades
#Then
sudo nano /etc/apt/apt.conf.d/20auto-upgrades
See 3rd part doc: https://linuxconfig.org/disable-automatic-updates-on-ubuntu-22-04-jammy-jellyfish-linux
Also check Azure update management:
1. Go to your VM in the Azure Portal.
2. Navigate to Update management under the Operations section.
3. If your VM is enrolled, consider removing it from the update deployment schedule.
https://learn.microsoft.com/en-us/azure/automation/update-management/overview
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola