list-connections

Lists Power Platform connections in the current environment. Use when you need a connection ID before adding a connector to a code app.

npx skills add https://github.com/microsoft/power-platform-skills --skill 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

  1. 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 bare pa. On power-apps-only projects, translate to power-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:

  1. 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).
  2. To create one now, confirm with the user, then run pa connection create --connector <connector-id> yourself (power-apps create-connection -a <connector-id> on power-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 (or npx --no-install pa connection create --connector <connector-id> if pa isn't recognized). As a last resort, share the 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.
  3. Re-run /list-connections to get the new connection ID.

More skills from microsoft

oss-growth
microsoft
OSS growth hacker persona
agent-framework-azure-ai-py
microsoft
Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming responses. Covers function tools, structured outputs, and multi-tool agents.
development
airunway-aks-setup
microsoft
Set up AI Runway on AKS β€” from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider setup, and first deployment. WHEN: "setup AI Runway", "onboard AKS cluster", "install AI Runway", "airunway setup", "deploy model to AKS", "GPU inference on AKS", "KAITO setup on AKS", "run LLM on AKS", "vLLM on AKS", "set up model serving on AKS", "AI Runway controller".
devops
appinsights-instrumentation
microsoft
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
devops
applicationinsights-web-ts
microsoft
Instrument browser/web apps with the Application Insights JavaScript SDK (@microsoft/applicationinsights-web). Use for Real User Monitoring (RUM) β€” page views, clicks, AJAX/fetch dependencies, exceptions, custom events, and browser-side GenAI agent traces correlated to backend OpenTelemetry traces. Covers SDK Loader Script and npm setup, framework extensions (React, React Native, Angular), Click Analytics, telemetry initializers, and OTel GenAI semantic conventions for agent/tool/model spans emitted from the browser.
devops
azure-ai-anomalydetector-java
microsoft
Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate/multivariate anomaly detection, time-series analysis, or AI-powered monitoring.
development
azure-ai-language-conversations-py
microsoft
Implement Conversational Language Understanding (CLU) using the azure-ai-language-conversations Python SDK. Use when working with ConversationAnalysisClient to analyze conversation intent and entities, building NLP features, or integrating language understanding into applications.
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python. Use for ML workspaces, jobs, models, datasets, compute, and pipelines. Triggers: "azure-ai-ml", "MLClient", "workspace", "model registry", "training jobs", "datasets".
development