Connect SharePoint to Power Apps for lists, documents, and site integration.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "add-sharepoint" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/code-apps/skills/add-sharepoint/SKILL.md 2. Save it as ~/.claude/skills/add-sharepoint/SKILL.md 3. Reload skills and tell me it's ready
Add a SharePoint Online connector to my Power Apps code app and connect the "Project Tasks" list in my site. Provide the required setup steps and sample code.
Provides connector setup instructions, the list connection method, and sample code for reading list data.
Help me integrate a SharePoint document library into a Power Apps code app so it can list files, upload documents, and read file metadata. Generate an implementation example.
Returns a document library integration approach plus sample code for listing, uploading, and reading metadata.
Add a SharePoint Online connector to my Power Apps code app and create a new SharePoint list called "Customer Feedback" with fields for name, feedback, and submission time.
Provides setup steps for list creation, suggested field definitions, and an implementation example for creating the list.
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
References:
Two paths: existing lists (skip to Step 6) or new lists (full workflow).
Check for memory-bank.md per shared-instructions.md.
Ask the user:
If lists already exist: Skip to Step 6.
If creating new lists:
EnterPlanMode, present the list designs with columns and typesExitPlanModeSee api-authentication-reference.md for full details.
az account show # Verify Azure CLI logged in
$api = Initialize-SharePointGraphApi -SiteUrl "https://<tenant>.sharepoint.com/sites/<site-name>"
$headers = $api.Headers
$siteId = $api.SiteId
Requires Sites.Manage.All permission.
Always query existing lists first before creating:
$existingLists = Invoke-RestMethod -Uri "https://graph.microsoft.com/v1.0/sites/$siteId/lists?`$select=id,displayName,description,list&`$filter=list/hidden eq false" -Headers $headers
See list-management-reference.md for Find-SimilarLists, Compare-ListSchemas, and Get-ListSchema functions.
Present findings to user with AskUserQuestion:
Get explicit confirmation before creating. Use safe functions from list-management-reference.md:
New-SharePointListIfNotExistsAdd-SharePointColumnIfNotExistsAdd-SharePointLookupColumn (for cross-list references)Find the SharePoint Online connection ID (see connector-reference.md):
Run the /list-connections skill. Find the SharePoint Online connection in the output. If none exists, direct the user to create one using the environment-specific Connections URL — construct it from the active environment ID in context (from power.config.json or a prior step): https://make.powerapps.com/environments/<environment-id>/connections → + New connection → search for the connector → Create.
List available SharePoint sites the user has access to:
npx power-apps list-datasets -a sharepointonline -c <connection-id>
Present the sites to the user and ask which one(s) they want to connect to. If the user already specified a site URL, confirm it appears in the list.
If npx power-apps list-datasets fails or returns no results:
npx power-apps logout, then retry — the CLI will re-prompt browser login.…
Review and fix Power Pages security headers, CSP, CORS, cookies, and embedding settings.
Run an end-to-end Power Pages security review with a consolidated HTML report.
Test deployed Power Pages sites with browsing, crawling, and API verification.
Add a data source or connector to a Power Apps code app.
Add Azure DevOps to Power Apps for work items, bugs, pipelines, and API calls.
Set up Power Platform Pipelines for automated Power Pages deployments.
Add the Excel Online connector to read and write workbook data.
Add the Office 365 Outlook connector for email and calendar features.
Add any Power Platform connector to a Power Apps code app.
Access SharePoint Online sites, lists, and items for search and automation.
Add a OneDrive for Business connector for file operations in Power Apps.
Add a Teams connector to Power Apps for messaging and channel integration.