list-connections
Agent skill frommicrosoft/power-platform-skills
Lists Power Platform connections in the current environment. Use when you need a connection ID before adding a connector to a code app (required on Power Apps CLI versions before 1.3.0), to choose between several connections, or to troubleshoot a connection.
How to install list-connections
install list-connections
# install the power-platform-skills pack with the skills CLI
npx skills add microsoft/power-platform-skills# or add only this skill to Claude Code: copy the folder
plugins/code-apps/skills/list-connections/
# into
~/.claude/skills/list-connections/ (all projects)
.claude/skills/list-connections/ (one project)
1**📋 Shared Instructions: [shared-instructions.md](../../shared/shared-instructions.md)** - Cross-cutting concerns (Windows CLI compatibility, memory bank, etc.).23# List Connections45Lists all Power Platform connections in the current environment using the Power Apps CLI.67On CLI 1.3.0+ (`PA_INLINE_CONNECTIONS=yes`), connector skills don't need this first: `pa app add data-source` finds or creates the connection itself (see [connector-reference.md](../../shared/connector-reference.md#connections)). Use this skill there to choose between several connections or to check what exists. On older CLIs it's the required first step before adding a connector.89## Workflow10111. Fetch Connections → 2. Present Results1213---1415### Step 1: Fetch Connections1617> Resolve the CLI first (see [cli-binary.md](../../shared/cli-binary.md)): run as `$PA connection list` (`npx --no-install pa …`), never a bare `pa`. On `power-apps`-only projects, translate to `power-apps list-connections`.1819```bash20pa connection list21```2223To show only one connector's connections, add `--search '<connector name or ID>'`.2425If the CLI reports that you're not signed in, run `pa auth login` (it opens the browser for sign-in), then retry.2627**Other failures:**28- Non-zero exit for any reason other than auth: Report the exact output. STOP.29- No output or empty results: Verify the correct environment ID is set in `power.config.json`, then retry once.3031### Step 2: Present Results32…
Excerpt shown under the repository's MIT license.
