Set up a Windows PC (Intel/AMD x64 or ARM64 Windows 11) for Microsoft's Power Platform plugins in GitHub Copilot (desktop app, VS Code, or CLI) or Claude Code.
- Install only what you need: pick the Power Platform workloads you want first, and
Setup.cmdchecks and installs only the Windows prerequisites those workloads require (or choose full 5-tool workstation setup). - Approval-gated & safe: checks are offline and read-only; every install, plugin, MCP server, and sign-in step asks before changing anything.
- Persistent environment routing: connect once with
power-platform-connect, andpower-platform-routerlets future projects confirm Environment X and Solution Y without re-asking for URLs, Tenant IDs, or emails.
- Click Code > Download ZIP on this repository.
- Right-click the downloaded ZIP, choose Extract All, and open the extracted folder.
Choose Option A (use your AI agent) or Option B (double-click Setup.cmd)—both run the same Setup.ps1 script.
- Open GitHub Copilot (desktop app, VS Code, or CLI) or Claude Code and attach/open the extracted folder (in the Copilot desktop app: + > Add local folder or repository). You do not need Git installed first.
- Paste this one short prompt:
Help me set up Power Platform using this folder. Ask which app I use and let me choose one or multiple workloads, check and install only the combined prerequisites they need with my approval, help me add the plugins, and then ask if I want to connect to an environment.
Or ask directly for what you want in plain English:
- "Install the prerequisites for Model-driven apps."
- "Set up Canvas apps and Power Automate for me."
- "Just add the Power Platform marketplace."
Full step-by-step screenshots: see the Visual Walkthrough & Media Bank (screenshots are viewable on GitHub and excluded from .zip downloads so the download stays tiny).
Preview screenshots: attach folder, select multiple workloads, and confirm marketplace
Attach the setup folder or repository and send the short prompt:
Pick one or multiple workloads at once (for example 1,2,3,5):
On the GitHub Copilot desktop app, Setup opens the native Add plugin marketplace? dialog directly inside the app (Allow -> Add), waits for your confirmation, and then opens each selected plugin's install prompt one by one before offering environment connection:
- Double-click
Setup.cmd(shown in File Explorer as Setup). Start as your normal Windows user—Windows will prompt separately if an installer needs administrator permission. - Choose your setup mode:
1= Select Power Platform plugins or marketplace (Recommended): enter one or more numbers/IDs (e.g.2, 3, 7),M(marketplace only), orA(all 11), then pick your app. Setup checks and installs only the prerequisites your selection needs.2= Full workstation setup: checks and installs all 5 core tools (Git > Node.js/npm > .NET 10 SDK > PAC CLI > Azure CLI).
- Review the preflight summary and type
INSTALLto approve any missing tools. Existing Node 22.18+ (22.x), 24 or 26 with npm 10+ is preserved (fresh installs use 24 LTS), and PAC CLI must be newer than 2.10.0. - Follow or press Enter to skip the optional stages:
PLUGINS/MARKETPLACE: adds the official marketplace and your chosen plugins in Claude Code CLI, Copilot CLI, or the Copilot desktop app.MCP: registers@microsoft/copilot-studio-mcp@latest(close the target app first; does not sign in).SKILL: installspower-platform-connectandpower-platform-routerinto your personal skills directory (~/.copilot/skills/or~/.claude/skills/).
- Reopen your app and terminals if new Windows tools changed
PATH.
When you choose one or several workloads, Setup.ps1 computes the union of their required Windows tools automatically (including .NET 10 SDK whenever PAC CLI is needed):
Plugin (-Plugins) |
What it builds | Auto-installed Windows prerequisites | Workload notes |
|---|---|---|---|
model-apps |
Model-driven apps & generative pages | Git, Node.js/npm, .NET 10 SDK, PAC CLI (> 2.10.0), Azure CLI |
Uses PAC, Node 22+, and Azure CLI (az account get-access-token). |
canvas-apps |
Canvas Apps authoring | Git, .NET 10 SDK | Skips Node, PAC, and Azure CLI. Enable Studio coauthoring on the app. |
code-apps-preview |
Power Apps Code Apps (React/Vite) | Git, Node.js/npm | Skips .NET, PAC, and Azure CLI. Uses project-local pa CLI during scaffold. |
power-pages |
Power Pages websites & portals | Git, Node.js/npm, .NET 10 SDK, PAC CLI (> 2.10.0), Azure CLI |
Full web, Dataverse, PAC, and Azure toolchain. |
power-automate |
Power Automate cloud & desktop flows | Git, Node.js/npm, Azure CLI | Skips .NET and PAC. Uses bundled FlowAgent + az login. |
process-intelligence |
Process Intelligence / process mining | Git, Node.js/npm, Azure CLI | Skips .NET and PAC. |
pcf |
Power Apps component framework controls | Git, Node.js/npm, .NET 10 SDK, PAC CLI (> 2.10.0), Azure CLI |
Full PCF build, PAC push, and verification toolchain. |
dataverse (opt-in) |
Dataverse tables, schema, data & solutions | Git, Node.js/npm, .NET 10 SDK, PAC CLI (> 2.10.0), Azure CLI |
@microsoft/dataverse npm CLI and optional Python SDK are offered later during connection setup. |
mobile-app |
Standalone mobile apps (Private Preview) | Git, Node.js/npm, Azure CLI | Skips .NET and PAC. Upstream docs note Node 24 LTS, Git Bash/WSL, and Power Apps Mobile Preview. |
power-apps-mobile-extension |
Native extensions for wrapped Canvas Apps | Git, Node.js/npm, .NET 10 SDK, PAC CLI (> 2.10.0) |
Skips Azure CLI. Native .ppmplugin builds also need JDK 17+ / Android SDK 35 (or macOS Xcode 16+). |
mcp-apps |
Codeful MCP server tools & HTML widgets | Git, Node.js/npm, .NET 10 SDK, PAC CLI (> 2.10.0) |
Skips Azure CLI. PAC/.NET are used when querying Dataverse schemas. |
| (Marketplace only) | Add microsoft/power-platform-skills catalog |
Git | -MarketplaceOnly -Prerequisites FromPlugins checks/installs only Git. |
VS Code Copilot users do not need Copilot CLI or Claude Code—only Git on PATH (fully exit and reopen VS Code if Git was just installed):
- Open Customizations (or Customize) > Browse.
- Open the source dropdown (All Sources) > Configure Marketplaces.
- Select Add Marketplace..., enter
microsoft/power-platform-skills, and press Enter. - Select power-platform-skills in the source dropdown.
- Click Install beside each plugin you want (Command Palette alternative: Chat: Manage Plugin Marketplaces > Add Marketplace...).
Once your plugins are installed, power-platform-connect guides persistent sign-in and saves a private, token-free binding record at %LOCALAPPDATA%\PowerPlatformSetup\connections\<alias>.json:
- Checks what is installed: connects PAC CLI (
pac env listenvironment picker or manual URL) and Azure CLI (tenant-isolatedAZURE_CONFIG_DIR) when installed and used by your plugins, and checks whether thedataverseplugin is installed before offering Dataverse CLI (@microsoft/dataverse) and Dataverse MCP (skipping them cleanly ifdataverseis not installed). - Maps per-environment MCP servers: records which Dataverse MCP, Power Automate FlowAgent MCP, and Copilot Studio MCP server belongs to each saved environment.
- Automatic routing in future projects (
power-platform-router): when installed into your personal skills folder (SKILLstage or-ConnectionSkillHost), future chats, Projects (like Code Apps or Model Apps), and child sessions read your saved<alias>.jsonrecords automatically—asking you to confirm Environment X and Solution Y instead of re-asking for Environment URLs, Environment IDs, Tenant IDs, or sign-in emails.
See Chapters 4–6 of the Visual Walkthrough & Media Bank for full screenshots of PAC/Dataverse/Azure connection setup, FlowAgent & Copilot Studio MCP linking, and 6-tool router verification.
| Skill | Scope | Purpose |
|---|---|---|
skills/power-platform-setup |
Workspace (auto-discovered in this folder) | Guides first-time Windows prerequisite checks/installs, marketplace & plugin selection, optional Copilot Studio MCP registration, and installing the two personal skills below. |
skills/power-platform-connect |
Personal (~/.copilot/skills/ or ~/.claude/skills/) |
Discovers/connects Power Platform environments across PAC, Azure CLI, Dataverse CLI, and MCP servers, saving token-free <alias>.json binding records. |
skills/power-platform-router |
Personal (~/.copilot/skills/ or ~/.claude/skills/) |
Loads before/alongside Power Platform build skills (create-code-app, model-apps, power-automate, dataverse, etc.) to reuse saved environments, confirm Environment X and Solution Y, and route per-environment MCP servers. |
Run a read-only, offline check at any time without changing your PC:
.\Setup.cmd -CheckOnly- Exit codes:
0= ready/completed,1= missing/unsupported prerequisites in-CheckOnly,2= cancelled or invalid options / missing CLI handoff,3= error (re-run-CheckOnlyafter any active installer finishes),4= Copilot desktop app confirmation pending,3010= Windows restart required. - Restarting the GitHub Copilot desktop app & enabling skills: closing the window (
X) can leave background processes running. If newly installedPATHtools, MCP servers, or personal skills (power-platform-connect,power-platform-router) don't appear, open Windows Task Manager (Ctrl+Shift+Esc), click End task on GitHub Copilot, reopen the app, and check Customize > Installed (under Skills) to ensure the skill toggles are switched on. "hook errored"when savingmcp-config.json: some plugins (such asmodel-apps@power-platform-skills) attach a pre-tool-use file-write hook that can error on Windows when writing%USERPROFILE%\.copilot\mcp-config.json. Temporarily toggle that plugin off in Customize > Installed, retry savingmcp-config.json, and toggle it back on.- Recovering from a transient installer lock (
exit code: 3): wait for any active background installer or Windows restart to finish, run.\Setup.cmd -CheckOnlyto see what already completed, and rerunSetup.cmd(compatible installed tools are skipped automatically). - Detailed Technical Guide: all CLI flags, SHA256/SHA512 & Authenticode verification, ARM64 emulation details, weekly Node LTS review workflow, and contributor tests (
.\scripts\Test-Setup.ps1). - Visual Walkthrough & Media Bank: complete, descriptively named screenshot library of the end-to-end onboarding, connection, MCP linking, and router workflow (kept out of
.zipdownloads so the download stays lightweight). - License: MIT (vendor tools have their own licenses; community bootstrap, not an official Microsoft product).








