Skip to content

"az logic workflow update" removes API connection #20807

@sjuratov

Description

@sjuratov

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

Describe the bug
I deploy Logic App using Bicep template and "az deployment group create". Logic App gets deployed as Disabled (this is intentional). So far so good. In one of subsequent commands I run "az logic workflow update --state Enabled". This runs successfully, enables Logic App (good) but it also removes API connection (bad).

Note: If I create Logic App per above but then manually (in Azure Portal) enable it, all is good - API connection does not get deleted.

Probably not relevant, API connection is to Azure SQL Database and it's part of Bicep template.

To Reproduce
See bug description for repro.

Expected behavior
API connection should not be removed.

Environment summary
Windows 10 with following az version
azure-cli 2.31.0

core 2.31.0
telemetry 1.0.6

Extensions:
azure-cli-ml 1.37.0
azure-iot 0.11.0
logic 0.1.4

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions