Skip to content

Octopus CLI 'deployment-target azure-web-app create' Command Does Not Respect Passed in Worker Pool #10012

@briggs-octo

Description

@briggs-octo

Severity

1 report

Version

CLI version 2.20.1, Octopus Server Version 2026.2.9314

Latest Version

None

What happened?

When running the Octopus CLI command octopus deployment-target azure-web-app and supplying a custom worker pool via the --worker-pool argument, the worker pool value is ignored, and the default worker pool is set on the target instead.

Reproduction

  1. Create an Azure Web App
  2. Create/configure an Azure account in Octopus Deploy
  3. Configure the Octopus CLI
  4. Create an Azure web app deployment target via the CLI, while also supplying a custom worker pool via the --worker-pool argument.
  5. Note that the target created in Octopus Deploy is using the default worker pool, despite passing a custom value for this.

Example command to run for step 4:

octopus deployment-target azure-web-app create --name azure-web-app/testing --worker-pool Test --environment Environments-1365 --role testservice --account Azure-Acct --web-app br-test --resource-group br-rg --tenanted-mode 'Untenanted'

Error and Stacktrace

Image

More Information

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThis issue represents a verified problem we are committed to solving

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions