Skip to content

Cannot create Windows Container on ASEV3 #22332

@sapalan

Description

@sapalan

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

Related command
"az appservice plan create --name "WindowsASEContainer" --resource-group sapalan --app-service-environment spASEVEILB --hyper-v --sku I2"

Describe the bug
Attempting to create Windows Container App Service Plan under "ASE" v3.
However the command fails with error "Windows containers is not yet supported in app service environment"

From the source code, i could see that if app service environment flag is set with hyper-v switch it is directly throwing the error.

"client = web_client_factory(cmd.cli_ctx)
if app_service_environment:
if hyper_v:
raise ArgumentUsageError('Windows containers is not yet supported in app service environment')"

To Reproduce

  1. Try creating a Windows Container Plan with -app-service-environment switch
    Eg: "az appservice plan create --name <> --resource-group <> --app-service-environment spASEVEILB --hyper-v --sku I2"

Expected behavior
It should create an Windows Container plan in the ASE. As per this article, ASEV3 supports Windows Container
https://azure.microsoft.com/en-us/updates/azure-app-service-environment-v3-support-for-windows-containers-is-now-generally-available/

Environment summary

  • Tried from Shell in the portal which uses az version 2.36.0 as well from the command prompt which was using 2.26.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions