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-service-principal.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,19 +260,19 @@ An administrator in the **subscription-1** Microsoft Entra ID tenant must approv
260
260
261
261
1. Open the URL in a web browser and sign-in with an administrator in the Microsoft Entra ID tenant in **subscription-1**.
262
262
263
-
1. Approve the application **spn-2-vnet-peer**. The microsoft.com homepage displays if the authentication was successful.
263
+
1. Approve the application **spn-2-peer-vnet**. The microsoft.com homepage displays if the authentication was successful.
264
264
265
265
### Assign spn-2-peer-vnet to vnet-1
266
266
267
-
After the administrator approves **spn-2-vnet-peer**, add it to the virtual network **vnet-1** as a **Network Contributor**.
267
+
After the administrator approves **spn-2-peer-vnet**, add it to the virtual network **vnet-1** as a **Network Contributor**.
268
268
269
269
1. Use [az login](/cli/azure/reference-index#az-login) to sign-in to **subscription-1**.
270
270
271
271
```azurecli
272
272
az login
273
273
```
274
274
275
-
1. Use [az ad sp list](/cli/azure/ad/sp#az-ad-sp-list) to find the appId for **spn-2-vnet-peer** and place in a variable for later use.
275
+
1. Use [az ad sp list](/cli/azure/ad/sp#az-ad-sp-list) to find the appId for **spn-2-peer-vnet** and place in a variable for later use.
276
276
277
277
```azurecli
278
278
appid2=$(az ad sp list \
@@ -299,9 +299,9 @@ After the administrator approves **spn-2-vnet-peer**, add it to the virtual netw
299
299
--scope $vnetid
300
300
```
301
301
302
-
## Register spn-1-vnet-peer in subscription-2 and assign permissions to vnet-2
302
+
## Register spn-1-peer-vnet in subscription-2 and assign permissions to vnet-2
303
303
304
-
A user account with administrator permissions in the Microsoft Entra ID tenant must complete the process of adding **spn-1-vnet-peer** to **subscription-2**. Once completed, **spn-1-vnet-peer** can be assigned permissions to **vnet-2**.
304
+
A user account with administrator permissions in the Microsoft Entra ID tenant must complete the process of adding **spn-1-peer-vnet** to **subscription-2**. Once completed, **spn-1-peer-vnet** can be assigned permissions to **vnet-2**.
305
305
306
306
### Register spn-1-peer-vnet app in subscription-2
307
307
@@ -337,19 +337,19 @@ An administrator in the **subscription-2** Microsoft Entra ID tenant must approv
337
337
338
338
1. Open the URL in a web browser and sign-in with an administrator in the Microsoft Entra ID tenant in **subscription-2**.
339
339
340
-
1. Approve the application **spn-1-vnet-peer**. The microsoft.com homepage displays if the authentication was successful.
340
+
1. Approve the application **spn-1-peer-vnet**. The microsoft.com homepage displays if the authentication was successful.
341
341
342
342
### Assign spn-1-peer-vnet to vnet-2
343
343
344
-
Once the administrator approves **spn-1-vnet-peer**, add it to the virtual network **vnet-2** as a **Network Contributor**.
344
+
Once the administrator approves **spn-1-peer-vnet**, add it to the virtual network **vnet-2** as a **Network Contributor**.
345
345
346
346
1. Use [az login](/cli/azure/reference-index#az-login) to sign-in to **subscription-2**.
347
347
348
348
```azurecli
349
349
az login
350
350
```
351
351
352
-
1. Use [az ad sp list](/cli/azure/ad/sp#az-ad-sp-list) to find the appId for **spn-1-vnet-peer** and place in a variable for later use.
352
+
1. Use [az ad sp list](/cli/azure/ad/sp#az-ad-sp-list) to find the appId for **spn-1-peer-vnet** and place in a variable for later use.
0 commit comments