problem creating azure web app resource after activating sandbox for training module

Dan Jaap 20 Reputation points
2024-01-20T02:56:54.31+00:00

hi, i am trying to follow the instructions for unit 3 of the following module:
https://learn.microsoft.com/en-us/training/modules/host-a-web-app-with-azure-app-service/ I activated the sandbox and then followed the subsequent instructions on the screen which tells to create a new azure web app resource in the azure portal. however it will not let me create the resource. Can someone give any suggestions? it gives the following error. i have tried with regions "East US" (which is what the instructions says to use) as well as "East US2"...neither worked...the error below was generated after using "East US".:

{
  "deploymentStatusCode": -1,
  "stage": 6,
  "expected": true,
  "error": {
    "code": "InvalidTemplateDeployment",
    "details": [
      {
        "code": "ValidationForResourceFailed",
        "message": "Validation failed for a resource. Check 'Error.Details[0]' for more information.",
        "details": [
          {
            "code": "FreeLinuxAtRegionalCapacityForSubscription",
            "message": "This subscription has reached the limit of 1 Free Linux app service plan(s) it can create in this region. Please choose a different sku or region."
          }
        ]
      }
    ],
    "message": "The template deployment 'Microsoft.Web-WebApp-Portal-c5505a12-8820' is not valid according to the validation procedure. The tracking id is '72c79002-3a6b-4d14-896c-dde40913e79f'. See inner errors for details."
  },
  "subscriptionId": "89cec965-ade4-4ffb-923f-048ad2128518",
  "resourceGroupName": "learn-c2ecd4fa-4fa7-4756-82c5-9e33b7549d2b",
  "location": "westus",
  "deploymentName": "Microsoft.Web-WebApp-Portal-c5505a12-8820",
  "details": {
    "code": "InvalidTemplateDeployment",
    "message": "The template deployment 'Microsoft.Web-WebApp-Portal-c5505a12-8820' is not valid according to the validation procedure. The tracking id is '72c79002-3a6b-4d14-896c-dde40913e79f'. See inner errors for details.",
    "details": [
      {
        "code": "ValidationForResourceFailed",
        "message": "Validation failed for a resource. Check 'Error.Details[0]' for more information.",
        "details": [
          {
            "code": "FreeLinuxAtRegionalCapacityForSubscription",
            "message": "This subscription has reached the limit of 1 Free Linux app service plan(s) it can create in this region. Please choose a different sku or region."
          }
        ]
      }
    ]
  },
  "notificationTimestamp": "2024-01-20T02:50:59.114Z"
}
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
2,021 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 102.4K Reputation points
    2024-01-20T03:10:42.5833333+00:00

    UPDATE: Dan was able to workaround the issue by using Azure Free trial account to complete the exercise. Multiple attempts to use sandbox failed due to it thinking quota limit had been reached, when it had not.

    Hi Dan,

    I just tested the exercise using the sandbox and it worked fine for me in East US. Please check if there is an existing App Service Plan. In the portal, navigate to App Service plans using link below:

    https://portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.Web%2FserverFarms

    Are there any plans showing in the list?

    Thanks.

    -TP


3 additional answers

Sort by: Most helpful
  1. Q&A Assist
    2024-01-20T02:56:54.3133333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message you received indicates that you have reached the limit of 1 Free Linux app service plan(s) that you can create in the West US region. You can either choose a different SKU or region. Try selecting a different region or changing the SKU to a paid tier.


    References:


  2. Abdul 2,640 Reputation points Microsoft Vendor
    2024-01-20T11:51:42.71+00:00

    Hi Dan Jaap, Thank you for reaching out to us on the Microsoft Q&A forum. We see that you are facing an issue with creating Azure Web App. We request you to please follow the learning path link: Exercise - Create a web app in the Azure portal - Training | Microsoft Learn

    We have tried lab sessions since our end and are able to do lab sessions successfully. Please refer to the screenshot below for your reference. User's image Note: At Linux plan, please change it to (F1) by using dropdown as you can see in the screenshot below for your reference.

    User's image kindly follow the remaining steps as per the documentation.

    If the information is helpful, please accept the answer by clicking the "Accept Answer" on the post. If you are still facing any issue, please let us know in the comments. We are happy to help you. Thank you.


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.