VS Code Extension for migrating BizTalk, MuleSoft, TIBCO, and other integration platforms to Azure Logic Apps Standard
See the extension in action before you install it.
logic-apps-migration-agent-demo.mp4
Click the preview image above to open the demo video: logic-apps-migration-agent-demo.mp4
The Logic Apps Migration Agent is a VS Code extension that automates the migration of enterprise integration solutions to Azure Logic Apps Standard. It uses AI-powered analysis via GitHub Copilot to guide you through a structured migration workflow — all running locally within VS Code.
| Platform | Status | Parser | Current coverage |
|---|---|---|---|
| BizTalk Server (2016, 2020) | Fully implemented | Built-in | Projects, orchestrations, maps, schemas, and bindings |
| MuleSoft Anypoint (Mule 3, Mule 4) | Partial support | Built-in | Projects, Mule 4 flows, and DataWeave |
| TIBCO BusinessWorks (BW5, BW6) | Partial support | Built-in | Project discovery and process metadata |
Partial support includes platform detection, built-in parsing, and platform-specific guidance across the migration workflow. Coverage of source components and generated mappings continues to expand.
This is an open-source project — contributions are welcome! To add support for a new platform, see Contributing a New Platform.
- Azure Logic Apps Standard (Workflow Service Plan)
- Planning for Standard hybrid and ASE v3: hosting choices guide connector, identity, and infrastructure assessment. These choices do not imply automatic deployment support; target-specific prerequisites and deployment procedures must be validated.
| Feature | Description |
|---|---|
| 🔄 Multi-Platform Support | Built-in support for BizTalk, MuleSoft, and TIBCO, plus extensible parsers for partner platforms |
| 🎯 5-Stage Workflow | Structured migration from Discovery through Deployment |
| 🧠 Copilot Integration | AI-powered analysis, planning, and conversion via VS Code Language Model API |
| 🏗️ Built-in Parsers | TypeScript-based parsers for supported BizTalk, MuleSoft, and TIBCO artifacts |
| 🔌 Parser Plugin System | Partner teams can contribute parsers via VS Code extensions |
| 📊 Flow Visualization | Interactive architecture diagrams, message flows, gap analysis, and dependency tracking |
| 🤖 AI Agents | Three specialized Copilot agents: @migration-analyser, @migration-planner, @migration-converter |
| ☁️ Azure Deployment | Direct deployment configuration via Azure settings |
The extension guides you through a 5-stage migration workflow:
Discovery → Planning → Conversion → Validation → Deployment
| # | Stage | Description |
|---|---|---|
| 1 | Discovery | Find and catalog all integration artifacts from the source platform. Auto-detects platform, scans files, builds artifact inventory and dependency graph. |
| 2 | Planning | Analyze complexity, plan the migration roadmap, and map source patterns to Logic Apps patterns. Generates per-flow migration plans with action mappings, gap analysis, and effort estimates. |
| 3 | Conversion | Transform source artifacts into Logic Apps Standard workflows, connections, and supporting files. Executes task plans generated during planning. |
| 4 | Validation | Test generated workflows and validate behavior against source specifications. |
| 5 | Deployment | Deploy generated Logic Apps artifacts to Azure. |
- Install the extension from VS Code Marketplace
- Open your BizTalk, MuleSoft, or TIBCO project folder in VS Code
- Click the Logic Apps Migration Agent icon in the Activity Bar
- Select your source folder when prompted (or use the command palette:
Logic Apps Migration Agent: Select Source Folder) - Follow the guided 5-stage workflow
Planning resolves important choices before generating workflow definitions. It reuses discovery results and saved answers, asks a short hosting question when no explicit deployment setting exists, then asks only consequential unresolved questions (typically broker choice and/or preserve-code versus native-first modernization). Minor, behavior-preserving mappings are chosen automatically. Canceling pauses planning without inventing answers; already answered choices are saved.
The planner generates one selected scenario, not several complete alternatives. It records short option tradeoffs and evidenced modernization opportunities, such as XML parsing with schemas, SQL stored-procedure actions, secret-store adoption, or telemetry modernization. Trigger/broker changes require contract and delivery-semantics checks; a queue behind an HTTP endpoint is not automatically a reason to replace the HTTP trigger. Connector availability and authentication are checked for the selected host.
The Planning view keeps a concise decision summary and modernization table in the Summary section at the bottom of the overview. Expand Planning details for timelines, assumptions, alternatives, and rationale. Regenerate Plan reuses choices and preserves history; use Suggest a Change to request different choices. The view always displays the current plan used by Conversion, without a saved-version comparison table. DOCX reports include the current plan and saved scenario comparison for stakeholder review.
Choices are persisted in .vscode/migration/planning/{flowId}/planning-preferences.json; every finalized plan is archived under history/. plan.json remains the current conversion input. Existing plans remain readable and appear as legacy plans without recorded choices. A full migration reset removes planning data and history.
Use Export Report in a flow's Analysis or Planning tab to save a Word document. BizTalk Analysis exports use the Migration Discovery Report format: executive summary, current-state architecture, inventory and application portfolio, message flow and runtime characteristics, adapter and connectivity assessment, and findings, risks, and recommendations.
The report covers the selected flow, not the entire application estate. Its Integration Map includes protocol, message types, frequency, exchange pattern, processing mode, and critical-path information only when recorded in that flow's analysis or matching source metadata. Authentication, TLS, and complexity details are likewise evidence-based; the exporter does not infer them or calculate a new complexity score. Planning reports, other source-platform reports, and the interactive tabs retain their existing formats.
| Requirement | Purpose |
|---|---|
| VS Code 1.85.0 or later | Runtime |
| Azure Logic Apps (Standard) extension | Required extension dependency |
| Azure Functions extension | Local functions runtime and development tasks |
| GitHub Copilot subscription | AI-powered analysis, planning, and conversion |
| Docker Desktop | Local connector resource deployment for local testing |
| Azure CLI | Azure resource provisioning and deployment |
| Azure subscription | Deployment to Azure (Stage 5) |
Configure via Settings > Extensions > Logic Apps Migration Agent:
| Setting | Description | Default |
|---|---|---|
logicAppsMigrationAgent.deploymentModel |
Target deployment model for Logic Apps Standard | workflow-service-plan |
logicAppsMigrationAgent.azure.subscriptionId |
Azure subscription ID for deployment | (empty) |
logicAppsMigrationAgent.azure.resourceGroup |
Azure resource group for provisioning and testing | integration-migration-tool-test-rg |
logicAppsMigrationAgent.azure.location |
Azure region for provisioning resources | eastus |
| Command | Description |
|---|---|
Logic Apps Migration Agent: Select Source Folder |
Start migration by selecting a source project folder |
Logic Apps Migration Agent: Reset Migration |
Reset all migration state and start over |
Logic Apps Migration Agent: Show Extension Logs |
Open the extension output channel for debugging |
Parsers are TypeScript modules that transform source platform artifacts into a common Intermediate Representation (IR). The extension uses a registry-based architecture supporting both built-in and external parsers.
┌─────────────────────────────────────────────────────────────┐
│ Parser Registry │
├─────────────────────────────────────────────────────────────┤
│ Built-in Parsers │ External Parser Plugins │
│ ───────────────── │ ────────────────────── │
│ • BizTalk (.btproj, .odx) │ • Partner Platform Parsers │
│ • BizTalk (.btm, .xsd) │ • Community Parsers │
│ • BizTalk (.btp, bindings)│ │
│ • MuleSoft flows/projects │ │
│ • TIBCO processes/projects│ │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────┐
│ IR Document │
│ (JSON Schema) │
└─────────────────┘
The extension provisions three GitHub Copilot agents into your workspace:
| Agent | Purpose |
|---|---|
@migration-analyser |
Analyzes discovered artifacts, detects flow groups, generates architecture visualizations |
@migration-planner |
Creates per-flow migration plans with action mappings and gap analysis |
@migration-converter |
Executes conversion tasks to generate Logic Apps workflows and connections |
The extension registers 25 Language Model tools with VS Code that the AI agents use to read artifacts, store results, and manage the migration workflow.
The Flow Visualizer provides an interactive webview for exploring your integration architecture. It displays data from parsed IR documents, bindings, dependency graphs, and AI-generated analysis.
| Tab | Content |
|---|---|
| Architecture Diagram | System architecture diagram with all artifacts and connections (Mermaid) |
| Message Flow | Per-artifact message flow from trigger to completion |
| Components | Component inventory with details (adapters, endpoints, pipelines) |
| Missing Dependencies | Dependencies that couldn't be resolved during discovery |
| Gap Analysis | Features that have no direct Logic Apps equivalent, with suggested resolutions |
| Patterns | Detected integration patterns (pub/sub, request-reply, batch, etc.) |
| Learn BizTalk | Educational content about the source BizTalk artifacts |
- Interactive Mermaid diagrams with zoom/pan
- Dark/light theme support
- Copilot chat integration — discuss or correct any flow group
- Badge indicators for gaps, dependencies, and patterns
Run the BizTalk and TIBCO stage tests before submitting a pull request:
npm ci --ignore-scripts
npm testThis strictly compiles TypeScript and runs all unit and stage-handoff integration tests.
The tests use fixed agent responses; they do not call Copilot or Azure. Skipped and
focused (.only) tests fail the suite.
The Migration tests GitHub Actions check runs for every pull request targeting
main (the default branch) or master, pushes to those branches, and merge-queue
requests, without path filters.
Repository administrator setup: after the check first runs, configure an active
branch ruleset for main under Settings > Rules > Rulesets. Require a pull request,
require the Migration tests status check, and require branches to be up to date.
Keep existing required checks and prevent bypasses so direct pushes cannot skip the
tests. Apply the same rules to master if that branch is used. Adding the workflow
alone does not make its result mandatory for merging.
This project is open-source and designed for extensibility. There are two ways to add support for a new integration platform:
| Approach | Recommended? | Description |
|---|---|---|
| Built-in parser (PR to this repo) | ✅ Yes | Add a parser and skills directly to this project. Full integration with all stages. |
| External parser extension | Create a separate VS Code extension that registers parsers via the plugin API. |
Built-in parsers are the recommended approach — they ship with the extension, get the same CI/CD, and have access to all internal APIs.
To fully support a new platform (e.g., IBM IIB, Boomi, Workato), you need:
- A built-in parser — parses source artifacts into IR documents
- Platform-specific skills — AI instructions for each migration stage
- Platform detection — auto-detect the platform from file patterns
Create a new parser under src/parsers/<platform>/:
src/parsers/
├── biztalk/ # Reference implementation
│ ├── index.ts
│ ├── types.ts
│ ├── BizTalkProjectParser.ts
│ ├── BizTalkOrchestrationParser.ts
│ └── ...
├── <your-platform>/ # Your new parser
│ ├── index.ts
│ ├── types.ts
│ └── YourPlatformParser.ts
Each parser must implement the IParser interface:
import { IParser, ParserCapabilities, ParseResult, ParseOptions } from '../types';
import { IRDocument, createEmptyIRDocument } from '../../ir/types';
export class YourPlatformParser implements IParser {
get capabilities(): ParserCapabilities {
return {
platform: 'your-platform',
fileExtensions: ['.yourext'],
fileTypes: ['flow'],
supportsFolder: false,
description: 'Parses YourPlatform integration flows',
};
}
canParse(filePath: string): boolean {
return filePath.endsWith('.yourext');
}
async parse(filePath: string, options?: ParseOptions): Promise<ParseResult> {
const ir = createEmptyIRDocument();
// Parse the source file and populate the IR document
// See docs/IRSchema.md for the complete schema
// See docs/IRExamples_*.md for platform-specific examples
return { ir, stats: { ... } };
}
}Then register it in src/parsers/index.ts:
import { YourPlatformParser } from './your-platform';
export function initializeParsers(): void {
// ... existing parsers ...
defaultParserRegistry.register(new YourPlatformParser());
}Reference: See the BizTalk parser implementation in src/parsers/biztalk/ for a fully working example.
Skills are Markdown files that provide AI instructions for each stage of the migration. They tell the Copilot agents how to analyze, plan, and convert artifacts for your specific platform.
Skills are organized under resources/skills/, with platform-specific variants:
resources/skills/
├── detect-logical-groups/
│ ├── biztalk/SKILL.md # BizTalk-specific rules
│ ├── mulesoft/SKILL.md # MuleSoft-specific rules
│ └── <your-platform>/SKILL.md # Your platform rules
├── source-to-logic-apps-mapping/
│ ├── biztalk/SKILL.md
│ ├── mulesoft/SKILL.md
│ └── <your-platform>/SKILL.md
├── msmq-built-in-connector/
│ └── SKILL.md # Shared MSMQ connector rules
├── soap-built-in-connector/
│ └── SKILL.md # Shared SOAP connector rules
└── ... (16 skills total)
Each SKILL.md uses YAML frontmatter followed by Markdown content:
---
name: source-to-logic-apps-mapping
description: One-to-one mapping of every YourPlatform component to its Azure Logic Apps Standard equivalent.
---
# YourPlatform to Azure Logic Apps Standard — Component Migration Reference
> Mapping of YourPlatform components to Logic Apps equivalents.
## Adapter Mappings
| YourPlatform Component | Logic Apps Equivalent | Native? | Notes |
| ---------------------- | --------------------- | ------- | --------------- |
| HTTP Listener | HTTP Trigger | Yes | Native built-in |
| Database Connector | SQL Server connector | Yes | Native built-in |
...Create a <your-platform>/SKILL.md variant for each platform-specific skill. The
MSMQ and SOAP built-in connector skills are shared fallbacks and apply whenever a
platform maps a source component to those connectors.
| Skill | Purpose | Agent |
|---|---|---|
detect-logical-groups |
Rules for grouping artifacts into logical flow groups | @migration-analyser |
analyse-source-design |
Rules for analyzing source architecture and generating visualizations | @migration-analyser |
dependency-and-decompilation-analysis |
Rules for identifying missing dependencies | @migration-analyser |
edmx-to-efcore-functions |
Rules for converting EDMX data access to EF Core functions | @migration-converter |
source-to-logic-apps-mapping |
Component-by-component mapping from source to Logic Apps | All agents |
logic-apps-planning-rules |
Rules for generating migration plans | @migration-planner |
conversion-task-plan-rules |
Rules for creating conversion task plans | @migration-converter |
scaffold-logic-apps-project |
Rules for scaffolding the Logic Apps project structure | @migration-converter |
workflow-json-generation-rules |
Rules for generating workflow.json files | @migration-converter |
connections-json-generation-rules |
Rules for generating connections.json | @migration-converter |
msmq-built-in-connector |
Rules for the MSMQ broker, workflows, networking, and validation | All agents |
soap-built-in-connector |
Rules for WSDL-driven SOAP connections, actions, and validation | All agents |
dotnet-local-functions-logic-apps |
Rules for generating .NET local functions | @migration-converter |
no-stubs-code-generation |
Rules ensuring generated code is complete (no stubs/placeholders) | @migration-converter |
runtime-validation-and-testing |
Rules for runtime validation and testing | @migration-converter |
cloud-deployment-and-testing |
Rules for cloud deployment and testing | @migration-converter |
Tip: Copy an existing platform's skills as a starting point (e.g., biztalk/SKILL.md) and adapt the content for your platform.
Add your platform to the supported platforms list in src/types/platforms.ts:
export type SourcePlatform = 'biztalk' | 'mulesoft' | 'your-platform';
export const SUPPORTED_PLATFORMS: PlatformInfo[] = [
// ... existing platforms ...
{
id: 'your-platform',
label: 'YourPlatform',
description: 'YourPlatform version X',
icon: '$(server)',
filePatterns: ['.yourext', '.yourconfig'],
},
];Also add detection logic in src/stages/discovery/PlatformDetector.ts and file patterns in src/stages/discovery/SourceFolderService.ts.
Add a docs/IRExamples_YourPlatform.md documenting how your platform's artifacts map to the IR schema. The existing examples serve as templates:
- docs/IRExamples_BizTalk.md — BizTalk reference
- docs/IRExamples_MuleSoft.md — MuleSoft reference
- docs/IRExamples_Boomi.md — Dell Boomi example
- docs/IRExamples_IBMIIB.md — IBM IIB/ACE example
- docs/IRExamples_TIBCO.md — TIBCO BusinessWorks example
- docs/IRExamples_Workato.md — Workato example
If you prefer not to contribute directly to this repo, you can create a separate VS Code extension that registers parsers via the plugin API:
import * as vscode from 'vscode';
export async function activate(context: vscode.ExtensionContext) {
const assistant = vscode.extensions.getExtension('ms-azuretools.logicapps-migration-agent');
if (assistant) {
const api = await assistant.activate();
api.registerParser(new MyPlatformParser(), { priority: 10 });
}
}Note: External parser extensions only cover the Discovery stage (parsing source files). Skills, platform detection, and AI-powered planning/conversion require contributing to this repo directly.
| Method / Property | Description |
|---|---|
version |
Extension version (readonly) |
registerParser(parser, options?) |
Register a parser with the registry |
unregisterParser(id) |
Remove a registered parser |
getParserRegistry() |
Access the parser registry directly |
hasParser(id) |
Check if a parser is registered |
getExternalParsers() |
Get information about registered external parsers |
All parsers must output documents conforming to the IR (Intermediate Representation) schema. See docs/IRSchema.md for the complete specification.
src/
├── extension.ts # Extension entry point
├── commands/ # Command palette commands
├── constants/ # Prompts and user messages
├── copilot/ # Copilot integration (LM tools, context builder)
├── errors/ # Error types and handler
├── ir/ # Intermediate Representation (types, validation, serialization)
├── parsers/ # Parser system (BizTalk, MuleSoft, TIBCO, plugin loader)
├── services/ # Core services (state, config, logging, telemetry)
├── stages/ # Stage implementations (discovery, planning, conversion)
├── types/ # Shared type definitions
├── ui/ # Sidebar tree providers
└── views/ # Webview panels (discovery, planning, conversion)
resources/
├── agents/ # Copilot agent prompt files (migration-analyser, planner, converter)
├── icons/ # Extension and activity bar icons
├── referenceDocs/ # BizTalk and Logic Apps reference documentation
├── referenceWorkflowsAndConnections/ # Reference Logic Apps workflow templates
└── skills/ # Platform-specific AI skills (13 skills × N platforms)
docs/
├── IRSchema.md # IR schema specification (complete v3 reference)
├── IRExamples_BizTalk.md # BizTalk IR examples
├── IRExamples_MuleSoft.md # MuleSoft IR examples
├── IRExamples_Boomi.md # Dell Boomi IR examples (reference for contributors)
├── IRExamples_IBMIIB.md # IBM IIB/ACE IR examples (reference for contributors)
├── IRExamples_TIBCO.md # TIBCO BW IR examples (reference for contributors)
├── IRExamples_Workato.md # Workato IR examples (reference for contributors)
├── SourceFlowVisualization.md # Source flow visualization documentation
└── UserFlow.md # User flow documentation
MIT License — see LICENSE for details.