VM deployed to Azure Stack HCI not connected to Azure Arc

Bart 10 Reputation points
2024-10-01T08:21:00.6+00:00

We've deployed Azure Stack HCI 23H2 successfully and are able to deploy VMs to the HCI cluster from the Azure portal. After deployment, most VMs show up nicely in Azure Arc as connected.

However, we have two VMs that do not want to connect to Azure Arc. We've checked the azcmagent installation and verified connectivity (azcmagent.exe check --location).

When manually trying to connect to Arc with the azcmagent, it complains that the Arc resource already exists (it does, but it does not show as connected).

We can connect the VM to Azure Arc under a different name, but then we have two objects under Arc for the same VM (one connected and one not connected). In addition, the objects are different: a VM deployed from Azure to HCI is listed as a "Machine - Azure Arc (Azure Stack HCI)" and a manually connected VM is listed as a "Machine - Azure Arc".

How can we ensure all our VMs deployed to HCI are correctly listed under Arc and show as connected?

(and again, we have most VMs show up correctly, just two delinquents at the moment)

Azure Stack HCI
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
342 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
410 questions
{count} vote

Your answer

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