I have setup jenkins and updated the azure credentials to configure the azure vm agent plugin.
When i try to scale my agent thru template, i need to provide virtual network, resource group name and subnet to make sure the vm is created with private ip's.
azure vm agent plugin is not resolving the virtual network and subnet for different resource group to create VM's with Private ip.
The error message says that "The virtual network is not available in the resource group provided".
But i have virtual network in my resource group. Not sure why it is not resolving.
The following errors occurred while validating the template.
1: The virtual network xxxxxx-xxxxxxx-xxxxxxxx does not exist in the resource group xxxx-xxxxxxxxxx-xxxxxxx-xxxxxx in this subscription.