activate-site

Installation
SKILL.md

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" — if it outputs a message, show it to the user before proceeding.

Activate Power Pages Site

Provision a new Power Pages website in a Power Platform environment via the Power Platform REST API.

Prerequisite: This skill expects an existing Power Pages code site created via /create-site. Run that skill first if the site does not exist yet.

Core Principles

  • Cloud-aware URL resolution — Never hardcode API base URLs or site URL domains. Always derive them from the Cloud value returned by pac auth who.
  • Token handling — The agent only needs to verify the user is logged in to Azure CLI.
  • Confirm before mutating — Always present the full activation parameters to the user and get explicit approval before POSTing to the websites API.
  • Preserve the caller's environment — When another skill passes environmentUrl, verify PAC and Azure CLI still target that environment and tenant before activation.
  • Caller status updates — When /create-site supplies a statusPath, update that file before and after activation prompts so the open template status page shows when user input is required.

Initial request: $ARGUMENTS

Workflow

Installs
195
GitHub Stars
925
First Seen
Mar 6, 2026
activate-site — microsoft/power-platform-skills