Hello Charles Latham
I wanted to follow up and check if you had the opportunity to review the information provided by Suwarna in our previous post.
Additionally, you can use below comments to to delete the nics,
Get-AzNetworkInterface | where-object { $_.VirtualMachine -eq $null } | ft name
Get-AzNetworkInterface | where-object { $_.VirtualMachine -eq $null } | Remove-AzNetworkInterface -Force
As above steps do not work, we have suggested check with resource.azure.com after checking NIC.
- Open a web browser and navigate to https://resources.azure.com
- Log-in to the appropriate Azure account
- In the blade on the left side of the browser, expand subscriptions, then expand the desired subscription name
- In the blade on the left side of the browser, expand resource groups
- Under resource groups, expand the proper Resource Group Name
- Under the Resource Group, expand providers
- Under providers, expand Microsoft.Network
- Under Microsoft.Network, expand networkinterfaces
- Under networkinterfaces, select the NIC which you are failing to delete.
- Near the top of the content window of the browser, select the Read/Write push button
- Select the Actions(POST, DELETE) tab and click on Delete.
If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!