Ensures the tenant has a usable Power Platform Pipelines host environment before any pipeline operation runs. Detects host state via the same resolution order as the Power Apps UI (org-db setting → BAP env metadata → default-custom-host setting); if any existing host (Platform or Custom) is found, uses it.
安装
npx skills add microsoft/power-platform-skills --skill ensure-pipelines-hostnpx skills add microsoft/power-platform-skills --skill ensure-pipelines-host -a claude-code -gnpx skills add microsoft/power-platform-skills --skill ensure-pipelines-host -a codex -ggemini skills install https://github.com/microsoft/power-platform-skills.git --path plugins/power-pages/skills/ensure-pipelines-hostgh skill install microsoft/power-platform-skills ensure-pipelines-hostgit clone --depth 1 https://github.com/microsoft/power-platform-skills /tmp/microsoft__power-platform-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__power-platform-skills/plugins/power-pages/skills/ensure-pipelines-host ~/.claude/skills/ensure-pipelines-host # Claude Code
cp -R /tmp/microsoft__power-platform-skills/plugins/power-pages/skills/ensure-pipelines-host ~/.agents/skills/ensure-pipelines-host # Codex, Cursor, Gemini CLI, Copilot, OpenCode