You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/create-peering-different-subscriptions.md
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,29 @@
1
1
---
2
-
title: Create a virtual network peering between different subscriptions
2
+
title: Create Virtual Network Peering Between Different Subscriptions
3
3
titleSuffix: Azure Virtual Network
4
-
description: Learn how to create a virtual network peering between virtual networks created through Resource Manager that exist in different Azure subscriptions in the same or different Microsoft Entra tenant.
4
+
description: Learn to create virtual network peering between Azure subscriptions and Microsoft Entra tenants. Step-by-step guide with Portal, PowerShell, and CLI examples. Start connecting your networks today.
# Customer intent: "As a network administrator managing multiple Azure subscriptions, I want to create virtual network peering between those subscriptions, so that I can enable seamless communication between resources in different networks while optimizing bandwidth and latency."
12
12
---
13
13
14
-
# Create a virtual network peering - Resource Manager, different subscriptions and Microsoft Entra tenants
14
+
# Create virtual network peering across different subscriptions and Microsoft Entra tenants
15
15
16
-
In this tutorial, you learn to create a virtual network peering between virtual networks created through Resource Manager. The virtual networks exist in different subscriptions that might belong to different Microsoft Entra tenants. Peering two virtual networks enables resources in different virtual networks to communicate with each other with the same bandwidth and latency as though the resources were in the same virtual network. Learn more about [Virtual network peering](virtual-network-peering-overview.md).
16
+
Virtual network peering enables you to connect Azure virtual networks across different subscriptions and Microsoft Entra tenants. In this tutorial, you learn to create virtual network peering between virtual networks created through Resource Manager that exist in different subscriptions. Peering two virtual networks enables resources in different virtual networks to communicate with each other with the same bandwidth and latency as though the resources were in the same virtual network. Learn more about [Virtual network peering](virtual-network-peering-overview.md).
17
17
18
18
Depending on whether, the virtual networks are in the same, or different subscriptions the steps to create a virtual network peering are different. Steps to peer networks created with the classic deployment model are different. For more information about deployment models, see [Azure deployment model](../azure-resource-manager/management/deployment-models.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
19
19
20
20
Learn how to create a virtual network peering in other scenarios by selecting the scenario from the following table:
|[One Resource Manager, one classic](create-peering-different-deployment-models.md)|Same|
26
+
|[One Resource Manager, one classic](create-peering-different-deployment-models-subscriptions.md)|Different|
27
27
28
28
A virtual network peering can't be created between two virtual networks deployed through the classic deployment model. If you need to connect virtual networks that were both created through the classic deployment model, you can use an Azure [VPN Gateway](../vpn-gateway/tutorial-site-to-site-portal.md?toc=%2fazure%2fvirtual-network%2ftoc.json) to connect the virtual networks.
29
29
@@ -103,7 +103,7 @@ The following resources and account examples are used in the steps in this artic
103
103
## Create virtual network - vnet-1
104
104
105
105
> [!NOTE]
106
-
> If you are using a single account to complete the steps, you can skip the steps for logging out of the portal and assigning another user permissions to the virtual networks.
106
+
> If you're using a single account to complete the steps, you can skip the steps for logging out of the portal and assigning another user permissions to the virtual networks.
107
107
108
108
# [**Portal**](#tab/create-peering-portal)
109
109
@@ -378,7 +378,7 @@ In this section, you sign in as **user-2** and create a virtual network for the
378
378
Create a second virtual network with the following values by repeating the steps in the [previous section](#create-virtual-network).
Use [Get-AzVirtualNetwork](/powershell/module/az.network/get-azvirtualnetwork) to obtain the resource ID for **vnet-1**. Assign **user-1** from **subscription-1** to **vnet-2** with [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment).
529
+
Use [Get-AzVirtualNetwork](/powershell/module/az.network/get-azvirtualnetwork) to obtain the resource ID for **vnet-2**. Assign **user-1** from **subscription-1** to **vnet-2** with [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment).
530
530
531
531
Use [Get-AzADUser](/powershell/module/az.resources/get-azaduser) to obtain the object ID for **user-1**.
532
532
@@ -843,7 +843,7 @@ You need the **Resource IDs** for **vnet-1** from the previous steps to set up t
843
843
| Peering link name |**vnet-1-to-vnet-2**|
844
844
| Virtual network deployment model |**Resource Manager**|
845
845
| I know my resource ID |**Select the box**|
846
-
| Resource ID |**Enter the Resource ID for vnet-2**|
846
+
| Resource ID |**Enter the Resource ID for vnet-1**|
847
847
| Directory | Select the Microsoft Entra ID directory that corresponds with **vnet-1** and **user-1**|
848
848
|**Remote virtual network peering settings**||
849
849
| Allow 'the peered virtual network' to access 'vnet-1' | Leave the default of **Enabled**|
@@ -855,7 +855,6 @@ You need the **Resource IDs** for **vnet-1** from the previous steps to set up t
855
855
| Allow 'vnet-1' to receive forwarded traffic from 'the peered virtual network' |**Select the box**|
856
856
857
857
1. Select **Add**.
858
-
859
858
860
859
1. In the pull-down box, select the **Directory** that corresponds with **vnet-1** and **user-1**.
0 commit comments