Unable to use an existing subnet while configuring VNET Integration

Swathi Bora 0 Reputation points Microsoft Employee
2024-03-05T09:29:40.75+00:00

Hello Team,

My client is facing issue in one environment where we are unable to configure VNET integration using existing subnet. I am able to repro this in my internal subscription as well. However, he is able to perform the same in a different environment where existing VNET and subnet are showing under App service plan connections. Could you help me to understand the difference in the viewsVNET

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Lee 160 Reputation points Microsoft Employee
    2024-03-05T23:12:50.9266667+00:00

    Hi,

    I would check if you have enough permissions to the Vnets.

    Follow these steps to check permission:

    • Login to Web portal
    • Go to the VNet > Access control (IAM) > View my access.

    You need at least the following permissions to the Vnet:

    https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#permissions

    Action Description
    Microsoft.Network/virtualNetworks/read Read the virtual network definition
    Microsoft.Network/virtualNetworks/read Read the virtual network definition
    Microsoft.Network/virtualNetworks/subnets/read Read a virtual network subnet definition
    Microsoft.Network/virtualNetworks/subnets/join/action Joins a virtual network

    Regards,


  2. brtrach-MSFT 17,731 Reputation points Microsoft Employee Moderator
    2024-03-12T04:20:57.3666667+00:00

    @Swathi Bora Thank you for the update.

    Can you check to ensure that:

    1. The subnet is using an IPv4 /28 block or larger?
    2. Note that the subnet can only be used by a single App Service Plan
    3. No IPv6 address spaces can be defined
    4. No service endpoint policies can be enabled

    Let us know the outcome of checking on the above limitations. We look forward to your reply.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.