The VLAN ID (%VlanId;) is not valid because the VM network (%LogicalNetworkName;) does not include the VLAN ID in a network ...