update_workflow
Replace an existing Azure Logic App workflow's definition with a new JSON definition. Supports both Consumption and Standard SKUs, including API connection wiring.
Instructions
Update an existing workflow's definition. Replaces the entire definition with the new one. For Standard SKU, workflowName is required. Use get_workflow_definition first to get the current definition, modify it, then update. IMPORTANT: When adding connector actions, use get_connector_swagger to discover correct action paths and schemas. For Consumption SKU with connector actions, use the 'connections' parameter to wire up API connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionId | Yes | Azure subscription ID | |
| resourceGroupName | Yes | Resource group name | |
| logicAppName | Yes | Logic App resource name | |
| definition | Yes | The new workflow definition JSON following the Logic Apps schema | |
| workflowName | No | Workflow name (required for Standard SKU) | |
| kind | No | Workflow kind for Standard SKU (default: 'Stateful') | |
| connections | No | API connection references for Consumption SKU. Object mapping connection names used in the definition to their connection details. Example: {"office365": {"connectionName": "office365-test", "id": "/subscriptions/.../providers/Microsoft.Web/locations/.../managedApis/office365"}} |