# Azure - VNET resource group is not under VM resource group

**URL:** <https://forum.ansible.com/t/azure-vnet-resource-group-is-not-under-vm-resource-group/26379>\
**Category:** Ansible Project\
**Tags:** azure, awx\
**Created:** [December 26, 2017, 7:08am UTC](https://forum.ansible.com/t/azure-vnet-resource-group-is-not-under-vm-resource-group/26379 "2017-12-26T07:08:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![makawanabharathwhats](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@makawanabharathwhats](https://forum.ansible.com/u/makawanabharathwhats)\
**Post date:** [December 26, 2017, 7:08am UTC](https://forum.ansible.com/t/azure-vnet-resource-group-is-not-under-vm-resource-group/26379/1 "2017-12-26T07:08:18Z")

</div>

Hi Team,

I’m just trying to provision an vm in azure but I see the following hurdles.

The current version of my ansible is ansible 2.3.1.0

The error which I undergo while creating an Vm is that " the network resource group is not under the VM resource group"?

I could see we have different resource groups for this and because of which I’m not able to proceed ahead… please assist…

TASK [Create VM] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

fatal: [localhost]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “Error fetching network interface NIC\_Ansibletest - Azure Error: ResourceNotFound\nMessage: The Resource ‘Microsoft.Network/networkInterfaces/NIC\_Ansibletest’ under resource group ‘VM\_RESOURCE\_GROUP’ was not found.”}

to retry, use: --limit @/var/lib/awx/projects/azure/test.retry

Please note: I cannot upgrade my current ansible version too as this may impact and a time consuming process to get various approvals to get this done.
