Skip to content

Commit 7147be5

Browse files
author
Michael Bender
committed
fix sensitive IDs
1 parent b04503f commit 7147be5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/virtual-network-manager/how-to-configure-cross-tenant-cli.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: mbender-ms
55
ms.author: mbender
66
ms.service: azure-virtual-network-manager
77
ms.topic: how-to
8-
ms.date: 03/22/2024
8+
ms.date: 10/15/2024
99
ms.custom: template-how-to, devx-track-azurecli
1010
# Customer intent: As a cloud admin, I need to manage multiple tenants from a single network manager so that I can easily manage all network resources governed by Azure Virtual Network Manager.
1111
---
@@ -36,7 +36,7 @@ In this task, you set up a scope connection to add a subscription from a target
3636

3737
```azurecli
3838
# Create a scope connection in the network manager in the central management tenant
39-
az network manager scope-connection create --resource-group "myRG" --network-manager-name "myAVNM" --name "ToTargetManagedTenant" --description "This is a connection to manage resources in the target managed tenant" --resource-id "/subscriptions/13579864-1234-5678-abcd-0987654321ab" --tenant-id "24680975-1234-abcd-56fg-121314ab5643"
39+
az network manager scope-connection create --resource-group "myRG" --network-manager-name "myAVNM" --name "ToTargetManagedTenant" --description "This is a connection to manage resources in the target managed tenant" --resource-id "/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" --tenant-id "aaaabbbb-0000-cccc-1111-dddd2222eeee"
4040
```
4141

4242
## Create a network manager connection on a subscription in another tenant
@@ -49,7 +49,7 @@ After you create the scope connection, you switch to your target tenant for the
4949
5050
# Log in to the target managed tenant
5151
# Change the --tenant value to the appropriate tenant ID
52-
az login --tenant "12345678-12a3-4abc-5cde-678909876543"
52+
az login --tenant "aaaabbbb-0000-cccc-1111-dddd2222eeee"
5353
```
5454

5555
You're required to complete authentication with your organization, based on your organization's policies.
@@ -58,11 +58,11 @@ After you create the scope connection, you switch to your target tenant for the
5858

5959
```azurecli
6060
# Set the Azure subscription
61-
az account set --subscription 87654321-abcd-1234-1def-0987654321ab
61+
az account set --subscription aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e
6262
6363
6464
# Create a cross-tenant connection to the central management tenant
65-
az network manager connection subscription create --connection-name "toCentralManagementTenant" --description "This connection allows management of the tenant by a central management tenant" --network-manager-id "/subscriptions/13579864-1234-5678-abcd-0987654321ab/resourceGroups/myRG/providers/Microsoft.Network/networkManagers/myAVNM"
65+
az network manager connection subscription create --connection-name "toCentralManagementTenant" --description "This connection allows management of the tenant by a central management tenant" --network-manager-id "/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myRG/providers/Microsoft.Network/networkManagers/myAVNM"
6666
```
6767
6868
## Verify the connection status
@@ -87,7 +87,7 @@ In this task, you add a cross-tenant virtual network to your network group by us
8787
8888
```azurecli
8989
# Create a network group with a static member from the target managed tenant
90-
az network manager group static-member create --network-group-name "CrossTenantNetworkGroup" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --static-member-name "targetVnet01" --resource-id="/subscriptions/87654321-abcd-1234-1def-0987654321ab
90+
az network manager group static-member create --network-group-name "CrossTenantNetworkGroup" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --static-member-name "targetVnet01" --resource-id="/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e
9191
/resourceGroups/myScopeAVNM/providers/Microsoft.Network/virtualNetworks/targetVnet01"
9292
```
9393
## Delete network manager configurations

0 commit comments

Comments
 (0)