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)
1**📋 Shared Instructions: [shared-instructions.md](../../shared/shared-instructions.md)** - Cross-cutting concerns.23# Add OneDrive for Business45## Workflow671. Check Memory Bank → 2. Add Connector → 3. Configure → 4. Build → 5. Update Memory Bank89---1011### Step 1: Check Memory Bank1213Check for `memory-bank.md` per [shared-instructions.md](../../shared/shared-instructions.md).1415### Step 2: Add Connector1617Get the connection as described in [connector-reference.md](../../shared/connector-reference.md#connections).1819**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:2021```bash22pa app add data-source --connector onedriveforbusiness --non-interactive23```2425**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:2627```bash28pa app add data-source --connector onedriveforbusiness -c <connection-id>29```3031### Step 3: Configure3233Ask the user what file operations they need (list files, upload, download, create folder, etc.).3435The generated service is `OneDriveforBusinessService` (lowercase "for"), and its methods take positional parameters. Confirm names and signatures in `src/generated/services/` before using them.3637**Common operations:**3839```typescript40…
Excerpt shown under the repository's MIT license.
