Tooluck logoTooluck
SKILL.md

add-onedrive

Agent skill frommicrosoft/power-platform-skills

Adds OneDrive for Business connector to a Power Apps code app. Use when uploading, downloading, listing, or managing files in OneDrive.

How to install add-onedrive

install add-onedrive
# install the power-platform-skills pack with the skills CLI
npx skills add microsoft/power-platform-skills

# or add only this skill to Claude Code: copy the folder

plugins/code-apps/skills/add-onedrive/

# into

~/.claude/skills/add-onedrive/ (all projects)

.claude/skills/add-onedrive/ (one project)

plugins/code-apps/skills/add-onedrive/SKILL.md

MITFull file
1**📋 Shared Instructions: [shared-instructions.md](../../shared/shared-instructions.md)** - Cross-cutting concerns.
2
3# Add OneDrive for Business
4
5## Workflow
6
71. Check Memory Bank → 2. Add Connector → 3. Configure → 4. Build → 5. Update Memory Bank
8
9---
10
11### Step 1: Check Memory Bank
12
13Check for `memory-bank.md` per [shared-instructions.md](../../shared/shared-instructions.md).
14
15### Step 2: Add Connector
16
17Get the connection as described in [connector-reference.md](../../shared/connector-reference.md#connections).
18
19**CLI 1.3.0+ (`PA_INLINE_CONNECTIONS=yes`):** tell the user that adding OneDrive for Business may create a connection with their account, then run the add without `-c` and handle the result with the outcome table in connector-reference.md:
20
21```bash
22pa app add data-source --connector onedriveforbusiness --non-interactive
23```
24
25**Older CLIs:** run `/list-connections` to find the OneDrive for Business connection ID (if none exists, create one with `pa connection create` as described in connector-reference.md), then:
26
27```bash
28pa app add data-source --connector onedriveforbusiness -c <connection-id>
29```
30
31### Step 3: Configure
32
33Ask the user what file operations they need (list files, upload, download, create folder, etc.).
34
35The generated service is `OneDriveforBusinessService` (lowercase "for"), and its methods take positional parameters. Confirm names and signatures in `src/generated/services/` before using them.
36
37**Common operations:**
38
39```typescript
40…

Excerpt shown under the repository's MIT license.

More skills in power-platform-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates