Business Events Authoring

Author or extend custom Business Events in D365 Finance & Operations. Invoke when the user asks to "create a business event", "add a business event", "build a custom business event", or wire D365FO outbound notifications to Power Automate / Service Bus / Event Grid.

49 stars 26 forksMarketing, Sales & Business

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dynamics365ninja/d365fo-cli --skill business-events-authoring
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/business-events-authoring ~/.claude/skills/business-events-authoring

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.

# Business Events Authoring in D365FO

> Business events are the standard D365FO mechanism for outbound event-driven
> notifications. They decouple D365FO from subscribers: Power Automate, Azure
> Service Bus, Azure Event Grid, Logic Apps, or any HTTP endpoint can receive
> them without polling or custom integration code.

**Reference:** https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/business-events/home-page

---

## Pattern overview

A custom business event consists of exactly two classes:

```
1. Event class — extends BusinessEventsBase
   - Decorated with [BusinessEvents(...)] — registers it in the catalog
   - Implements buildContract() to populate the payload
   - Has a static newFrom<Context>(...) factory

2. Contract class — extends BusinessEventsContract
   - Decorated with [DataContractAttribute]
   - One parmXxx() accessor per payload field, decorated with [DataMemberAttribute]
```

Both classes are X++ `AxClass` XML files. Use `d365fo generate business-event` to scaffold them correctly.

---

## Pre-flight
Read the full skill on GitHub

Details

Skill name
business-events-authoring
Path
skills/anthropic/business-events-authoring/SKILL.md
Repo updated
16 November 2026

FAQ

What does the Business Events Authoring skill do?

Author or extend custom Business Events in D365 Finance & Operations. Invoke when the user asks to "create a business event", "add a business event", "build a custom business event", or wire D365FO outbound notifications to Power Automate / Service Bus / Event Grid.

How do I install the Business Events Authoring skill?

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

Is Business Events Authoring 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

Formation Counsel

43

bstevescherer/heycounsel-community

Attorney-facing skill for US and Canadian startup formation work. Use this skill whenever the user is advising founders on entity selection, jurisdiction choice, incorporation mechanics, cap table setup, founder equity and vesting, §83(b) elections, initial securities posture, or cross-border (US-Canada) structuring — even if the user doesn't explicitly say "formation." Trigger on phrases like "new client wants to incorporate," "Delaware or CBCA," "founder vesting schedule," "cap table for a pre-seed," "§83(b) election," "share subscription agreement," "cross-border hold-co," "dual-class share

Marketing, Sales & Business

Topic Curriculum

48

harvard-lil/lawskills-hub

Triggers when a practicing attorney needs to learn about a new legal topic, practice area, or regulatory framework they're moving into. Also use when preparing to advise a client in an unfamiliar area or when transitioning practice areas.

Marketing, Sales & Business

Heycounsel Practice Coach

43

bstevescherer/heycounsel-community

Acts as a business coach for a HeyCounsel member's law practice, grounded in their own HeyCounsel data and the community's collective experience. Use this WHENEVER a member asks for help growing or improving their practice — business development, getting clients, pricing or billing, firm operations, tech stack, hiring/leverage, or strategic direction — even with casual phrasings like "how's my practice doing?", "how do I get more clients?", "should I change how I bill?", "where am I leaving money on the table?", or "what should I focus on next quarter?". It conducts deep, multi-tool research a

Marketing, Sales & Business

Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.