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