Hi,
I am trying to automate the creation of mobility groups in HCX 4.11.
I am able to create a mobility group and add a VM to it with the most mapping like CLuster datastore and so all fine.
But when I look at the network mapping I see this

this is not really wat I was suspection.
If I dig a bit deeper I see the correct mapping

Also a manual start from in the UI does not work, but using the powerCLI start option it works :-(
here the script I use to get the networkmapping done
$DstNetworkList = get-vm $VM.vm -Server $HcxSrcSite.name | Get-NetworkAdapter
#Loops through every NIC found and creates a src <> tgt Network Mappings
for ($NicNumber = 0; $NicNumber -lt $DstNetworkList.Count; $NicNumber++)
{
$SrcNetwork = Get-HCXNetwork $DstNetworkList[$NicNumber].networkname -type Network -Site $HcxSrcSite
$DstNetwork = Get-HCXNetwork $DstNetworkList[$NicNumber].networkname -type DistributedVirtualPortgroup -Site $HcxDstSite
$DstNetworkMapping += New-HCXNetworkMapping -SourceNetwork $SrcNetwork -DestinationNetwork $DstNetwork
}
Hope someone can help
Gert