Hi,
You could enable port monitoring in powershell following these steps
Set the Mirroring Mode of the capturing VM to Destination.
Set-VMNetworkAdapter <name of the VM> -PortMirroring Destination
Enable Source Mirror Mode on the External port of the Virtual Switch the capturing VM is attached to.
$A = Get-VMSystemSwitchExtensionPortFeature -FeatureMame "Ethernet Switch Port Security Settings"
$A.SettingData.MonitorMode = 2
Add-VMSwitchExtensionPortFeature -ExternalPort -SwitchName <name of the switch> -VMSwitchExtensionFeature $A
Or you could configure it in Hyper-V Manager refering to this link
https://learn.microsoft.com/en-us/archive/blogs/technet/mspfe/virtual-machine-network-monitoring-the-easy-way-with-hyper-v-in-windows-server-2012
According to the error message, you may also check if the ICS is enabled and the ICS service is running.
Best Regards,
Ian