Organization VDC (Org VDC) network deletion fails with the error: "Network cannot be deleted, because it is in use by the following vApp Networks: ". This error occurs when stale network dependencies remain in the database, even if no deployed vApps are currently using the network.
Symptoms
Network cannot be deleted, because it is in use by the following vApp Networks: "ConstraintViolationException: could not delete: [LogicalNetworkModel]"
VMware Cloud Director 10.x
This issue is caused by a vApp template residing in a Catalog that is still referencing the target vApp network.
Although there are no deployed vApp instances, the template retains the network configuration dependency, which blocks the deletion of the network.
UI Verification
API Identification If UI checks do not identify the dependency, use the Cloud Director API to identify the specific linked vApp network: GET /api/query?type=vAppNetwork&format=records&filter=linkNetworkName==<NetworkName> The vAppName field in the response identifies the template or vApp causing the dependency.
Database Remediation Warning: Take a full database backup before executing any database queries. If stale database records remain, contact Broadcom Support to identify and remove entries from the logical_network, gateway_interface, and tenant_network_logical_resource tables. To speak with a customer representative, see .