Skip to main content
skill CX Codex

list-connections · microsoft, code-apps — Claude Code skill: get Power Platform connection IDs

list-connections — a Claude Code skill that retrieves all Power Platform connections in your current environment. Pull the connection ID before adding a data source connector to your app.

MIT ★ 1,167 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add microsoft/power-platform-skills
/plugin install code-apps-preview@power-platform-skills
Open on GitHub

What list-connections does

Runs the Power Apps CLI command pa connection list and displays available connections with their IDs—each one can then be used in -c <connection-id> when binding a data source. If a needed connector is missing, the skill provides a direct link to create it in Power Apps, complete the sign-in flow, and return to retrieve the new ID.

Most of the time it runs instantly, but if the CLI is not authenticated, a browser window opens for login; retry the command after signing in.

What it helps with

  • retrieve a connection ID before adding a data source
  • list all connectors already created in the environment
  • verify which connection to use for binding

Example prompts for the agent

  • Show me all available Power Platform connections
  • What's the ID of the SharePoint connection?
  • List connections in the current environment

How to install list-connections

1Plugin marketplace

/plugin marketplace add microsoft/power-platform-skills
/plugin install code-apps-preview@power-platform-skills

This installs the whole code-apps-preview plugin with all its skills

2Skills CLI (Vercel)

npx skills add microsoft/power-platform-skills --skill list-connections -a claude-code

3Manually: put the files in place

~/.claude/skills/list-connections/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/list-connections/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about list-connections

How do I install list-connections in Claude Code?

Run /plugin marketplace add microsoft/power-platform-skills, then /plugin install code-apps-preview@power-platform-skills, then npx skills add microsoft/power-platform-skills --skill list-connections -a claude-code. The skill will be available at ~/.claude/skills/list-connections/SKILL.md.

What does list-connections do?

It runs pa connection list and shows all Power Platform connections in the current environment, including the connection ID needed when you add a data source to your app.

What if the connector I need is not in the list?

The skill outputs the Power Apps connections URL: https://make.powerapps.com/environments/<environment-id>/connections. Go there, create the new connection, complete sign-in, then run the skill again to get its ID.

Source text

SKILL.md · MIT
---
name: list-connections
description: Lists Power Platform connections in the current environment. Use when you need a connection ID before adding a connector to a code app.
user-invocable: true
allowed-tools: Bash
model: haiku
---

**📋 Shared Instructions: [shared-instructions.md](${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

> Resolve the CLI first (see [cli-binary.md](${PLUGIN_ROOT}/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`.

```bash
pa connection list
```

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

© Microsoft · MIT · microsoft/power-platform-skills

Similar skills

All skills for Agent setup: memory, context, orchestration →

list-connections by other authors comes first.

list-connections Microsoft list-connections finds or provisions Power Platform connections and references for Expo and React Native apps. Handy when linking data sources via CLI. CX Codex +1 ★ 1,167repo stars Power Platform Expert official github Power Platform Expert — a GitHub Copilot subagent for Power Platform work: Power Apps, Dataverse, connectors, Power Automate. It answers questions on architecture, security and deployment for Microsoft solutions. CX Codex +1 ★ 41,430repo stars pcf-tooling official github pcf-tooling — a GitHub Copilot rule that brings Microsoft Power Platform CLI context into Power Apps Component Framework projects. Triggers on TypeScript, JavaScript, JSON, XML and PCF project files. CX Codex +1 ★ 41,430repo stars workflows-list zapier workflows-list lists durable Zapier workflows via the CLI and inspects drafts. Useful for inspecting deployed automations directly from your agent session. CX Codex +1 500installs build-connector official anthropics build-connector finds a working way to link Claude to a tool with no official connector, then carries the connection through to something usable. CX Codex +1 382installs configuring-connections celigo configuring-connections configures Celigo connections and shared iClient credentials for external APIs, databases, and cloud services. CX Codex +1 4,000installs recipe-create-task-list official googleworkspace recipe-create-task-list creates a new Google Tasks list and populates it with starter items via CLI. Useful when setting up initial project milestones. CX Codex +1 31,300installs

From the same set157

The whole set →
report-issue The report-issue skill guides a GitHub issue for a bug or other problem with the model-apps plugin. Use it when you want to report an issue. CX Codex +1 ★ 1,167repo stars open-wrap-url open-wrap-url opens the Power Apps Wrap page for a given app in the browser. Builds the URL from app and environment IDs, delegates browser launch to the OS. CX Codex +1 ★ 1,167repo stars report-issue report-issue drafts Process Intelligence bug reports and support summaries for failed operations without exposing sensitive data. CX Codex +1 ★ 1,167repo stars telemetry Sets whether the Power Apps Mobile Extension skills send usage telemetry: on, off or status. Useful when you want out of collection or a quick look at the current setting. CX Codex +1 ★ 1,167repo stars deploy Builds and pushes Power Apps code apps directly to Power Platform. Useful when shipping updates or redeploying an existing project from Claude Code. CX Codex +1 ★ 1,167repo stars add-teams The add-teams skill connects Microsoft Teams to a Power Apps code app and helps configure chat messages or channel posts. CX Codex +1 ★ 1,167repo stars analytics analytics is a Claude Code skill that routes Process Mining queries, shows process and event/variant metrics, and loads a specialist skill for deeper analysis. CX Codex +1 ★ 1,167repo stars canvas-create-screens canvas-create-screens organizes approved functional requirements into task-focused screens, states, and navigation paths for Canvas apps before UI control selection. CX Codex ★ 1,167repo stars

Project sponsors

Companies that keep this analytics open