setup-datamodel

Create and configure Dataverse data models for Power Pages via the OData API.

647|132|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/microsoft/power-platform-skills --skill setup-datamodel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-datamodel
Source: https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/setup-datamodel
Command: npx skills add https://github.com/microsoft/power-platform-skills --skill setup-datamodel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires validation-helpers, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the end-to-end setup of Dataverse data models for Power Pages by guiding prerequisites, data modeling, approval, and deployment steps.

Core Features & Use Cases

  • Verify prerequisites and acquire tokens for Dataverse access
  • Source or infer a data model and generate a Mermaid ER diagram
  • Create tables and columns via the OData API and establish 1:N / M:N relationships
  • Publish customizations and generate a manifest for validation

Quick Start

Describe your site data model and let the skill guide you through a full Dataverse setup from prerequisites to publishing.

Frequently Asked Questions about setup-datamodel

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

FAQPage Schema
How do I automate Dataverse table creation for Power Pages?

Yes, you can establish both 1:N and M:N relationships in a Dataverse data model via the OData API. The skill orchestrates relationship creation alongside table and column definitions, then publishes customizations to the target environment after user approval.

What's the best way to generate a data model for Dataverse before deployment?

Dataverse setup requires prerequisite verification and valid authentication tokens for OData API access. The skill coordinates token refresh steps and enforces explicit user consent before creating or modifying any tables, columns, or relationships in the target environment.

Can I establish 1:N and M:N relationships in Dataverse through automated deployment?

Generating a Dataverse data model can be done by uploading an existing model or using AI-driven inference. The skill sources the data model, generates a Mermaid ER diagram for visualization, and performs pre-creation checks before publishing via the OData API.

Do I need authentication tokens to configure Dataverse models via OData?

To validate a Dataverse deployment, the skill generates a detailed manifest tracking created or modified models. This manifest serves as a validation report after publishing customizations to the target Power Pages environment via the OData API.

How do I validate a Dataverse data model deployment for Power Pages?

Automating Dataverse table creation for Power Pages involves orchestrating table definitions, columns, and relationships via the OData API. This skill guides prerequisites verification, data model sourcing, and deployment with explicit user consent and manifest reporting.