
List Connections
List Power Platform connections in the current environment and capture Connection IDs for adding data sources to a code app.
Install
npx skills add https://github.com/microsoft/power-platform-skills --skill list-connectionsWhat is this skill?
- Two-step workflow: fetch via CLI, then present Connection IDs for `-c <connection-id>`
- Runs `npx power-apps list-connections` with automatic browser login if unauthenticated
- Surfaces make.powerapps.com Connections URL with environment ID when a connector is missing
- Retries once after verifying environment ID in power.config.json on empty results
- User-invocable slash-style skill with Bash as the allowed tool
Adoption & trust: 76 installs on skills.sh; 349 GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Connector wiring happens during Build when you bind a code app to external systems; you need authoritative connection IDs from the active environment before CLI add-data-source steps. Integrations subphase covers linking apps to SaaS and Dataverse backends; listing connections is the discovery step immediately before `-c <connection-id>` usage.
Common Questions / FAQ
Is List Connections safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - List Connections
**📋 Shared Instructions: [shared-instructions.md](${CLAUDE_PLUGIN_ROOT}/shared/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. ## Workflow 1. Fetch Connections → 2. Present Results --- ### Step 1: Fetch Connections ```bash npx power-apps list-connections ``` If the CLI is not authenticated, it will open a browser for login automatically. Complete the login and 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 needed connector is missing:** 1. Share the direct Connections URL using the active environment ID from context (from `power.config.json` or a prior step): `https://make.powerapps.com/environments/<environment-id>/connections` → **+ New connection** 2. Search for and create the connector, then complete the sign-in/consent flow 3. Re-run `/list-connections` to get the new connection ID