[########-####-####-####-############] Security group '<group name> cannot be deleted as it is in use.
"com.vmware.vcloud.api.presentation.service.BadRequestException: Security group '<group name>' cannot be deleted as it is in use. at com.vmware.vcloud.networking.model.nsxtresource.NsxTGroup.deleteGroupInNsx(NsxTGroup.java:125)
VMware Cloud Director 10.5.x
The edge deletion fails in VCD as the group cannot be deleted in NSX.
To resolve the issue, remove the stale security group in the NSX and then delete the edge in VCD.
The documentation shows the steps to be followed when creating a security group, navigate to the NSX UI with the steps to identify the groups and delete the one associated with the OVDC edge gateway.