A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
Hello Handian Sudianto,
Thank you for reaching out to the Microsoft Q&A forum.
As of agent version 1.51 there isn’t a built-in “auto-upgrade” feature in the Azure Connected Machine agent itself. The agent will continue running the version you installed until you manually upgrade it or use an external process (for example, your OS package manager on Linux or an Azure Update Manager deployment) to push a newer agent.
If you want an “automatic” update cadence, the recommended approach is to onboard your Arc-enabled servers to Azure Update Manager:
• When you enable the Azure Update Manager extension on your Arc machines, it installs a VM extension whose job is to periodically assess and apply updates (including newer Arc agent MSI or package versions if you publish them via a script or package repo). • By default, Update Manager runs its periodic assessment once per day, but you can customize the schedule in the Update Manager “Assessment & remediation” blade.
So in practice:
- Enable Update Manager on your Arc-enabled servers.
- Confirm the periodic assessment schedule (default is daily).
- Publish the newer agent version (for Windows, you’d point a script at the new MSI; for Linux, you’d publish a repo/package update) so that Update Manager can automatically install it during its next run.
If you don’t want to use Update Manager, you’ll need to roll out agent upgrades via your own automation (PowerShell DSC, Chef, Ansible, custom scripts, etc.) and schedule it however often makes sense for you.
Hope this helps!
Reference docs
- Agent release notes (no built-in auto-upgrade as of 1.51): https://learn.microsoft.com/azure/azure-arc/servers/agent-release-notes
- Azure Update Manager overview & support matrix: https://learn.microsoft.com/azure/update-manager/overview | https://learn.microsoft.com/azure/update-manager/support-matrix
- How to programmatically manage updates for Arc servers: https://learn.microsoft.com/azure/update-manager/manage-arc-enabled-servers-programmatically