Skip to content

Creating NIC in the VNET from different subscription #13258

@kosinsky

Description

@kosinsky

This doc says: "If you want to use an existing subnet in other resource group or subscription, please provide the ID instead of the name of the subnet." That assumes that I can create NIC using VNET from different subscription.
However, https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface#create-a-network-interface says: "Before creating a network interface, you must have an existing virtual network in the same location and subscription you create a network interface in."

Which one is true? Is it supported scenario? So far I'm getting following error:
"Resource /subscriptions/<subscription id for vnet>/resourceGroups/<rg>>/providers/Microsoft.Network/virtualNetworks/Test1/subnets/default referenced by resource /subscriptions/<subscription id for NIC>/resourceGroups/VNet-Demo/providers/Microsoft.Network/networkInterfaces/Nic1 was not found. Please make sure that the referenced resource exists, and that both resources are in the same region." that just says about region.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

Networkaz network vnet/lb/nic/dns/etc...OKR3.2 Candidatecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions