when you try to apply a logical switch to Hyper-v Host , you might get an SCVMM error like the one below :
The Windows Remote Management (WS-Management) service cannot process the request. The object was not found on the server (win12-hv.jitpros.local).
WinRM: URL: [http://win12-hv.jitpros.local:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/virtualization/v2/Scvmm_VirtualEthernetSwitchInternalSettingData?InstanceID=Microsoft:Definition\8b54c928-eb03-4aff-8039-99171dd900ff\Default]
Unknown error (0x80338000)
Ensure that the VMM agent is installed and running. If the error persists, restart the virtualization server (win12-hv.jitpros.local) and then try the operation again.
This error can also happen due to an older version of the VMM agent on the virtualization server. Ensure that the VMM agent is upgraded to the latest version, and then try the operation again.
To resolve this try this solution :
1. Use Physical Adapter to manage Hyper-v Host , if your Physical Adapter has a Virtual Switch the addition would fail .
2. Disable IP 4 and IP 6 on Team adapters (if your DHCP provide a DNS configuration that are different than your management DNS configuration )