Skip to content

Commit d72e479

Browse files
authored
Merge pull request #227132 from madsd/vnetnote
resource provider note and acrolinx updates
2 parents 4839cae + e234ac1 commit d72e479

File tree

2 files changed

+22
-25
lines changed

2 files changed

+22
-25
lines changed

articles/app-service/configure-vnet-integration-enable.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,24 @@ keywords: vnet integration
55
author: madsd
66
ms.author: madsd
77
ms.topic: how-to
8-
ms.date: 10/20/2021
8+
ms.date: 02/13/2023
99
ms.tool: azure-cli, azure-powershell
1010
---
1111

1212
# Enable virtual network integration in Azure App Service
1313

14-
Through integrating with an Azure virtual network (VNet) from your [Azure App Service app](./overview.md), you can reach private resources from your app within the virtual network. The VNet integration feature has two variations:
15-
16-
* **Regional virtual network integration**: Connect to Azure virtual networks in the same region. You must have a dedicated subnet in the virtual network you're integrating with.
17-
* **Gateway-required virtual network integration**: When you connect directly to a virtual network in other regions or to a classic virtual network in the same region, you must use gateway-required virtual network integration.
18-
19-
This article describes how to set up regional virtual network integration.
14+
Through integrating with an Azure virtual network from your [Azure App Service app](./overview.md), you can reach private resources from your app within the virtual network.
2015

2116
## Prerequisites
2217

23-
The VNet integration feature requires:
18+
The virtual network integration feature requires:
2419

2520
- An App Service pricing tier [that supports virtual network integration](./overview-vnet-integration.md).
2621
- A virtual network in the same region with an empty subnet.
2722

28-
The subnet must be delegated to Microsoft.Web/serverFarms. If the delegation isn't done before integration, the provisioning process will configure this delegation. The subnet must be allocated an IPv4 `/28` block (16 addresses). We recommend that you have a minimum of 64 addresses (IPv4 `/26` block) to allow for maximum horizontal scale.
23+
The subnet must be delegated to Microsoft.Web/serverFarms. If the delegation isn't done before integration, the provisioning process configures this delegation. The subnet must be allocated an IPv4 `/28` block (16 addresses). We recommend that you have a minimum of 64 addresses (IPv4 `/26` block) to allow for maximum horizontal scale.
24+
25+
If the virtual network is in a different subscription than the app, you must ensure that the subscription with the virtual network is registered for the `Microsoft.Web` resource provider. You can explicitly register the provider [by following this documentation](../azure-resource-manager/management/resource-providers-and-types.md#register-resource-provider), but it's automatically registered when creating the first web app in a subscription.
2926

3027
## Configure in the Azure portal
3128

@@ -39,7 +36,7 @@ The subnet must be delegated to Microsoft.Web/serverFarms. If the delegation isn
3936

4037
:::image type="content" source="./media/configure-vnet-integration-enable/vnetint-add-vnet.png" alt-text="Screenshot that shows selecting the virtual network.":::
4138

42-
During the integration, your app is restarted. When integration is finished, you'll see details on the virtual network you're integrated with.
39+
During the integration, your app is restarted. When integration is finished, you see details on the virtual network you're integrated with.
4340

4441
## Configure with the Azure CLI
4542

@@ -50,7 +47,7 @@ az webapp vnet-integration add --resource-group <group-name> --name <app-name> -
5047
```
5148

5249
> [!NOTE]
53-
> The command checks if the subnet is delegated to Microsoft.Web/serverFarms and applies the necessary delegation if it isn't configured. If the subnet was configured, and you don't have permissions to check it, or if the virtual network is in another subscription, you can use the *--skip-delegation-check* parameter to bypass the validation.
50+
> The command checks if the subnet is delegated to Microsoft.Web/serverFarms and applies the necessary delegation if it isn't configured. If the subnet was configured, and you don't have permissions to check it, or if the virtual network is in another subscription, you can use the `--skip-delegation-check` parameter to bypass the validation.
5451
5552
## Configure with Azure PowerShell
5653

@@ -83,7 +80,7 @@ $subnet = Add-AzDelegation -Name "myDelegation" -ServiceName "Microsoft.Web/serv
8380
Set-AzVirtualNetwork -VirtualNetwork $vnet
8481
```
8582

86-
Configure VNet Integration.
83+
Configure virtual network integration.
8784

8885
> [!NOTE]
8986
> If the webapp is in another subscription than virtual network, you can use the *Set-AzContext -Subscription "xxxx-xxxx-xxxx-xxxx"* command to set the current subscription context. Set the current subscription context to the subscription where the web app was deployed.

0 commit comments

Comments
 (0)