activate-site

Automate Power Pages site provisioning with PAC CLI and Azure CLI prerequisites.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates provisioning of a Power Pages site in a Power Platform environment, ensuring prerequisites are checked, parameters gathered, and provisioning status reported through a safe, auditable workflow.

Core Features & Use Cases

  • End-to-end activation workflow including prerequisites checks (PAC CLI auth, Azure login), site name and subdomain gathering, website record lookup, and progressive activation via API with polling.
  • Handles subdomain conflicts by prompting for a new subdomain and validating input, plus support for using existing site records or creating new ones as needed.
  • Provides explicit user confirmation before activation and a final summary with the site URL and next steps.

Quick Start

Provide a siteName and subdomain to provision a new Power Pages site using this activation workflow.

Frequently Asked Questions about activate-site

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

FAQPage Schema
How do I automate Power Pages site provisioning in a Power Platform environment?▼

Automate Power Pages site provisioning by submitting a user-specified site name, subdomain, and environment to an activation API, which handles prerequisite checks, token handling, and polling to report the final site URL.

What prerequisites are needed to activate a Power Pages site via CLI?▼

Activating a Power Pages site requires PAC CLI authentication and Azure CLI login to satisfy prerequisite checks, ensuring proper token handling and environment access before submitting the provisioning API request.

How do I handle subdomain conflicts when creating a new Power Pages site?▼

Handle subdomain conflicts during Power Pages site creation by validating the generated subdomain and prompting for a new one if a conflict occurs, ensuring the activation API accepts the unique subdomain.

How does the Power Pages site activation workflow validate completion?▼

The Power Pages site activation workflow validates completion by continuously polling the API status after the initial POST request, ultimately generating a final summary report with the provisioned site URL and next steps.

Can I use an existing website record when provisioning a Power Pages site?▼

Yes, the Power Pages provisioning workflow supports looking up existing website records to use for activation, or creating a new site record as needed based on the specified site name and environment.

What is the best way to provision a new Power Pages site end-to-end?▼

The best way to provision a Power Pages site end-to-end is using an automated workflow that performs prerequisite checks, gathers parameters, submits the activation API request, and polls for completion while handling subdomain validation.