Skip to content
cccskills
Official · MicrosoftFreePublished on GitHub

list-connections

Use to find or create a Power Platform connection ID or reference for an Expo/React Native Power Apps mobile app.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" - if it outputs a message, show it to the user before proceeding.

📋 Shared instructions: shared-instructions.md — read first for cross-cutting concerns (Windows CLI compatibility, memory bank, etc.).

List Connections

App root: before any project read or command, execute app-working-directory.md. Reuse the resolved absolute working_dir for every shell call and file tool, including auth retries and the environment read used for portal URLs. Forwarded owner context is required for child calls; do not fall back to the launch directory. Reapply the guard and arguments in each fresh call.

Finds or creates a Power Platform connection with the Power Apps CLI. Returns the Connection ID or Connection Reference that callers feed into pa app add data-source.

Workflow

  1. Get Connection → 2. Present Results

Step 1 — Get Connection

Telemetry checkpoint: resolve_power_platform_connection

Use one of the supported paths below.

If the caller already provided a connection ID, validate the connector/API ID from context and return it as-is for --connection-id.

Preserve any supplied connection reference as well; do not create a replacement. Creation requires current approval for the selected environment and connector. For --plan-only or a planning-phase handoff, perform only permitted read-only lookup and return missing access/identity to the owner; never create a connection to unblock discovery. The invocation marker does not grant creation consent.

If the caller provided a connector API ID and needs a new connection, create it from the app root:

Resolve the CLI first (see cli-binary.md): run as $PA connection create … (npx --no-install pa …), never a bare pa. On power-apps-only projects, translate to power-apps create-connection --api-id ….

cd -- '<working_dir>' || { echo "BLOCKED: cannot enter working_dir" >&2; exit 1; }
$PA connection create --connector <api-id> --json

Use the returned connectionId for --connection-id <connectionId>. Optional display names are supported:

cd -- '<working_dir>' || { echo "BLOCKED: cannot enter working_dir" >&2; exit 1; }
$PA connection create --connector <api-id> --display-name '<display-name>' --json

Browser-based connection creation is disabled by default. If the connector is not SSO-eligible and the command reports that browser creation is disabled, tell the user to either set POWERAPPS_CLI_ENABLE_BROWSER_CONNECTION=true and rerun the command, or create the connection in the maker portal.

Step 1b — Fetch Connection References When Solution-Aware

If the caller provided a solution ID and needs a connection reference name, list connection references from the app root:

cd -- '<working_dir>' || { echo "BLOCKED: cannot enter working_dir" >&2; exit 1; }
$PA connection list-references --solution-id <solution-id> --json

If a matching connection reference exists, return its reference name for --connection-ref <connection-ref>.

If pa connection create or pa connection list-references fails because of auth, wrong user, multiple accounts, no output, or timeout, follow shared-instructions command-failure handling and retry once from the same guarded root. A missing app-local CLI is a blocker, not permission to retry without --no-install or install another version.

Other failures:

  • Non-zero exit for any reason other than auth: report the exact output. STOP.

Step 2 — Present Results

Show the supported add path. A Connection ID goes into --connection-id <connection-id> when adding a data source. When Step 1b was requested, also show matching connection references; a Connection Reference goes into --connection-ref <connection-ref>.

If the needed connector is missing:

  1. Share the direct Connections URL using the active environment ID from context (read from <working_dir>/power.config.json environmentId): 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. Rerun /list-connections <api-id> or provide the portal connection ID so the data-source skill can continue

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

activate-site

Official · MicrosoftFree

Activates and provisions a Power Pages website in a Power Platform environment via the Power Platform REST API. Use when the user wants to activate, provision, turn on, or enable a Power Pages website or portal.

The English summary is being prepared. Showing the original description.

microsoft/power-platform-skills1.1KUpdated Oct 23, 2026

add-ai-webapi

Official · MicrosoftFree

Integrates Power Pages generative-AI summarization APIs (PREVIEW) into a Single Page Application (SPA) site — the Search Summary API and the Data Summarization API — on any record-detail or list page. Generates per-target service code (CSRF-handled) and AI site settings; delegates Web API settings, table permissions, and web roles to `/integrate-webapi` and `/create-webroles`. Use whenever a user wants AI/Copilot output that condenses Dataverse content on a Power Pages site — an AI summary, AI-generated overview or "key insights" across a record or list, a search-results summary, a case/incident summary, or recommendation-chip refinement — even when phrased as "AI-generated paragraph", "insights", or "overview". Do NOT use for: generative pages in model-driven apps (use the model-apps `genpage` skill), Copilot Studio agents/chatbots, summarizing documents or PDFs, Power BI dashboards, plain keyword search with no AI summary, or plain Dataverse CRUD (use `/integrate-webapi`).

The English summary is being prepared. Showing the original description.

microsoft/power-platform-skills1.1KUpdated Oct 23, 2026

add-azuredevops

Official · MicrosoftFree

Adds Azure DevOps connector to a Power Apps code app. Use when querying work items, creating bugs, managing pipelines, or making ADO API calls.

The English summary is being prepared. Showing the original description.

microsoft/power-platform-skills1.1KUpdated Oct 23, 2026

add-camera

Official · MicrosoftFree

Internal implementation skill invoked by /add-native for camera, image picker, barcode scanner, QR scanner, and camera/gallery Dataverse artifact workflows.

The English summary is being prepared. Showing the original description.

microsoft/power-platform-skills1.1KUpdated Oct 23, 2026

add-cloud-flow

Official · MicrosoftFree

Integrates Power Automate cloud flows into a Power Pages site. Lists available flows, suggests relevant ones based on intent, identifies scenarios and web roles, creates metadata files, and generates client-side code to call flows. Handles both new flow registration and adding already-registered flows to additional pages without re-creating metadata. Use when the user wants to add, connect, register, or link a Power Automate cloud flow to their site.

The English summary is being prepared. Showing the original description.

microsoft/power-platform-skills1.1KUpdated Oct 23, 2026

add-connector

Official · MicrosoftFree

Use when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.

The English summary is being prepared. Showing the original description.

microsoft/power-platform-skills1.1KUpdated Oct 23, 2026

See all skills by microsoft

Report a problem with this skill