Creating a new Container App resource cannot select a subnet of the Virtual Network

fifty gabor 40 Reputation points
2024-07-09T14:48:00.5233333+00:00

hi,

I am learning by doing the following applied skill: https://learn.microsoft.com/en-us/training/modules/deploy-manage-container-app-using-azure-container-apps/4-exercise-create-configure-container-app-azure-container-apps

I am stuck at step 7 of "Create a container app that uses an ACR image" section:

On the Create Container Apps Environment page, select the Networking tab, and then specify the following:

  • Use your own virtual network: Select Yes.
  • Virtual network: Select VNET1.
  • Infrastructure subnet: ACASubnet.

the problem is that I cannot see any subnet in the list, even if I update the address range to 10.0.2.0/23 as suggested in the note.

anyone could help me out?

thanks!

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
449 questions
0 comments No comments
{count} votes

Accepted answer
  1. Luke Murray 11,091 Reputation points MVP
    2024-07-11T06:32:59.8+00:00

    It seems the Portal Interface might be bugged.

    Go into the Virtual Network and Delete the ACASubnet

    Then open a CloudShell and run:

    az network vnet subnet create --resource-group RG1  --vnet-name VNET1  --name ACASubnet  --address-prefix '10.0.4.0/23'
    
    
    

    Once the subnet has been created using the CLI

    User's image

    You should be able to select the Subnet in the VNET:

    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.