Skip to content

Commit 7718ed2

Browse files
committed
SEO improvments, fixed markdown, acrolinx
1 parent 6df6c23 commit 7718ed2

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

articles/virtual-network/create-peering-different-subscriptions.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
---
2-
title: Create a virtual network peering between different subscriptions
2+
title: Create Virtual Network Peering Between Different Subscriptions
33
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.
55
author: asudbring
66
ms.author: allensu
77
ms.service: azure-virtual-network
88
ms.topic: how-to
9-
ms.date: 07/01/2024
9+
ms.date: 07/29/2025
1010
ms.custom: template-how-to, FY23 content-maintenance, devx-track-azurepowershell, devx-track-azurecli
1111
# 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."
1212
---
1313

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
1515

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).
1717

1818
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).
1919

2020
Learn how to create a virtual network peering in other scenarios by selecting the scenario from the following table:
2121

22-
|Azure deployment model | Azure subscription |
23-
|--------- |---------|
24-
|[Both Resource Manager](tutorial-connect-virtual-networks-portal.md) |Same|
25-
|[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|
22+
| Azure deployment model | Azure subscription |
23+
| --------- | --------- |
24+
| [Both Resource Manager](tutorial-connect-virtual-networks-portal.md) | Same |
25+
| [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 |
2727

2828
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.
2929

@@ -103,7 +103,7 @@ The following resources and account examples are used in the steps in this artic
103103
## Create virtual network - vnet-1
104104

105105
> [!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.
107107
108108
# [**Portal**](#tab/create-peering-portal)
109109

@@ -378,7 +378,7 @@ In this section, you sign in as **user-2** and create a virtual network for the
378378
Create a second virtual network with the following values by repeating the steps in the [previous section](#create-virtual-network).
379379

380380
| Setting | Value |
381-
| --- | --- |
381+
| ------- | ----- |
382382
| Subscription | **subscription-2** |
383383
| Resource group | **test-rg-2** |
384384
| Name | **vnet-2** |
@@ -454,7 +454,7 @@ $virtualNetwork | Set-AzVirtualNetwork
454454

455455
### Sign in to subscription-2
456456

457-
Use [az sign-in](/cli/azure/reference-index#az-login) to sign in to **subscription-1**.
457+
Use [az sign-in](/cli/azure/reference-index#az-login) to sign in to **subscription-2**.
458458

459459
```azurecli-interactive
460460
az login
@@ -526,7 +526,7 @@ A user account in the other subscription that you want to peer with must be adde
526526

527527
# [**PowerShell**](#tab/create-peering-powershell)
528528

529-
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).
530530

531531
Use [Get-AzADUser](/powershell/module/az.resources/get-azaduser) to obtain the object ID for **user-1**.
532532

@@ -843,7 +843,7 @@ You need the **Resource IDs** for **vnet-1** from the previous steps to set up t
843843
| Peering link name | **vnet-1-to-vnet-2** |
844844
| Virtual network deployment model | **Resource Manager** |
845845
| 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** |
847847
| Directory | Select the Microsoft Entra ID directory that corresponds with **vnet-1** and **user-1** |
848848
| **Remote virtual network peering settings** | |
849849
| 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
855855
| Allow 'vnet-1' to receive forwarded traffic from 'the peered virtual network' | **Select the box** |
856856

857857
1. Select **Add**.
858-
859858

860859
1. In the pull-down box, select the **Directory** that corresponds with **vnet-1** and **user-1**.
861860

0 commit comments

Comments
 (0)