Integration Patterns

Guidance for building or debugging integrations between D365 Finance & Operations and external systems. Invoke when the user asks about OData, custom services, DMF/Data Management Framework, business events, Power Automate connectors, Service Bus, or external system connectivity.

49 stars 26 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dynamics365ninja/d365fo-cli --skill integration-patterns
Manual install
git clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/integration-patterns ~/.claude/skills/integration-patterns

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

> ⛔ **NEVER write X++ AOT XML files directly** via PowerShell, terminal file commands (`Set-Content`, `Out-File`, `New-Item`), editor write tools, or any raw text approach. The XML schema is proprietary. **ALWAYS use `d365fo generate …` commands** to produce correct AOT XML. If `d365fo` is unavailable in PATH, stop and ask the user to install it.

# D365FO Integration Patterns

> D365FO offers four first-class integration mechanisms. Choose based on
> direction (inbound vs. outbound), latency (synchronous vs. async), and
> volume (single record vs. bulk). Ground every decision in the real
> metadata from the CLI.

## Pattern overview

| Pattern | Direction | Latency | Volume | Entry point |
|---------|-----------|---------|--------|-------------|
| **OData REST API** | In + Out | Synchronous, real-time | Record-level | `data/<PublicCollectionName>` endpoint |
| **Custom Services** | In | Synchronous | Operation-level | SOAP + JSON REST endpoint |
| **Data Management Framework (DMF)** | In + Out | Async batch | Bulk | Import/export jobs, staging tables |
| **Business Events** | Out | Near-real-time | Event-driven | Service Bus, Event Grid, Power Automate, Logic Apps |

---

## 1. OData REST API

**Purpose:** real-time synchronous CRUD from external systems — Power Platform, Logic Apps, third-party ERPs.

**Endpoint:** `https://{env}.operations.dynamics.com/data/{PublicCollectionName}`

**Requirements for a working OData entity:**

- `IsPublic = Yes` on the `AxDataEntityView`
Read the full skill on GitHub

Details

Skill name
integration-patterns
Path
skills/anthropic/integration-patterns/SKILL.md
Repo updated
16 November 2026

FAQ

What does the Integration Patterns skill do?

Guidance for building or debugging integrations between D365 Finance & Operations and external systems. Invoke when the user asks about OData, custom services, DMF/Data Management Framework, business events, Power Automate connectors, Service Bus, or external system connectivity.

How do I install the Integration Patterns skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill integration-patterns. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Integration Patterns popular?

It lives in dynamics365ninja/d365fo-cli, which has 49 GitHub stars and 26 forks.

Related skills

Analytics and Er

49

dynamics365ninja/d365fo-cli

Model the D365FO analytical and document-generation surfaces — aggregate measurements and the entity store, tiles/cues and KPIs, and Electronic Reporting (ER). Invoke when the user asks about a workspace tile, a KPI, an aggregate measurement, the entity store, Power BI content, or running/binding an ER format.

Data & Analytics26

Barcode Scanning

49

dynamics365ninja/d365fo-cli

Barcodes and scanner input in D365FO — printing vs scanning are unrelated code paths, GS1-128 application identifiers, item-barcode resolution, and where the platform parses a scan for you. Invoke when the user mentions barcodes, GS1, GTIN, SSCC, scanning, scanners, item barcodes, or barcode setup.

AI, LLMs & Agents26

Build Error Triage

49

dynamics365ninja/d365fo-cli

Turn a D365FO compiler, best-practice, or runtime error into the specific fix it calls for. Invoke when the user pastes a build log, an xppc message, a BP violation, or an infolog stack trace and asks what it means or how to fix it.

AI, LLMs & Agents26

Inventory and Warehouse

49

dynamics365ninja/d365fo-cli

Work with D365FO inventory and warehouse management — InventTrans/InventDim/InventSum, on-hand queries, reservations, and the WHS work/wave model. Invoke when the user asks about on-hand stock, inventory dimensions, inventory transactions, reservations, warehouse work, waves, location directives, or mobile device flows.

AI, LLMs & Agents26

Integration Dmf Dualwrite

49

dynamics365ninja/d365fo-cli

Move data in and out of D365 Finance & Operations in bulk or in sync — the Data Management Framework (DMF/DIXF), dual-write to Dataverse, virtual entities, and the Power Platform surface. Invoke when the user asks about data import/export, staging tables, recurring integrations, data packages, dual-write, Dataverse sync, virtual entities, or Power Automate.

AI, LLMs & Agents26

List Teams

49

toffyui/ccteams

List all available ccteams agent teams with their names, descriptions, and tags.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.