Azure Stack HCI Guest management showing disconnected

Azure Local Guy 140 Reputation points
2026-03-10T20:00:31.8633333+00:00

Hi Team,I have azure stack HCI clsuter in which few of my machine are giving the error

INFO AZCM0044: Resource Already Exists

INFO Please retry the command with a resource name. A valid resource name contains only alphanumeric characters, '-' , '_' and '.'.

INFO For more troubleshooting tips, please refer to https://aka.ms/arc/azcmerror

FATAL resource name 'VMName' already exists. Please specify a different resource name

I ran command azcmagent.exe disconnect --force-local-only and than ran the connect command but it give the above error.

in some article i saw they are saying to clear the stale registration Azure arc but i am unabel to see the remove/delet option in azure arc.

Kinldy suggest.

User's image

Azure Local

1 answer

Sort by: Oldest
  1. AI answer

    2026-03-10T20:00:49.96+00:00

    The error indicates that the Azure Arc resource with the specified name already exists in Azure, so azcmagent connect cannot create a new resource with the same name. This typically happens when a machine was previously connected and then cloned or reconnected without first cleaning up the existing Arc registration.

    The supported way to resolve stale or conflicting Arc registrations is:

    1. On the affected server, run:
         azcmagent disconnect --force-local-only
      
      This removes the local association but does not delete the Azure resource.
    2. In Azure, delete the existing Arc-enabled server resource that corresponds to this machine name so that the name is freed. The context describes that each connected machine must have a unique resource identity; cloning or reusing a connected image causes conflicts and 429/"already exists"-type issues.
    3. After the stale resource is removed from Azure, run azcmagent connect again on the server, using a unique resource name if needed.

    If these machines were created from a golden image that was already connected to Azure, each clone must be “specialized” and then connected individually:

    • Install the azcmagent package in the golden image, but do not run azcmagent connect on the image itself.
    • For existing clones that share the same resource identity, run on each clone:
        azcmagent disconnect --force-local-only
        azcmagent connect ...    # with appropriate credentials and a unique resource name
      

    This ensures each Azure Stack HCI node or guest VM has its own unique Arc resource and prevents the “resource already exists” error.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.