Share via

Issue with Azure Arc Resource Bridge on Re-Onboarded Hyper-V Host

Karim Hamdy 0 Reputation points
2026-04-08T06:25:58.5066667+00:00

I am experiencing an issue with Azure Arc on one of my Hyper-V hosts.

Previously, this host was onboarded to Azure Arc under an older subscription. However, that subscription has since been deleted, and we no longer have any connectivity or access to it.

Recently, we created a new Azure subscription and re-onboarded the same Hyper-V host to Azure Arc using Windows Admin Center. The onboarding process completed successfully, and I proceeded to add the Kubernetes extension.

However, when attempting to use the extension, I encountered the following error:

"An Arc Resource Bridge instance is already setup on this host. We recommend removing the Arc Resource Bridge before setting up Azure Kubernetes Service hybrid."

It appears that a previous Arc Resource Bridge configuration may still be present on the host, even though the original subscription is no longer accessible.

Could you please assist with the following:

  • How to fully remove or clean up the existing Arc Resource Bridge from the host
  • Steps to ensure a clean reconfiguration for Azure Kubernetes Service hybrid
  • Any required manual cleanup or commands to resolve this conflict

Please let me know if you need any logs, screenshots, or additional details from my side

Azure Arc
Azure Arc

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

0 comments No comments

4 answers

Sort by: Most helpful
  1. Karim Hamdy 0 Reputation points
    2026-04-09T11:38:16.16+00:00

    figured it out thanks

    0 comments No comments

  2. Karim Hamdy 0 Reputation points
    2026-04-09T05:42:43.5366667+00:00

    PS C:\Windows\system32> Get-Service | Where-Object {

    $_.Name -match "arc|aks|kube|hybrid|resource"

    } | Select Name, Status

    Name Status


    ArcProxy Running

    GCArcService Running

    WSearch Stopped

    PS C:\Windows\system32> Get-WindowsFeature | Where-Object {

    $_.Name -match "Hyper-V|Containers"

    }

    Display Name Name Install State


    [X] Hyper-V Hyper-V Installed

    [ ] Containers Containers Available

        [X] Hyper-V Management Tools                    RSAT-Hyper-V-Tools             Installed
    
            [X] Hyper-V GUI Management Tools            Hyper-V-Tools                  Installed
    
            [X] Hyper-V Module for Windows PowerShell   Hyper-V-PowerShell             Installed
    

    PS C:\Windows\system32> Get-HnsNetwork | Select Name, Type

    Get-HnsNetwork : The term 'Get-HnsNetwork' is not recognized as the name of a cmdlet, function, script file, or

    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try

    again.

    At line:1 char:1

    • Get-HnsNetwork | Select Name, Type
    • 
          + CategoryInfo          : ObjectNotFound: (Get-HnsNetwork:String) [], CommandNotFoundException
      
          + FullyQualifiedErrorId : CommandNotFoundException
      
      
    0 comments No comments

  3. Karim Hamdy 0 Reputation points
    2026-04-08T11:16:43.13+00:00

    Hi ,

    i don't have anything from Azure side, the issue is from the host itself. it seems there are some elements residue. no VMs on hyperv available or something.

    what shall i do ? any commands i can run to see whats remaining ?

    thanks


  4. Bharath Y P 7,320 Reputation points Microsoft External Staff Moderator
    2026-04-08T08:55:20.8933333+00:00

    Hello Karim, Hey Karim – it sounds like even though you deleted the old subscription, there’s still a leftover Arc Resource Bridge deployment sitting on that Hyper-V host, and that’s why the hybrid-AKS extension sees “an Arc Resource Bridge instance is already setup.” You’ll need to do a two-part cleanup: one on the Azure side, and one on the Hyper-V host itself. Here’s what you can try:

    1. Clean up in Azure • If you see any “Arc Resource Bridge” or “Azure Kubernetes Service hybrid” resources in your new subscription’s resource group, delete them. – CLI example (replace placeholders):
         
         az connectedmachine extension delete \
         
         
         --resource-group MyRG \
         
         
         --machine-name MyHostName \
         
         
         --name AzureKubernetesServiceHybrid  
         
      
      – Or, if you used the appliance resource model:
         
         az arcappliance delete \
         
         
           --resource-group MyRG \
         
         
           --name MyBridgeName \
         
         
           --yes  
         
      
      • Confirm there are no appliances or extensions registered for that host:
         
         az connectedmachine list --resource-group MyRG  
         
         az arcappliance list   --resource-group MyRG  
         
      
    2. Tear down the old Resource Bridge on the Hyper-V host a. Open Hyper-V Manager (or use PowerShell) and look for any VM named something like “ArcResourceBridge” or similar. Shut it down and delete it, plus its virtual hard disks. b. Remove any virtual switches that were created for the bridge:
         
         Get-VMSwitch | Where-Object Name -Like "ArcBridge*" | Remove-VMSwitch -Force
         
      
      c. Stop and uninstall the Connected Machine & Kubernetes agents: – Stop service:
          ```powershell
         
         
          Stop-Service -Name AzureConnectedMachineAgent -Force
         
         
      
            – Uninstall the agent (use Control Panel or msiexec/uninstall string):  
         
         ```yaml
          ```powershell
         
         
          msiexec /x {AzureConnectedMachineAgent-ProductCode} /qn
         
         
      
         d. Remove any leftover folders:  
         
         ```powershell
         
         Remove-Item -Recurse -Force C:\ProgramData\AzureConnectedMachine
         
         Remove-Item -Recurse -Force C:\ProgramData\AzureConnectedMachine\KubernetesAgent
         
      
    3. Reboot the Hyper-V host A full restart ensures no bits of the old bridge are still in memory or locked by services.
    4. Re-onboard & add the AKS hybrid extension • In Windows Admin Center, go through the Azure Arc onboarding wizard again to register the server. • Once it’s successfully Arc-enabled, add the “Azure Kubernetes Service hybrid” extension. It should now deploy a fresh resource bridge VM.

    If after those steps you still see the same error, can you share:

    • The output of Get-VM and Get-VMSwitch on your Hyper-V host to confirm all bridge VMs/switches are gone

    • The result of az connectedmachine list --resource-group <YourRG> and az arcappliance list --resource-group <YourRG>

    • Any logs from C:\ProgramData\AzureConnectedMachine\Logs\ (or via az arcappliance logs)

    That info will help pinpoint any stray configuration sticking around. Let me know!

    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.