Install List Connections
Pick your agent. Every command is ready to paste.
npx skills add microsoft/power-platform-skills --skill list-connectionsThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads list-connections when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the list-connections skill”. In Codex, type $list-connections.
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns (Windows CLI compatibility, memory bank, etc.).
List Connections
Lists all Power Platform connections in the current environment using the Power Apps CLI.
On 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). 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.
Workflow
- Fetch Connections → 2. Present Results
Step 1: Fetch Connections
Resolve the CLI first (see cli-binary.md): run as
$PA connection list(npx --no-install pa …), never a barepa. Onpower-apps-only projects, translate topower-apps list-connections.
pa connection list
To show only one connector's connections, add --search '<connector name or ID>'.
If the CLI reports that you're not signed in, run pa auth login (it opens the browser for sign-in), then retry.
Other failures:
- Non-zero exit for any reason other than auth: Report the exact output. STOP.
- No output or empty results: Verify the correct environment ID is set in
power.config.json, then retry once.
Step 2: Present Results
Show the connection list to the user. The Connection ID is what goes into -c <connection-id> when adding a data source. If the connector has several connections, let the user choose; don't pick one for them.
If the needed connector has no connection:
- On CLI 1.3.0+, the connector's
/add-*skill usually handles this: the add creates single sign-on connections itself, and otherwise hands creation to the user (see connector-reference.md). - To create one now, confirm with the user, then run
pa connection create --connector <connector-id>yourself (power-apps create-connection -a <connector-id>onpower-apps-only projects). Connectors whose only sign-in option is the user's Microsoft account are created silently. If the CLI says the connection needs a browser sign-in it can't do here, ask the user to run the same command in their own terminal from the project folder (ornpx --no-install pa connection create --connector <connector-id>ifpaisn't recognized). As a last resort, share the Connections URL using the active environment ID from context (frompower.config.jsonor a prior step):https://make.powerapps.com/environments/<environment-id>/connections→ + New connection. - Re-run
/list-connectionsto get the new connection ID.
Tips for List Connections
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 24 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about List Connections
What does the List Connections skill do?
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 do I install List Connections?
Run "npx skills add microsoft/power-platform-skills --skill list-connections" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does List Connections work in Cursor and Codex?
Yes. List Connections uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is List Connections free?
List Connections is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made List Connections?
List Connections is published by Microsoft in the microsoft/power-platform-skills repository, together with 23 other skills.




