为 Power Apps 代码应用快速接入任意 Power Platform 连接器。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "add-connector" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/code-apps/skills/add-connector/SKILL.md 2. 保存为 ~/.claude/skills/add-connector/SKILL.md 3. 装好后重载技能,告诉我可以用了
请帮我把一个当前没有专用技能支持的 Power Platform 连接器添加到我的 Power Apps 代码应用中,并说明所需配置步骤与注意事项。
返回接入该连接器的操作方案、配置要点,以及在代码应用中的使用说明。
我想在 Power Apps 代码应用里添加一个用于访问外部数据源的 Power Platform 连接器,请给出接入方法,并说明认证与权限配置。
给出连接器添加流程、认证方式建议,以及数据访问相关的配置说明。
当没有对应的专用技能时,请使用通用方式把所需的 Power Platform 连接器添加到我的 Power Apps 代码应用,并列出后续验证步骤。
输出通用连接器接入方案,并附带验证连接是否成功的检查清单。
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
Fallback skill for any connector not covered by a specific /add-* skill. For common connectors, prefer the dedicated skills:
/add-dataverse -- Dataverse tables/add-azuredevops -- Azure DevOps/add-teams -- Microsoft Teams/add-excel -- Excel Online (Business)/add-onedrive -- OneDrive for Business/add-sharepoint -- SharePoint Online/add-office365 -- Office 365 Outlook (calendar, email, contacts)Check for memory-bank.md per shared-instructions.md.
If $ARGUMENTS is provided or the caller already specified the connector, use it directly and skip the question below.
Otherwise, ask the user which connector they want to add. Browse available connectors: Connector Reference
Before proceeding, check if the connector has a dedicated skill. If it does, delegate immediately and STOP:
| Connector API name | Delegate to |
|---|---|
sharepointonline | /add-sharepoint |
teams | /add-teams |
excelonlinebusiness | /add-excel |
onedriveforbusiness | /add-onedrive |
azuredevops | /add-azuredevops |
office365 | /add-office365 |
commondataservice | /add-dataverse |
Invoke the appropriate skill with the same $ARGUMENTS and do not continue this skill's workflow.
Common connector API names:
sharepointonline, teams, excelonlinebusiness, onedriveforbusinessazuredevops, azureblob, azurequeuesoffice365, office365users, office365groupssql, commondataserviceFirst, find the connection ID (see connector-reference.md):
Run the /list-connections skill. Find the connector 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.
# Non-tabular connectors (Teams, Azure DevOps, etc.)
npx power-apps add-data-source -a <connector-api-name> -c <connection-id>
# Tabular connectors (SharePoint, Excel, SQL, etc.) -- also need dataset and table
npx power-apps add-data-source -a <connector-api-name> -c <connection-id> -d '<dataset>' -t '<table>'
Parameter reference:
-a (apiId) -- connector name (e.g., sharepointonline, teams)-c (connectionId) -- required for all non-Dataverse connectors. Get from /list-connections.-d (dataset) -- required for tabular datasources (e.g., SharePoint site URL, SQL database). Not needed for Dataverse.-t (table) -- table/list name for tabular datasources (e.g., SharePoint list, Dataverse table logical name)After adding, inspect the generated files. Generated service files can be very large -- use Grep to find specific methods instead of reading the entire file:
Grep pattern="async \w+" path="src/generated/services/<Connector>Service.ts"
Files to check:
src/generated/services/<Connector>Service.ts -- available operations and their parameterssrc/generated/models/<Connector>Model.ts -- TypeScript interfaces (if generated).power/schemas/<connector>/ -- connector schema and configurationFor each method the user needs:
…
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
为 Power Apps 代码应用添加 Copilot Studio 连接器,便于调用智能体与集成回复。
为 Power Apps 代码应用添加 Teams 连接器,实现消息发送与频道协作集成。
为 Power Apps 代码应用添加 Excel Online 连接器,便于读写 OneDrive 或 SharePoint 中的表格数据。
为 Power Apps 代码应用接入 SharePoint,支持列表、文档与站点集成
指导你在 Power Apps Studio 中添加数据源或连接器并完成验证。
为 Power Apps 代码应用接入 Office 365 Outlook,实现邮件、日历与事件管理。