SkillsReviewed · microsoft

Microsoft Power Platform Add Sample Data for Mobile Apps

Add Sample Data is an AI assistant skill for Power Apps mobile-app builders who need realistic Dataverse records, but it requires an initialized app and companion plugin tools. It describes generating small, schema-aware datasets with related records, varied statuses and dates, previews, and optional sample media.

Researched 17 Nov 2026

In short.

Add Sample Data is an AI assistant skill for Power Apps mobile-app builders who need realistic Dataverse records, but its operation depends on companion plugin files whose implementation is not included here. The document specifies approved table scopes, environment and tenant binding, schema-based generation, parent-before-child insertion, and optional media uploads. Its small datasets target useful first-launch screens, including lifecycle states and related detail records. Runtime behavior has not been tested, and the instructions contain inconsistencies around failure handling and coverage.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises the selected folder plugins/mobile-apps/skills/add-sample-data, represented by its captured SKILL.md, and the accompanying repository-root LICENSE at revision 05b634df9272cffe9f8c4256dbe1950d097a5d91. Referenced plugin scripts, shared instructions, other skill folders, app files and the Power Pages counterpart are outside this scope. No code was executed, records inserted, media uploaded or app screens inspected; runtime safeguards, recovery, duplicate prevention and output quality remain untested.

The overview

What the resource is

The resource is the add-sample-data instruction file in Microsoft's power-platform-skills repository, under plugins/mobile-apps/skills/add-sample-data. An assistant loads these instructions to help populate an existing app's Dataverse tables; the file is not a standalone data-seeding executable.

Its metadata marks it as user-invocable, declares the model alias sonnet, and lists file, shell and user-question tools. The exact model version and supported assistant host are not established. The original repository location is [https://github.com/microsoft/power-platform-skills/tree/main/plugins/mobile-apps/skills/add-sample-data].

Where it fits

The instructions are detailed enough to explain a specific use: giving a newly scaffolded app meaningful records so its lists, detail pages, activity tiles and approval queues have something useful to display. They address common relationship problems by requiring verified parent identifiers, actual choice values and parent-before-child insertion.

Its suitability depends on the surrounding plugin and the assistant following the document correctly. The helper scripts, authentication behavior and resulting app screens have not been assessed through execution, so the documented safeguards should not be treated as proven enforcement.

Who it is for

The intended users are Power Apps mobile-app builders whose Dataverse tables already exist, including people converting a prototype into an app with real data services. Beginners need access to an initialized project and help identifying the correct environment, tenant and tables before authorizing cloud writes.

Experienced developers get instructions for mapping prototype seed files, resolving Dataverse entity-set names, constructing lookup bindings and recovering after partial insertion. It is especially relevant when relationships and status combinations matter to what the interface displays.

What it describes

The skill describes generating values from column names and types, discovering valid choice values, selecting small record counts by table class, and distributing records across relevant statuses, severities and dates. It also calls for scenario examples such as overdue work, pending approvals or completed inspections when the app's schema supports them.

A --from-seed mode prefers existing prototype seed JSON, retaining only fields that can be mapped to verified Dataverse columns. Optional media handling distinguishes image payloads from file uploads, limits upload volume and records asset provenance. Binary media is omitted by default unless the app plan or user request requires it.

The document also specifies row previews, insertion-result summaries and local seeded-data history. These are described capabilities; their actual execution and output quality remain untested.

Using it

What it needs

The documented prerequisites include an initialized app containing power.config.json and app.config.js, an environmentId, existing Dataverse tables, Node.js, Azure CLI authentication and the surrounding mobile-apps plugin. That plugin supplies shared instructions, an app-directory resolver, an environment resolver and dataverse-request.js.

Orchestrated use requires a verified .datamodel-manifest.json and an explicit table allowlist. The instructions also expect a solution unique name from memory-bank.md and a resolved environment URL and tenant ID. Standalone use can discover metadata when the manifest is absent, but discovery does not authorize insertion.

Minimum software versions, operating-system support, exact Dataverse permissions and the installation procedure are unknown from the captured material. Optional file uploads require a helper that can preserve the selected tenant identity.

How the described process works

The process first fixes the approved tables and retirement exclusions, resolves the app's environment and tenant, and reads schema information. It checks up to five existing rows per table. Tables already containing at least five rows are skipped; other tables receive enough proposed records to reach their class-specific target.

Lookup relationships determine insertion tiers: parent records are created before children that reference them. Within a tier, the document specifies BATCH-RECORDS with concurrency capped at five. It describes reducing concurrency after throttling, but that helper behavior has not been verified.

Relationships use the exact navigation property followed by @odata.bind and a verified entity-set path containing a live parent GUID. Choice fields use numeric values obtained from metadata. Recovery requires fresh parent queries rather than copying identifiers from earlier output.

Preparing to use it

The document places this skill after table creation through /add-dataverse or /setup-datamodel. Its preparation sequence includes reading the plugin's shared instructions, resolving an absolute app directory, checking the project configuration, resolving environment identity and confirming Azure CLI authentication.

The table scope, count policy and any media writes must be approved before insertion. A --plan-only path stops after read-only checks and the proposed data preview. Copying SKILL.md alone does not supply the companion files needed to carry out these steps; a supported installation route for the full plugin is not documented in this evidence.

An illustrative use

For a hypothetical inspection app with empty, approved tables, the count rules could propose three site records, five inspection records and two or three detail records per inspection. Site names would reflect the app's context, while inspections would span available lifecycle states and recent dates.

The assistant would preview those proposed rows and their parent relationships before an authorized insertion. Status labels and numeric values would have to come from that environment's schema. This illustrates the instructions; no such dataset was generated or inserted.

Assessment & evidence

Important limits

The captured folder supplies instructions, while important behavior resides in referenced scripts and shared documents outside it. Authentication, tenant enforcement, request construction, retries and media uploading therefore cannot be established from this file alone.

The fixed five-row skip rule can leave a table untouched even when its existing records lack the requested status variety or parent-child coverage. Duplicate avoidance relies on existing-row checks and local history; database-enforced uniqueness or comprehensive idempotency is not established.

Failure handling is inconsistent across the document. The insertion section directs continued processing of successful branches, while later rules describe an interactive mode that stops after a failed tier and another mode that continues. Both prohibit automatic rollback. The applicable failure mode needs clarification before use.

No explicit resolution is supplied for cyclic table dependencies. Media can also remain absent when an appropriate tenant-bound upload helper is unavailable, even if metadata records were inserted successfully.

Why the design may help

The likely benefit is more useful screen examples from a small dataset. Related detail rows can prevent empty parent-detail pages, varied statuses can populate different queues, and recent timestamps can populate activity views. This fit is inferred from the generation rules, rather than demonstrated by observed app behavior.

Explicit table scope and verified lookup metadata address concrete causes of accidental writes and broken relationships. Their value depends on consistent enforcement by the assistant and helper scripts. The evidence provides no measured reliability, speed or productivity comparison.

Related options

The document identifies a Power Pages counterpart as the basis for this mobile-app adaptation: [https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-pages/skills/add-sample-data]. That counterpart's content, requirements and compatibility were not assessed.

Within this skill, prototype-seed reuse offers an alternative to composing new records. It still requires schema mapping and can fall back to generated rows when mapping is unsafe. The evidence contains no comparative assessment of other data-seeding products.

Source evidence

The source material consists of plugins/mobile-apps/skills/add-sample-data/SKILL.md and the repository's root LICENSE at revision 05b634df9272cffe9f8c4256dbe1950d097a5d91. The skill's immutable source address is [https://raw.githubusercontent.com/microsoft/power-platform-skills/05b634df9272cffe9f8c4256dbe1950d097a5d91/plugins/mobile-apps/skills/add-sample-data/SKILL.md]. Its recorded SHA-256 is 3d6d4dcc398f91dfa69e250b7da3e06bed3a3a86bad6c25f4093c0a7dec05ec9.

The instruction file supports conclusions about intended behavior and prerequisites. It supplies no observed execution results, generated-data inspection, rendered-screen evidence or independent performance measurements.

Access & freshness

Costs

Total operating cost is unknown. The evidence provides no prices for the assistant host, the sonnet model alias, Power Apps, Dataverse, storage or optional media generation. It also contains no measured token usage or completed-run costs.

The MIT licence permits commercial use of the covered material, but it does not establish the charges or entitlements for the services and tools required to use it.

Licence and reuse

The accompanying repository licence is MIT, with copyright attributed to Microsoft Corporation. It permits use, copying, modification, publication, distribution, sublicensing and sale, subject to retaining the copyright and permission notices in copies or substantial portions. The material is supplied without warranty.

The captured licence is available at [https://raw.githubusercontent.com/microsoft/power-platform-skills/05b634df9272cffe9f8c4256dbe1950d097a5d91/LICENSE]. Rights to separately supplied media or external services are not established by this notice. The skill calls for recording source and licence information for sample-media assets.

Version and freshness

The supplied snapshot was captured on 17 November 2026 at 11:29:24 UTC and identifies revision 05b634df9272cffe9f8c4256dbe1950d097a5d91. That identifies the assessed text; the capture time does not establish when its instructions were last changed.

Current upstream contents, release status and compatibility with current assistant hosts, plugin helpers or Dataverse environments are unknown. Although the document calls for a plugin version check, the check's implementation is outside the captured scope.

Before using it

Confirm a supported installation route for the full mobile-apps plugin and obtain its referenced shared instructions and helper scripts. Verify the app root, environment, tenant, solution, approved tables and retirement exclusions before permitting data writes.

Use the documented planning path to inspect proposed counts, relationships, status coverage and media needs. Clarify which failure mode applies and how unwanted sample records would be removed, since automatic rollback is explicitly excluded. For optional file media, confirm that the upload helper supports the required tenant binding.

Evidence for this report

LICENSEnotice · checked 2026-11-17