Can someone delete orphaned Azure managed private endpoint

David Osborne [MSDN] 0 Reputation points
2024-10-13T19:56:09.9033333+00:00

I deleted the resource group for a virtual network but there was a managed private endpoint to a load balancer that couldn't be deleted, the high level resource has been deleted now but the virtual network "Connected Devices" still has the "waws-prod-sy3-0ef52bbe-swift-lb" (Azure managed resource) listed as connected, can you delete the connection, delete the virtual network "int-ase-v3" and delete the resource group "dev-app-service-env-v3" or just delete the connected device and I'll delete the virtual network and resource group.

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
155 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pavan Minukuri 915 Reputation points Microsoft Vendor
    2024-10-18T22:09:20.1733333+00:00

    Hi @David Osborne [MSDN]
    Welcome to Microsoft Q&A.!
    Please go through the below steps:
    Remove the Private Endpoint Connection:

    1.Go to Virtual Network int-ase-v3 in the Azure portal.

    2.Check the Connected Devices tab for the waws-prod-sy3-0ef52bbe-swift-lb connection.

    3.Try to manually remove or detach it.

    Force Delete the Virtual Network:
    1.If you can't remove the connection, use these commands to delete the virtual network:

    Remove-AzVirtualNetwork -Name "int-ase-v3" -ResourceGroupName "dev-app-service-env-v3" -Force
    
    

    Reference links : https://learn.microsoft.com/en-us/powershell/module/az.network/remove-azvirtualnetwork?view=azps-12.4.0 https://learn.microsoft.com/en-us/cli/azure/network/vnet?view=azure-cli-latest#az-network-vnet-delete

    If you have any further queries, do let us know.


    If the answer is helpful, please click "Accept Answer" and "Upvote it".


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.