eventschemaset-cli

Manages Microsoft Fabric Event Schema Sets via REST API and Azure CLI.

1.1k|301|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/microsoft/skills-for-fabric --skill eventschemaset-cli
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: eventschemaset-cli
Source: https://github.com/microsoft/skills-for-fabric/tree/main/plugins/fabric-skills/skills/eventschemaset-cli
Command: npx skills add https://github.com/microsoft/skills-for-fabric --skill eventschemaset-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes references (resource) components.

What problem does it solve?

Working with Microsoft Fabric Event Schema Sets through raw REST calls is error-prone: definitions must be base64-encoded, format fields have strict versioned values, and long-running operations require polling. This Skill gives an AI assistant the exact endpoints, payload shapes, and guardrails to author and inspect Event Schema Sets correctly.

Core Features & Use Cases

  • Authoring mode: Create, rename, update the definition of, or delete an Event Schema Set, including base64-encoding the full eventTypes/schemas document and handling 202 Accepted LRO polling.
  • Consumption mode: List Event Schema Sets, read item properties (OneLake path, sensitivity label), and decode definitions to enumerate event types, schemas, and schema versions.
  • Use Case: Ask the assistant to add a BusinessEventType event OrderPlaced with a JSON schema to an existing catalog; it resolves the workspace and item IDs, decodes the current definition, appends the event, and submits the full override via updateDefinition.

Quick Start

Ask the assistant to list all Event Schema Sets in your Fabric workspace or to create a new Event Schema Set with a given name and event types.

Frequently Asked Questions about eventschemaset-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Event Schema Set in Microsoft Fabric?β–Ό

Create an Event Schema Set by POSTing to /v1/workspaces/{workspaceId}/eventSchemaSets with a displayName and optional base64-encoded definition. Resolve the workspace ID by listing workspaces and filtering with JMESPath, and poll the Location header if the call returns 202 Accepted.

How do I decode an Event Schema Set definition in Fabric?β–Ό

Call POST .../eventSchemaSets/{id}/getDefinition with an empty JSON body, select the part whose path is not .platform, and base64-decode its payload. The decoded JSON contains the eventTypes and schemas collections you can enumerate with jq.

What is the difference between EventSchemaSet, Eventstream, and Eventhouse in Fabric?β–Ό

EventSchemaSet is a catalog of event types and message payload schemas. Eventstream is a real-time ingestion and routing pipeline handled by eventstream-cli, and Eventhouse/KQL Database is a separate analytics item handled by eventhouse-cli.

Can I use a service principal to manage Fabric Event Schema Sets?β–Ό

Microsoft documents Event Schema Set operations as delegated user identity only, with service principals and managed identities listed as unsupported. Because the item is in Preview, SP/MI access can succeed depending on the tenant; on 401/403, fall back to az login as a user.

Why does my Event Schema Set update fail with a 400 InputError on format?β–Ό

The service rejects bare Json as a format value. Use versioned formats: CloudEvents/1.0 for eventTypes format, and JsonSchema/draft-07 or Avro/1.12.0 for schemaFormat, schemas format, and each schema version format.

Does updateDefinition merge changes into an Event Schema Set?β–Ό

No, updateDefinition replaces the entire definition. Decode the current definition first, apply your change to the full document, re-encode it, and submit the complete payload, reusing the exact part path returned by getDefinition.