|
1 | 1 | --- |
2 | | -title: Troubleshoot ApplicationGatewaySkuNotSpecified Error Code |
3 | | -description: Learn how to resolve ApplicationGatewaySkuNotSpecified error when you try to create or modify Azure Application Gateway. |
| 2 | +title: Troubleshoot ApplicationGatewaySkuNotSpecified error code |
| 3 | +description: This article discusses how to resolve the ApplicationGatewaySkuNotSpecified error when you try to create or modify an application gateway. |
4 | 4 | ms.date: 01/22/2026 |
5 | | -editor: giverm |
6 | | -ms.reviewer: rimayber |
| 5 | +ms.editor: v-gsitser |
| 6 | +ms.reviewer: rimayber, giverm, v-ryanberg |
7 | 7 | ms.service: azure-application-gateway |
8 | 8 | ms.custom: sap:Issues with Create, Update and Delete (CRUD) |
9 | 9 | #Customer intent: As an Azure Application Gateway user, I want to troubleshoot an Application Gateway create or modify operation that failed because of ApplicationGatewaySkuNotSpecified error so that I can perform the operation successfully. |
10 | 10 | --- |
11 | 11 |
|
12 | | -# Troubleshoot ApplicationGatewaySkuNotSpecified Error |
| 12 | +# Troubleshoot ApplicationGatewaySkuNotSpecified error |
13 | 13 |
|
14 | | -## Symptom: |
15 | | -Application Gateway cannot be created or updated because the SKU (size) for the gateway has not been specified resulting in error `ApplicationGatewaySkuNotSpecified` |
| 14 | +## Summary |
16 | 15 |
|
17 | | -## Cause: |
18 | | -The **SKU** (Standard or WAF) for the Application Gateway was not provided during the creation or configuration process. |
| 16 | +This article discusses how to resolve the `ApplicationGatewaySkuNotSpecified` error when you try to create or modify an application gateway in Microsoft Azure Application Gateway. An application gateway can't be created or updated because the SKU size isn't specified. |
19 | 17 |
|
20 | | -## Resolution: |
21 | | -1. **Verify SKU Settings:** |
22 | | - - Ensure that the correct SKU is specified when creating or configuring the Application Gateway. |
23 | | - - For example, use `Standard_v2` or `WAF_v2` for newer SKU types. |
24 | | - - Example configuration: |
25 | | - ```json |
26 | | - "sku": { |
27 | | - "name": "Standard_v2", |
28 | | - "tier": "Standard" |
29 | | - } |
30 | | - ``` |
| 18 | +## Symptoms |
31 | 19 |
|
32 | | -2. **Update Application Gateway Configuration:** |
33 | | - - If modifying an existing Application Gateway, update the SKU settings using the Azure Portal, CLI, or ARM template. |
| 20 | +When you try to create or modify an application gateway, you receive an `ApplicationGatewaySkuNotSpecified` error that prevents you from proceeding. |
34 | 21 |
|
35 | | -3. **Check ARM Template/CLI Command:** |
36 | | - - If using an ARM template or Azure CLI, ensure that the `sku` section is included correctly. |
37 | | - - For CLI: |
38 | | - ```bash |
39 | | - az network application-gateway create --name <gateway_name> --resource-group <resource_group> --sku Standard_v2 --public-ip-address <public_ip> |
40 | | - ``` |
| 22 | +## Cause |
41 | 23 |
|
42 | | -4. **Re-deploy or Retry Creation:** |
43 | | - - After specifying the SKU, retry creating or updating the Application Gateway. |
| 24 | +This error occurs if the SKU (Standard or Web Application Firewall (WAF)) for the application gateway isn't specified during the creation or configuration process. |
44 | 25 |
|
45 | | ---- |
| 26 | +## Resolution |
| 27 | + |
| 28 | +To resolve this problem, follow these steps: |
| 29 | + |
| 30 | +1. **Verify the SKU settings** |
| 31 | + |
| 32 | +Make sure that the correct SKU is specified when you create or configure the application gateway. For example, use `Standard_v2` or `WAF_v2` for newer SKU types. The following code shows an example configuration: |
| 33 | + |
| 34 | +```json |
| 35 | + |
| 36 | +"sku": { |
| 37 | +"name": "Standard_v2", |
| 38 | +"tier": "Standard" |
| 39 | +} |
| 40 | + |
| 41 | +``` |
| 42 | + |
| 43 | +2. **Update the application gateway configuration** |
| 44 | + |
| 45 | +If you're modifying an existing application gateway, update the SKU settings by using [the Azure portal](https://portal.azure.com), Azure CLI, or an Azure Rights Management (Azure RMS) template. |
| 46 | + |
| 47 | +3. **Check Azure RMS or Azure CLI command** |
| 48 | + |
| 49 | +If you're using an Azure RMS template or Azure CLI, make sure that the `sku` section is included correctly. For Azure CLI: |
| 50 | + |
| 51 | +```azurecli |
| 52 | +
|
| 53 | +az network application-gateway create --name <gateway_name> --resource-group <resource_group> --sku Standard_v2 --public-ip-address <public_ip> |
| 54 | +
|
| 55 | +``` |
| 56 | + |
| 57 | +4. **Redeploy or re-create** |
| 58 | + |
| 59 | +After you specify the SKU, try again to deploy or create the application gateway. |
| 60 | + |
| 61 | +### Resources |
46 | 62 |
|
47 | | -### More Information: |
48 | 63 | [Application Gateway SKU Types](https://github.com/MicrosoftDocs/azure-docs/blob/cca93efa4de263ed8b6d308183e77a975763ce91/articles/application-gateway/overview-v2.md) |
0 commit comments