az logic workflow create cmd does not pass in the parameters from the workflowdefinition.json Definition File #27982
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Logic App
az logic
Service Attention
This issue is responsible by Azure service team.
Milestone
Describe the bug
Description
When attempting to pass in parameters from a workflowdefinition.json Definition File to the
az logic workflow create
command, the parameters are not applied to the Logic App.When these parameters are not applied, any associated API Connection(s) in the Logic App do not appear which causes any Logic App task that depends on these associations to fail.
The error that will typically appear in the Azure Portal in the Logic app designer view is
Connector not found
.Additional Notes
The issue describe above appears to be related to the existing issue: #22071
Related command
The commands below require the use of
azure-cli logic
extension. From the troubleshooting I've already done, it appears the root cause maybe in the extension.Errors
No Error messaging or failures are returned.
Issue script & Debug output
Debug output has been added under the Environment Summary.
Expected behavior
The parameters that are passed in from the workflowdefinition.json Definition File should be applied to the target Logic App.
An example of the parameters being passed in are shown below:
When these parameters are passed in as part of the workflowdefinition.json Definition File, they should appear in the targeted Logic App in the Azure Portal under the Development Tools Blade in the Logic App code review section.
Environment Summary
This issue occurs when using
azure-cli
version2.54.0
or higher and extensionlogic
version1.0.0
.When this
az logic workflow create
command is ran with the--debug
switch, the parameters in the Definition File never make it to theRequest body
of the API Call.Additional context
This issue does not occur when using
azure-cli
version2.53.0
and extensionlogic
version0.1.7
.The parameters that are passed in as part of the workflowdefinition.json Definition File, appear as intended in the targeted Logic App in the Azure Portal under the Development Tools Blade in the Logic App code review section.
The text was updated successfully, but these errors were encountered: