Hi,
By default 2 subnets in the same VNET can connect to each other. If your intension is to force the traffic between 2 subnets via an NVA, you can do that by adding a UDR and forcing the other subnet traffic to go via NVA.
Here is a lab which I have found in GitHub where you can use the steps to create an NVA in Azure: https://github.com/erjosito/azure-networking-lab#lab2
Regards,
Karthik Srinivas