add-data-source — Claude Code skill: what it does, how to install
add-data-source is a Claude Code skill that guides you through adding a data source or connector in Power Apps Studio and verifies the result over MCP.
MIT ★ 1,167 updated 2026-10-29
/plugin marketplace add microsoft/power-platform-skills
/plugin install canvas-apps@power-platform-skillsWhat add-data-source does
The skill sorts the request first. A SharePoint list, Dataverse table, SQL table or Excel file gets verified with list_data_sources; a connector such as Office 365 Users or Teams goes through list_apis. Then it spells out the Studio clicks: open the Data panel, hit Add data, search, sign in, pick the table or file. Everything pauses until you confirm it's there.
Next comes verification. On a hit it gives the exact name to use in Power Fx formulas and pulls the column list with get_data_source_schema, or the endpoints with describe_api. On a miss it asks you to check the Studio Data panel and confirm the session is still open, then looks again.
One requirement stands out: the MCP server has to be attached to a live coauthoring session. Without that there is nothing to read back, and the run stalls after the instructions. You never call this skill yourself. It fires from a plain request to add a connection and ships inside the canvas-apps plugin.
What it helps with
- add a SharePoint list to a Canvas App and get its column schema
- hook up a Dataverse or SQL table without leaving the agent chat
- confirm the new connector is actually visible to the MCP server
- find the exact names and types of columns on a fresh data source
- pick up a stalled task once the data is connected
Example prompts for the agent
- Add a SharePoint data source to this Canvas App, then build a gallery from it.
- Connect a Dataverse table and show me its column names and types.
- I need the Office 365 Users connector here. Add it and confirm the agent can see it.
How to install add-data-source
1Plugin marketplace
/plugin marketplace add microsoft/power-platform-skills/plugin install canvas-apps@power-platform-skillsThis installs the whole canvas-apps plugin with all its skills
2Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill add-data-source -a claude-code3Manually: put the files in place
~/.claude/skills/add-data-source/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/add-data-source/
1Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill add-data-source -a codex2Manually: put the files in place
.agents/skills/add-data-source/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill add-data-source -a cursor2Manually: put the files in place
.cursor/skills/add-data-source/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install microsoft/power-platform-skills plugins/canvas-apps/skills/add-data-source2Manually: put the files in place
.github/skills/add-data-source/SKILL.md1Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill add-data-source -a gemini-cli2Platform CLI
gemini skills install https://github.com/microsoft/power-platform-skills --path plugins/canvas-apps/skills/add-data-sourceManually: put the files in place
.devin/skills/add-data-source/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about add-data-source
How do I install add-data-source in Claude Code?
Run /plugin marketplace add microsoft/power-platform-skills, then /plugin install canvas-apps@power-platform-skills. The skill arrives with the canvas-apps plugin.
What does add-data-source do?
It walks you through adding a data source or connector in Power Apps Studio, waits for your confirmation, then checks the result through the canvas-authoring MCP tools and carries on with your task.
Why can't the agent create the connection on its own?
Data sources and connectors in Canvas Apps go in through the Studio interface only. The skill supplies the steps and verifies what you did; the connection itself is yours to add.
Source text
SKILL.md · MIT
--- name: add-data-source version: 1.0.0 description: Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and continue. USE WHEN the user asks to add a data source, add a connection, add an API, add a connector, connect to SharePoint / Dataverse / SQL / Excel / OneDrive / Teams / Office 365, or any similar request to make new data available to the app. DO NOT USE WHEN the user is asking to list or describe existing data sources — call list_data_sources or list_apis directly instead. author: Microsoft Corporation user-invocable: false allowed-tools: AskUserQuestion, mcp__canvas-authoring__list_data_sources, mcp__canvas-authoring__list_apis, mcp__canvas-authoring__get_data_source_schema, mcp__canvas-authoring__describe_api --- Data sources, connections, and API connectors cannot be added by the coding agent — they must be added through the Power Apps Studio interface. This skill informs the user, guides them to add the connection in their Studio session, verifies it is available via the MCP server, and then continues with any pending work. ## Phase 0 — Identify the Connection Type From the user's request, determine what they want to add and how to verify it: | Request type | Verify with | |---|---| | Data source (SharePoint list, Dataverse table, SQL table, Excel file, OneDrive, etc.) | `list_data_sources` | | API / connector (Office 365 Users, Teams, custom connector, etc.) | `list_apis` | | Unclear | Both `list_data_sources` and `list_apis` | Note what the user is trying to add so you can look for it by name in Phase 3. ## Phase 1 — Inform the User Explain that this step requires action in their Studio session. Tell the user: - The coding agent cannot add data sources or connections programmatically — this must be done directly in Power Apps Studio. - To add the connection, follow these steps in their open Studio session: 1. Open the **Data** panel in the left sidebar 2. Click **Add data** 3. Search for the data source or connector they want (e.g., "SharePoint", "Dataverse", "SQL Server", "Office 365 Users") 4. Follow the authentication prompts and select the specific table, list, file, or dataset - Once added, the connection will be available to the MCP server and you can continue. ## Phase 2 — Wait for Confirmation Use `AskUserQuestion` to pause until the user has completed the steps in Studio: > "Please add the data source or connection in your Power Apps Studio session. Reply here when it's ready and I'll verify the connection before continuing." Do not proceed until the user confirms they have added it. ## Phase 3 — Verify the Connection Once the user confirms, call the appropriate MCP tools to check that the connection is now available: - If the request was for a **data source**: call `list_data_sources` - If the request was for an **API / connector**: call `list_apis` - If the type was unclear: call both in parallel Scan the results for the connection the user added: **Found** — Confirm to the user that the data source or connection is now visible to the agent. Include the exact name as returned by the MCP tool (this is how it must be referenced in Power Fx formulas). If it is a data source, call `get_data_source_schema` to retrieve its column names and types, and include the schema summary in your response so it is ready for use in edits. Similarly, for APIs/connectors, call `describe_api` to retrieve the available endpoints and their parameters, and include the schema summary in your response. **Not found** — Inform the user that the connection is not yet visible. Ask them to: 1. Confirm they completed the Studio steps and the connection appears in the Data panel there. 2. Check that their Studio session is still active (the MCP server must be connected to a live coauthoring session). 3. Let you know when ready to try again. Use `AskUserQuestion` to wait for their follow-up, then re-run Phase 3. ## Phase 4 — Continue After the connection is confirmed: - If the user had a pending task (e.g., "add SharePoint as a data source, then build a gallery"), continue with that work now using the verified connection name and schema. - If adding the connection was the only request, summarize what was confirmed (connection name, type, and schema if applicable) and suggest a natural next step (e.g., building a screen or gallery that uses the new data).
© Microsoft Corporation · MIT · microsoft/power-platform-skills