vSwitch network policy property doesn't match.[YYYY-MM-DD] info vpxd[05864] [Originator@6876 sub=moHostProfile opID=mm320m8o-1473-auto-14z-h5: 70000669-ac] [CheckCompliance] : Host #### is not compliant with profile xxxx: (vim.profile. ComplianceResult.ComplianceFailure) [(vim.profile. ComplianceResult. ComplianceFailure) {failureType = "VSwitch. NicDevicesNotMatching",message = (vmodl. LocalizableMessage) }key = "com. vmware. vim. profile. ComplianceFailure. VSwitch. NicDevicesNotMatching. label", arg = (vmodl. KeyAnyValue) ](vmodl. KeyAnyValue) {key = "vswitchName",value = "vSwitch0"message = "vSwitch vSwitch0 doesn't have the required NIC devices connected."expressionName = "network. vswitch["key-vim-profile-host-VirtualSwitchProfile-vSwitch0"] . link-pnicsList",failureValues = (vim.profile. ComplianceResult. ComplianceFailure. ComplianceFailureValues) (vim.profile. ComplianceResult. ComplianceFailure. ComplianceFailureValues) vSphere 7.x
vSphere 8.x
The physical adapter configuration (e.g., vmnic0) on the target host does not align with the Host Profile's defined network policy. Specifically, this error is triggered when an adapter is configured as an Unused adapter in the vSwitch settings on the host, while the Host Profile expects a different Teaming and Failover state (Active or Standby).
To resolve this issue, ensure the vSwitch settings on the host match the reference host configuration within the Host Profile.
Log in to the vSphere Client.
Navigate to Hosts and Clusters.
Select the ESXi host reporting non-compliance.
Navigate to Configure > Networking > Virtual switches.
Select the affected vSwitch (e.g., vSwitch0) and click Edit.
Navigate to the Teaming and Failover tab.
Verify the status of the physical adapters (Uplinks). If an adapter like vmnic0 is under Unused adapters, move it to Active or Standby to match the desired configuration of the cluster/Host Profile.
Click OK.
Right-click the host and select Host Profiles > Check Host Profile Compliance to verify the fix.
If the configuration must remain as "Unused" for specific design reasons, the Host Profile must be updated by capturing the settings from a reference host that shares this specific configuration.