add-sample-data

Seed Dataverse tables with realistic sample records via the OData API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps teams seed their Dataverse environments with realistic sample data, enabling testing and demos without manual data entry.

Core Features & Use Cases

  • Table seeding with lookups: Create parent and child records in the correct order to satisfy lookups and relationships.
  • Preview before insertion: Generate and present a sample data preview for user approval.
  • Phase-driven workflow: Orchestrates prerequisites, table discovery, configuration, generation, insertion, and verification.
  • Safety & reliability: Includes token refresh and graceful error handling to avoid partial failures.
  • Use Case: You want to demonstrate a Power Pages site with realistic vendors, projects, tasks, and customers without shipping real data.

Quick Start

Provide a phase-driven plan to seed the selected Dataverse tables with 10 sample records and preview the results before insertion.

Frequently Asked Questions about add-sample-data

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

FAQPage Schema
How do I seed Dataverse tables with sample data for testing and demos?

Seeding Dataverse tables with sample data requires using the OData API to populate records via a phase-driven workflow, supporting table selection, record count configuration, and proper ordering to satisfy lookups. It generates realistic records for testing without manual entry.

Does seeding Dataverse tables handle parent and child record lookups?

Seeding Dataverse tables handles parent and child record lookups by ordering inserts correctly to satisfy relationships, ensuring referential integrity is maintained when populating tables with sample records through the OData API.

What prerequisites do I need to populate Dataverse tables via the OData API?

Populating Dataverse tables via the OData API requires PAC CLI authentication, an Azure token, and a target environment URL. The skill performs token refresh during generation to maintain reliable access throughout the insertion process.

Can I preview sample records before inserting them into Dataverse?

You can preview sample records before inserting them into Dataverse. The skill generates and presents a data preview for user approval during the phase-driven workflow, allowing verification before the actual insertion occurs.

What's the best way to generate realistic seed data for a Power Pages demo?

Generating realistic seed data for a Power Pages demo is best done by populating Dataverse tables with sample records like vendors, projects, and tasks via the OData API, avoiding the need to ship real data while enabling full functionality demonstrations.

Why does Dataverse data generation fail partway through the insertion process?

Dataverse data generation can fail partway due to expired authentication tokens or unresolved lookup relationships. The skill addresses this with token refresh capabilities and graceful error handling to avoid partial failures during phase-driven insertion.