Share via

Unable to configure Azure Arc on Linux Servers

Omkar Chalke 5 Reputation points
2026-03-24T11:10:12.9033333+00:00

Hello Team,

I’m currently facing an issue while configuring Azure Arc on a Linux server. The agent installation completes successfully, but the configuration step fails.

I have attempted both approaches:

  • The script generated from the Azure Arc portal
  • The manual installation and configuration method

However, the outcome remains the same in both cases. This issue is occurring on one specific server.

The error received is: AZCM0101: Command Execution Error, and the Arc proxy service remains stuck in an activating state. This persists even after deleting the localconfig.json file and retrying the configuration.

Could you please assist in identifying the root cause and suggest a resolution?

Thanks,

Azure Arc
Azure Arc

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


2 answers

Sort by: Most helpful
  1. Alex Burlachenko 19,695 Reputation points Volunteer Moderator
    2026-03-24T14:27:29.33+00:00

    Omkar Chalke hi and thx for join us at Q&A :)

    yeah AZCM0101 + proxy stuck activating… thats usually not random, something on that host is blocking it

    since install works but config fails > agent is fine, connection/setup is breaking

    first thing id check network. arc agent needs outbound https to Azure

    if that server has:

    • proxy
    • firewall
    • restricted outbound

    then proxy service just sits there activating forever

    quick test:

    curl https://management.azure.com

    if that fails > thats ur problem

    second common one broken proxy config inside arc

    check:

    /opt/azcmagent/config/agentconfig.json

    or run:

    azcmagent show

    if proxy is set but unreachable > it will hang exactly like u described

    u can reset it:

    azcmagent config clear proxy.url

    third thing (very common tbh) time / cert issues

    if server time is off > TLS fails > config dies

    check:

    timedatectl

    also check service logs, they usually tell the real story:

    journalctl -u azcmagent -f

    or:

    /var/opt/azcmagent/log/azcmagent.log

    u will probably see timeout or TLS error there

    important detail u said: only ONE server

    that basically confirms its not Azure side its something local on that machine:

    • network rules
    • proxy
    • DNS
    • time sync

    tldr agent installs fine > config fails > almost always outbound connectivity or proxy misconfig
    rgds,

    Alex


  2. Bharath Y P 7,080 Reputation points Microsoft External Staff Moderator
    2026-03-24T12:35:57.5233333+00:00

    Hello Omkar, We understand that you successfully installed the Azure Arc agent on a Linux server. The configuration step fails with AZCM0101: Command Execution Error. The Arc proxy service remains stuck in an activating state.

    Arc Proxy Service Stuck “Activating” might be because of the Arc agent relies on the arcproxy user and himds group to run its systemd service (arcproxyd.service). If these accounts do not exist, the service cannot start, and you see errors like: AZCM0101: Command Execution Error or AZCM0004: Service start failure.

    Validate the service unit:

    Validate the service unit:

    cat /usr/lib/systemd/system/arcproxyd.service | grep -E "User|Group"
    

    Expected output:

    User=arcproxy
    Group=himds
    

    Check if the system accounts exist:

    id arcproxy
    id himds
    

    If not found, the commands will fail, confirming the root cause.

    Create the Missing User/Group:

    sudo groupadd --system himds 
    sudo useradd --system --no-create-home --gid himds arcproxy
    

    Reload and Restart Service

    sudo systemctl daemon-reload 
    sudo systemctl restart arcproxyd 
    sudo systemctl status arcproxyd
    

    Service should now be in active (running) state.

    Confirm Agent Connection: Run the below command

    azcmagent show

    Ensure you get "Agent Status: Connected" and no errors.

    Additional Checks

    • Supported OS/architecture: Arc supports mainstream Linux distros (RHEL, CentOS, Ubuntu, SLES, etc.) with x86_64 or ARM64.
    • Outbound connectivity: required to reach Azure endpoints:
    azcmagent check --location "<your-region>"
    

    Hope this helps! If you still hit issues after that, could you help us with the below details:

    • The Linux distro and version you’re using ?
    • The Arc agent version (from azcmagent show) ?
    • Output of systemctl status arcproxyd and any recent journalctl -u arcproxyd logs ?

    Reference:

    Troubleshoot Azure Connected Machine agent connection issues - Azure Arc | Microsoft Learn

    CLI reference for azcmagent connect - Azure Arc | Microsoft Learn

    0 comments No comments

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.