为 Power Apps 代码应用添加 Teams 连接器,实现消息发送与频道协作集成。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "add-teams" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/code-apps/skills/add-teams/SKILL.md 2. 保存为 ~/.claude/skills/add-teams/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为我的 Power Apps 代码应用添加 Microsoft Teams 连接器,用于向指定用户发送 Teams 消息,并给出基本配置步骤。
返回已添加 Teams 连接器的配置说明,并说明如何在应用中发送用户消息。
帮我在 Power Apps 代码应用中接入 Teams 连接器,以便在任务状态更新时自动向某个 Teams 频道发布通知。
返回适合频道发帖的 Teams 集成配置,并说明如何触发自动通知。
请将 Microsoft Teams 连接器加入这个 Power Apps 代码应用,用于接入 Teams 聊天相关流程,例如从应用中发起聊天或同步会话信息。
返回支持 Teams 聊天场景的连接器接入结果与可用操作说明。
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
Check for memory-bank.md per shared-instructions.md.
First, find the connection ID (see connector-reference.md):
Run the /list-connections skill. Find the Teams 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.
npx power-apps add-data-source -a teams -c <connection-id>
Ask the user what Teams operations they need (send message, post to channel, etc.).
PostMessageToConversation -- sends a chat message via Flow bot:
await TeamsService.PostMessageToConversation({
"Post as": "Flow bot",
"Post in": "Chat with Flow bot",
"Post message request": {
recipient: "<recipient-upn-or-id>", // UPN or Entra object ID
messageBody: "<p>HTML message</p>", // HTML format
isAlert: false,
feedbackLoopEnabled: false
}
});
Use Grep to find specific methods in src/generated/services/TeamsService.ts (generated files can be very large -- see connector-reference.md).
npm run build
Fix TypeScript errors before proceeding. Do NOT deploy yet.
Update memory-bank.md with: connector added, configured operations, build status.
帮助你为当前协作会话配置 Canvas Authoring MCP 服务器并排查连接问题
帮助用户将 canvas-apps 插件问题整理并提交为规范的 GitHub issue。
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
为 Power Apps 代码应用快速接入任意 Power Platform 连接器。
为 Power Apps 代码应用添加 Excel Online 连接器,便于读写 OneDrive 或 SharePoint 中的表格数据。
为 Power Apps 代码应用添加 Copilot Studio 连接器,便于调用智能体与集成回复。
为 Power Apps 代码应用接入 Office 365 Outlook,实现邮件、日历与事件管理。
为 Power Apps 代码应用接入 SharePoint,支持列表、文档与站点集成
为 Power Apps 代码应用添加 OneDrive for Business 连接器,便于上传、下载和管理文件。
指导你在 Power Apps Studio 中添加数据源或连接器并完成验证。
让 AI 直接连接 Microsoft Teams,搜索消息、回复会话并管理常用内容。