model-driven-app-skill

Automates building and publishing model-driven Dataverse apps via Web API.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/yuseidemo/FirstCodeApps --skill model-driven-app-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-driven-app-skill
Source: https://github.com/yuseidemo/FirstCodeApps/tree/main/.github/skills/model-driven-app-skill
Command: npx skills add https://github.com/yuseidemo/FirstCodeApps --skill model-driven-app-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables teams to build and publish model-driven Dataverse apps using the Web API, integrating AppModules, SiteMaps, views, forms, and security roles within a single, repeatable workflow.

Core Features & Use Cases

  • Create and configure AppModules and SiteMaps for model-driven apps inside a single solution.
  • Automate component inclusion (SiteMap, views, and forms) and standard security role associations.
  • Validate and publish apps programmatically, ensuring solution containment and consistent deployment across environments.

Quick Start

Instantiate the full deployment pipeline by running the deployment scripts to auto-generate SiteMaps, create AppModules, attach components, validate, and publish.

Frequently Asked Questions about model-driven-app-skill

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

FAQPage Schema
How do I automate building and publishing model-driven Dataverse apps using the Web API?

You can build and publish model-driven Dataverse apps by running deployment scripts that generate SiteMap XML, create AppModules, add components via AddAppComponents, apply security roles, then run ValidateApp and PublishXml.

What is the process for adding SiteMaps, views, and forms to a Dataverse AppModule?

Adding SiteMaps, views, and forms to a Dataverse AppModule uses the AddAppComponents Web API action to attach these components programmatically within a single solution for consistent deployment.

Can I deploy a model-driven Power Platform app entirely through Web API scripts?

Yes, you can deploy a model-driven Power Platform app entirely through Web API scripts by orchestrating end-to-end steps: generating SiteMap XML, creating AppModules, adding components, applying security roles, validating, and publishing.

Does automating Dataverse app deployment apply Basic User security roles automatically?

Automating Dataverse app deployment applies Basic User security roles automatically by executing the appropriate Web API actions during the deployment pipeline to ensure the AppModule is accessible to users.

When should I validate a model-driven app before publishing in Dataverse?

You should validate a model-driven app before publishing in Dataverse by running the ValidateApp Web API action to ensure all added components, SiteMaps, and AppModules are correctly configured and solution containment is maintained.

What are the limitations of deploying Dataverse AppModules via Web API scripts?

A limitation of deploying Dataverse AppModules via Web API scripts is that all components, including SiteMaps, views, and forms, must be strictly contained within a single solution for the automated deployment to succeed.