Tooluck logoTooluck
SKILL.md

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)

plugins/code-apps/skills/list-connections/SKILL.md

MITFull file
1**📋 Shared Instructions: [shared-instructions.md](../../shared/shared-instructions.md)** - Cross-cutting concerns (Windows CLI compatibility, memory bank, etc.).
2
3# List Connections
4
5Lists all Power Platform connections in the current environment using the Power Apps CLI.
6
7On 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.
8
9## Workflow
10
111. Fetch Connections → 2. Present Results
12
13---
14
15### Step 1: Fetch Connections
16
17> 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`.
18
19```bash
20pa connection list
21```
22
23To show only one connector's connections, add `--search '<connector name or ID>'`.
24
25If the CLI reports that you're not signed in, run `pa auth login` (it opens the browser for sign-in), then retry.
26
27**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.
30
31### Step 2: Present Results
32…

Excerpt shown under the repository's MIT license.

More skills in power-platform-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates