"Failed to validate cluster spec, Distributed Virtual Portgroup with ID dvportgroup-#### not found"./var/log/vmware/vcf/domainmanager/domainmanager.log on the SDDC Manager records the following error : [PUBLIC_CLUSTERSPEC_VALIDATIONS_FAILED] Failed to validate cluster spec...Caused by: java.lang.IllegalArgumentException: Distributed Virtual Portgroup with ID <REDACTED_SECRETS> not found....Entity DistributedVirtualPortgroup:<REDACTED_SECRETS> not found:com.vmware.vim.binding.vmodl.fault.ManagedObjectNotFound: The object 'vim.dvs.DistributedVirtualPortgroup:####' has already been deleted or has not been completely createdVCF 9.0.1
The SDDC Manager database contains a stale Managed Object Reference (MoRef) ID for the Distributed Virtual Portgroup. This creates an inventory mismatch with the vCenter Server, typically occurring if a portgroup is modified, deleted, or recreated directly in vCenter outside of standard SDDC Manager workflows.
Execute the following procedure to synchronize Workload Domain vCenter metadata to the SDDC Manager inventory: