Install_linux_azcmagent.sh missing Ubuntu 26.04 support despite agent 1.67 changelog

Fredrik Björck 20 Reputation points
2026-08-24T09:53:46.7566667+00:00

Install_linux_azcmagent.sh missing Ubuntu 26.04 support despite agent 1.67 changelog

Summary

The public Azure Connected Machine agent Linux install script (downloaded via https://aka.ms/azcmagent) still rejects Ubuntu 26.04 as an unsupported distribution, even though the agent release notes state that version 1.67 (August 2026) added:

Added support for Ubuntu 26.04 (x86-64) — Feature, Linux

There appears to be a gap between the agent package (which supports 26.04 per the changelog) and the public install script (which does not).

Environment

  • OS: Ubuntu 26.04 (x86-64)
  • Install method: Install_linux_azcmagent.sh downloaded fresh via curl -sL https://aka.ms/azcmagent -o Install_linux_azcmagent.sh (confirmed not a caching issue — re-downloaded on 2026-08-24, four days after the release notes page was last updated on 2026-08-20)
  • Deployment: Ansible / AWX automation

Error observed


Using 'curl' for downloads

Total usable memory: 7407760 kB

Platform type:  x86_64:Linux

Retrieving distro info from /etc/os-release...

No HIS endpoint provided, using default gbl.his.arc.azure.com

Install_linux_azcmagent.sh: unsupported Linux distribution: Ubuntu:26.04. For supported OSs, see https://learn.microsoft.com/en-us/azure/azure-arc/servers/prerequisites#supported-operating-systems

Exit code 133 (unsupported Linux distribution).

Root cause (confirmed via script inspection)

The Ubuntu case block in the downloaded script only matches major/minor version combinations up to 24.04, with no branch for 26:


elif [ "${distro_major_version}" -eq 22 ] && [ "${distro_minor_version}" -eq 04 ]; then

    echo "Configuring for Ubuntu 22.04..."

    deb_distro=ubuntu/22.04

elif [ "${distro_major_version}" -eq 24 ] && [ "${distro_minor_version}" -eq 04 ]; then

    echo "Configuring for Ubuntu 24.04..."

    deb_distro=ubuntu/24.04

else

    exit_failure 133 "$0: unsupported Linux distribution: ${distro}:${distro_major_version}.${distro_minor_version}. For supported OSs, see https://learn.microsoft.com/en-us/azure/azure-arc/servers/prerequisites#supported-operating-systems"

fi

There is no elif branch for distro_major_version -eq 26, so any Ubuntu 26.04 host hits the catch-all unsupported Linux distribution error regardless of the agent package's actual capabilities.

Request

Please update Install_linux_azcmagent.sh (served from aka.ms/azcmagent) to add an Ubuntu 26.04 branch, consistent with the 1.67 release notes, e.g.:


elif [ "${distro_major_version}" -eq 26 ] && [ "${distro_minor_version}" -eq 04 ]; then

    echo "Configuring for Ubuntu 26.04..."

    deb_distro=ubuntu/26.04

It would also help to confirm whether the ubuntu/26.04/prod path exists in the packages.microsoft.com repository, since that's needed regardless of the script fix.

Impact

This blocks Azure Arc onboarding for any Ubuntu 26.04 host using the standard/documented installation method, despite the underlying agent supporting the OS since 1.67.

Happy to provide further logs or test on our environment if useful.

Azure Arc
Azure Arc

A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.

0 comments No comments

Answer accepted by question author
Allan Solomon Mejia 8,085 Reputation points
2026-08-24T17:18:00.7433333+00:00

Hello @Fredrik Björck

Your analysis looks correct, and I can reproduce the inconsistency in Microsoft's currently published guidance.

There are actually three separate pieces that need to agree before I would consider Ubuntu 26.04 fully supported for Azure Arc onboarding:

  1. Azure Connected Machine agent binary/package
  2. Microsoft Linux package repository
  3. Install_linux_azcmagent.sh + Azure Arc supported-OS matrix

You've identified a gap between those components.

The current Azure Arc prerequisites documentation states explicitly that if an OS version isn't listed, it isn't supported. At present, the Ubuntu entries shown are:

Ubuntu 18.04

Ubuntu 20.04

Ubuntu 22.04

Ubuntu 24.04

Ubuntu 26.04 isn't currently listed.

At the same time, your freshly downloaded Install_linux_azcmagent.sh confirms that the installation path hasn't yet been updated either. The script stops after the Ubuntu 24.04 condition and returns:

unsupported Linux distribution: Ubuntu:26.04

Exit code 133

So I agree that this isn't an Ansible/AWX issue or a stale local copy of the installer. Your inspection demonstrates that the current public installation script itself doesn't recognize 26.04.

Microsoft documents Install_linux_azcmagent.sh as the supported installation bundle that identifies whether the Linux distribution is supported and configures the appropriate Microsoft package repository before installing the Connected Machine agent.

I therefore wouldn't recommend adding this manually to the production script:

elif [ "${distro_major_version}" -eq 26 ] &&
     [ "${distro_minor_version}" -eq 04 ]; then
    deb_distro=ubuntu/26.04

That would only bypass the script's OS validation. It wouldn't establish that the complete Azure Arc stack and associated extensions/services are supported on Ubuntu 26.04.

Likewise, pointing 26.04 at the Ubuntu 24.04 Microsoft repository would be an unsupported assumption unless Microsoft specifically documents that configuration.

The package-based installation documentation currently gives Ubuntu 24.04 as the Ubuntu repository example and installs azcmagent from Microsoft's configured package repository.

So I think your request to Microsoft is valid.

This appears to require confirmation from the Azure Arc/Connected Machine Agent product team on two points:

  • Whether Ubuntu 26.04 x86-64 is now officially supported by Azure Arc-enabled Servers, not just by the 1.67 agent binary.
  • Whether the ubuntu/26.04/prod repository and Install_linux_azcmagent.sh deployment path are now intended to be available.

If version 1.67 officially added Ubuntu 26.04 support as stated in the release notes you're seeing, then the supported OS matrix, Microsoft package repository, and aka.ms/azcmagent installation script should align.

Until Microsoft confirms that rollout, I would keep the AWX deployment on Ubuntu 24.04 rather than bypassing the installer's distribution check.

Sharing these references with you:

Azure Arc Connected Machine agent prerequisites

Connect Linux machines to Azure Arc using a deployment script

Package-based Linux installation

Given that you've already provided the exact failing condition, fresh-download date, exit code, and missing script branch, I think this should be escalated to the Azure Arc product team rather than treated as an installation troubleshooting issue.

Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.