I have a distributed switch on ESXi 6.5/VCenter 6.5, and I've set a private vlan ID on the distributed switch.
However, I specify the port ID on the network adapter settings for a VM, but get this error;
A specified parameter was not correct: spec.deviceChange.device.port.portgroupKey
Spec for device 4000 on entity GLOJUMP01 has portgroupKey dvportgroup-164 that is different from the portgrup key dvportgroup-163 of the port 8
My expectation and end goal is to set a vlan id on the virtual switch and then all VMs I want in the VLAN, so that they are segregated.