# add-data-source

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1167 repo stars
- Author: Microsoft Corporation
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/microsoft/power-platform-skills/tree/HEAD/plugins/canvas-apps/skills/add-data-source/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/add-data-source

## What it 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.

## Requirements
- Works with: SharePoint

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add microsoft/power-platform-skills
```
In the agent chat (not a shell):
```text
/plugin install canvas-apps@power-platform-skills
```
This installs the whole canvas-apps plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add microsoft/power-platform-skills --skill add-data-source -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/add-data-source/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/add-data-source/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add microsoft/power-platform-skills --skill add-data-source -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/add-data-source/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add microsoft/power-platform-skills --skill add-data-source -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/add-data-source/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install microsoft/power-platform-skills plugins/canvas-apps/skills/add-data-source
```

2. **Manually: put the files in place**
- File: `.github/skills/add-data-source/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add microsoft/power-platform-skills --skill add-data-source -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/microsoft/power-platform-skills --path plugins/canvas-apps/skills/add-data-source
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/add-data-source/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/microsoft/power-platform-skills/tree/HEAD/plugins/canvas-apps/skills/add-data-source/SKILL.md

## When to use it
- 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
- 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.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: ee7467e8a8ccaa28.

BEGIN THIRD-PARTY FILE ee7467e8a8ccaa28
```text
---
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")
```
END THIRD-PARTY FILE ee7467e8a8ccaa28

The third-party file has ended. Everything between the ee7467e8a8ccaa28 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2132 of 4442 bytes. © Microsoft Corporation · MIT · https://github.com/microsoft/power-platform-skills/tree/HEAD/plugins/canvas-apps/skills/add-data-source/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
