question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Isolated v2 (I4v2, I5v2, I6v2) Azure App Service Plan Tiers Not Supported in CLI

See original GitHub issue

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

az appservice list-locations --sku I5v2

az appservice plan update --name PLAN_NAME -g PLAN_RG --sku "I4v2"

Describe the bug

I was taking a look at the new Isolated v2 SKUs announced on the appservice blog and tried to use CLI appservice commands like list-locations and update with the new SKUs (I4v2, I5v2, I6v2) but they appear to not work with the CLI even though they’re referenced in the blog as being available with the latest CLI 2.43.0 and are referenced throughout the help documentation

Screen Shot 2022-12-09 at 3 38 55 PM

To Reproduce

  1. Verify CLI is on version 2.43.0 with az version
  2. Perform az appservice list-locations --sku I5v2
  3. See CLI returns error "Invalid sku(pricing tier), please refer to command help for valid values " when SKUs I(4-6)v2 are passed in
  4. If testing update/create, provision an ASEv3 in North Central US & provision a plan on it.
  5. Perform an update az appservice plan update --name PLAN_NAME -g PLAN_RG --sku "I4v2"
  6. See CLI returns error “Invalid sku(pricing tier), please refer to command help for valid values”

Expected behavior

Expected that the CLI existing behaviors (list-locations, update) work with the newly added Azure App Service SKUs I4v2, I5v2, I6v2.

Environment summary

  • CLI Version: 2.43.0
  • OS Version: Mac OS Monterey 12.6
  • Shell Type: fish

Additional context

These tiers were released recently and the other older tiers in the Isolatedv2 family appear to work with the CLI.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
madsdcommented, Dec 13, 2022

Hi,

we are building out special geoRegion API for ASE to allow returning only the regions in which the SKU exists. It will take a few cycles before it is ready to use from the CLI.

0reactions
adchungcsccommented, Dec 12, 2022

@navba-MSFT

On a separate note, is this the correct usage of the geo regions API? It looks like you can only pass the app service family name for the sku parameter with a predetermined SkuName item ie “PremumV3” or “IsolatedV2” and you cannot pass in the tier name ie I5v2 based on the docs.

https://learn.microsoft.com/en-us/rest/api/appservice/list-geo-regions/list-geo-regions#skuname

This is also related to that endpoint. The new tiers in Isolated v2 (I4-6 v2) are in the Isolated v2 family but are only in two regions compared to the other members of the family which are available in many more. Would this mean that for example, the API would say that I4v2 is available in a region I2v2 is available in since the API appears to be considering family and not tier?

I also saw that this API call is returning back quite a few regions even though I expect it to only return the two preview regions (North Central US & West Central US). The endpoint seems to also return all regions when passing in invalid skunames like random strings.

az rest --url "https://management.azure.com/subscriptions/XXX-XXX/providers/Microsoft.Web/geoRegions?api-version=2022-03-01&sku=RANDOMSTRING"

Read more comments on GitHub >

github_iconTop Results From Across the Web

az appservice plan | Microsoft Learn
Get the app service plans for a resource group or a set of resource groups. ... I4v2 (Isolated V2 I4v2), I5v2 (Isolated V2...
Read more >
az appservice - Microsoft Learn
List app service plans associated with an app service environment. ... V2 Large), I4v2 (Isolated V2 I4v2), I5v2 (Isolated V2 I5v2), I6v2 (Isolated...
Read more >
App Service Pricing | Microsoft Azure
Free and Shared (preview) Azure App Service plans provide different options to test your apps within your budget. See pricing details.
Read more >
az webapp | Microsoft Learn
create a WebApp using shared App Service Plan that is in a different resource group. Azure CLI Copy. Try It.
Read more >
Migrate Azure App Service to availability zone support
For App Services that are configured to be zone redundant, the platform automatically spreads the VM instances in the App Service plan across ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found