add-data-source
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and…
Adds any Power Platform connector to a Power Apps code app. Generic fallback for connectors not covered by a specific skill.
Claude Code
$ npx -y skills add microsoft/power-platform-skills --skill add-connector --agent claude-code
Codex
$ npx skills add microsoft/power-platform-skills --skill add-connector -a codex -y
Cursor
$ npx skills add microsoft/power-platform-skills --skill add-connector -a cursor -y
Gemini CLI
$ npx skills add microsoft/power-platform-skills --skill add-connector -a gemini-cli -y
GitHub Copilot
$ npx skills add microsoft/power-platform-skills --skill add-connector -a github-copilot -y
OpenCode
$ npx skills add microsoft/power-platform-skills --skill add-connector -a opencode -y
Windsurf
$ npx skills add microsoft/power-platform-skills --skill add-connector -a windsurf -y
name: add-connector description: Adds any Power Platform connector to a Power Apps code app. Generic fallback for connectors not covered by a specific skill. user-invocable: true allowed-tools: Read, Edit, Write, Grep, Glob, Bash, LSP, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, Skill model: sonnet
**📋 Shared Instructions: [shared-instructions.md](../../shared/shared-instructions.md)** - Cross-cutting concerns.
Fallback skill for any connector not covered by a specific `/add-*` skill. For common connectors, prefer the dedicated skills:
1. Check Memory Bank → 2. Identify Connector → 3. Add Connector → 4. Inspect & Configure → 5. Build → 6. Update Memory Bank
---
Check for `memory-bank.md` per [shared-instructions.md](../../shared/shared-instructions.md).
**If `$ARGUMENTS` is provided or the caller already specified the connector**, use it directly and skip the question below.
Otherwise, ask the user which connector they want to add. Browse available connectors: [Connector Reference](https://learn.microsoft.com/en-us/connectors/connector-reference/)
**Before proceeding, check if the connector has a dedicated skill. If it does, delegate immediately and STOP:**
| Connector API name | Delegate to | | --------------------------- | ------------------ | | `shared_a365copilotchatmcp` | `/add-workiq` | | `sharepointonline` | `/add-sharepoint` | | `teams` | `/add-teams` | | `excelonlinebusiness` | `/add-excel` | | `onedriveforbusiness` | `/add-onedrive` | | `visualstudioteamservices` | `/add-azuredevops` | | `office365` | `/add-office365` | | `commondataservice` | `/add-dataverse` |
Match the API name with or without the `shared_` prefix (`pa connector list` shows it with the prefix, e.g. `shared_teams`).
Invoke the appropriate skill with the same `$ARGUMENTS` and **do not continue this skill's workflow**.
Common connector API names:
Get the connection as described in [connector-reference.md](../../shared/connector-reference.md#connections). On CLI 1.3.0+ (`PA_INLINE_CONNECTIONS=yes`), tell the user a connection may be created with their account, run the add without `-c` and with `--non-interactive`, and handle the result with the outcome table there. On older CLIs, run `/list-connections` first to find the connection ID (if none exists, create one with `pa connection create` as described in connector-reference.md) and pass `-c <connection-id>`.
# CLI 1.3.0+, connectors that only have actions (Teams, Office 365 Outlook, Azure DevOps, ...): # the CLI finds or creates the connection pa app add data-source --connector <connector-api-name> --non-interactive # CLI 1.3.0+, connectors that also support tables (SharePoint, SQL Server, Excel): choose # --as action (or a table, below). Without either, --non-interactive fails on the missing choice. pa app add data-source --connector <connector-api-name> --as action --non-interactive # Older CLIs: pass the connection ID pa app add data-source --connector <connector-api-name> -c <connection-id> # Tables (SharePoint, Excel, SQL, etc.) on any CLI: dataset and table, plus the connection ID used to find them pa app add data-source --connector <connector-api-name> -c <connection-id> -d '<dataset>' --table '<table>'
To check whether a connector also supports tables, read `isTabular` from `pa connector list --search '<connector name>' --json`.
Finding a table's dataset and name (`pa connection list-datasets` / `list-tables`) needs a connection ID: unlike `add data-source`, these commands don't find or create connections, and without `-c` they fail in non-interactive mode. So for tables, look the connection up first, even on CLI 1.3.0+ (`pa connection list --search <connector-api-name> --json`).
**Parameter reference:**
After adding, inspect the generated files. **Generated service files can be very large** -- use `Grep` to find specific methods instead of reading the entire file:
Grep pattern="async \w+"
Plugins from Microsoft that teach AI assistants, such as GitHub Copilot and Claude Code, to build on Power Platform.
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and…
Creates or edits a Power Apps Canvas App through the Canvas Authoring MCP coauthoring session. Handles staged experience design,…
Configure the Canvas Authoring MCP server for the current coauthoring session. Use before starting to edit a canvas app with the…
Use this skill when the user wants to "report a bug", "file an issue", "report an issue", "submit a bug report", or report any…
Adds Azure DevOps connector to a Power Apps code app. Use when querying work items, creating bugs, managing pipelines, or making…
Adds a data source or connector to a Power Apps code app. Asks what the user wants to accomplish and routes to the appropriate…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.