Dataverse Schema & Data Management

Design and provision Dataverse schema artifacts via the Web API v9.2.

12|4|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/markus41/Claude-m --skill dataverse-schema-data-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Dataverse Schema & Data Management
Source: https://github.com/markus41/Claude-m/tree/main/dataverse-schema/skills/dataverse-schema
Command: npx skills add https://github.com/markus41/Claude-m --skill dataverse-schema-data-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Dataverse Schema & Data Management enables teams to design, modify, and provision Dataverse schema artifacts (EntityDefinitions, AttributeMetadata, RelationshipDefinitions, and OptionSetMetadata) and to manage their lifecycle through the Dataverse Web API (v9.2).

Core Features & Use Cases

  • Define and modify tables (EntityDefinitions) and their primary name attributes
  • Create and manage attributes, relationships, and option sets, plus solution lifecycle operations
  • Seed data and run metadata-driven operations using FetchXML and OData queries

Quick Start

Run the included examples to create and manage a Dataverse schema via the Web API.

Frequently Asked Questions about Dataverse Schema & Data Management

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

FAQPage Schema
How do I create and modify Dataverse tables and attributes using the Web API?

You can create and modify Dataverse tables by sending POST and PATCH requests to the EntityDefinitions and AttributeMetadata endpoints via the Web API v9.2. This approach allows you to programmatically design schema artifacts and manage their lifecycle across environments.

What is the MSCRM.SolutionUniqueName header used for when provisioning Dataverse schema?

The MSCRM.SolutionUniqueName header is used during Dataverse schema provisioning to associate new metadata artifacts with a specific solution. Following this convention ensures your tables, attributes, and relationships are packaged and versioned correctly for transport across environments.

Can I manage Dataverse option sets and relationship definitions through the Web API v9.2?

Yes, you can manage Dataverse option sets and relationships by interacting with the OptionSetMetadata and RelationshipDefinitions endpoints via the Web API v9.2. This enables full programmatic control over schema design, including defining entity relationships and option set values.

What is the best way to seed data and query Dataverse after schema creation?

The best way to seed data and query Dataverse after schema creation is by using FetchXML and OData queries. These query languages allow you to perform metadata-driven operations and populate newly provisioned tables with baseline data efficiently.

How do I package Dataverse schema artifacts into a solution for environment deployment?

You package Dataverse schema artifacts by utilizing solution lifecycle operations through the Web API, ensuring all EntityDefinitions and metadata are linked via the MSCRM.SolutionUniqueName header. This results in a versionable solution ready for deployment across environments.

Do I need specific headers to build resilient and versionable Dataverse schemas across environments?

Yes, you need to follow MSCRM.SolutionUniqueName header conventions when creating schema artifacts via the Web API. This ensures your Dataverse schema components are properly associated with a solution, making them resilient and versionable across different deployment environments.