Unable to detach a network interface from Virtual Machine

Glenn Moseley 0 Reputation points
2025-02-27T16:08:20.3966667+00:00

I have an Azure Virtual Machine running windows. I need to perform some network configuration on this machine so I stopped it and attempted to detach the network from it.

The UI told me that there was 'No network interfaces available to detach'WorkWalletBuild-Microsoft-Azure-02-27-2025_03_26_PMcpy

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,440 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TP 106.6K Reputation points
    2025-02-27T16:14:53.7233333+00:00

    Hi Glenn,

    A VM must always have at least one network interface attached, so if there was only one attached, then you would not be able to detach it.

    https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-vm#remove-a-network-interface-from-a-vm

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


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.