Logic Apps Standard project structure, workflow.json schema, host.json, connections.json, parameters.json conventions. Use when generating, validating, or reviewing Logic Apps output artifacts.
Use Microsoft Learn MCP (microsoft_docs_search / microsoft_docs_fetch) to validate Logic Apps Standard schema details, connector configurations, and workflow definition syntax. Search for "Logic Apps Standard workflow definition" or specific action/trigger types.
A valid Logic Apps Standard project has this structure:
<project-root>/
├── host.json
├── connections.json
├── parameters.json
├── .env
└── workflows/
└── <workflow-name>/
└── workflow.json
Configures the Logic Apps runtime. Minimal example:
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"version": "[1.*, 2.0.0)"
}
}
Defines connector connections. For built-in connectors with managed identity:
{
"managedApiConnections": {},
"serviceProviderConnections": {
"<connection-name>": {
"parameterValues": {
"authProvider": {
"Type": "ManagedServiceIdentity"
}
},
"serviceProvider": {
"id": "/serviceProviders/<provider>"
},
"displayName": "<display>"
}
}
}
Externalized parameters referenced in workflows:
{
"<param-name>": {
"type": "String",
"value": "<value-or-appsetting-reference>"
}
}
Environment variables for local development. Must contain only placeholders/mock values — no real secrets.
WORKFLOWS_SUBSCRIPTION_ID=00000000-0000-0000-0000-000000000000
WORKFLOWS_RESOURCE_GROUP=rg-placeholder
WORKFLOWS_MANAGED_IDENTITY_CLIENT_ID=00000000-0000-0000-0000-000000000000
Each workflow is a stateful or stateless Logic Apps definition:
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"triggers": {
"<trigger-name>": { ... }
},
"actions": {
"<action-name>": {
"type": "<action-type>",
"inputs": { ... },
"runAfter": {}
}
},
"outputs": {}
},
"kind": "Stateful"
}
| Trigger | Type | Use Case |
|---|---|---|
| Request | Request | HTTP listener (maps from Mule HTTP Listener) |
| Recurrence | Recurrence | Scheduled execution (maps from Mule Scheduler) |
| Action | Type | Use Case |
|---|---|---|
| HTTP | Http | Outbound HTTP calls |
| Condition | If | Choice router |
| Switch | Switch | Multi-branch choice |
| Foreach | Foreach | Loop over array |
| Scope | Scope | Group actions (maps from subflows) |
| Compose | Compose | Set variable / transform data |
| SetVariable | SetVariable | Mutate workflow variable |
| InitializeVariable | InitializeVariable | Declare variable |
Controls execution order. Each action declares which actions must complete before it runs:
"runAfter": {
"Previous_Action": ["Succeeded"]
}
Valid statuses: Succeeded, Failed, Skipped, TimedOut. Used for error handling (maps from Mule error handlers).
ManagedServiceIdentity auth type in connections.