为 Power Apps 代码应用添加 Teams 连接器,实现消息发送与频道协作集成。
该技能材料显示其为开源的纯提示型技能,本身不要求密钥或声明远程端点,整体风险较低。需注意其文档会指导添加 Teams 连接器并在外部 Power Apps/Teams 环境中操作,因此涉及后续业务数据与连接配置时应核实最小权限与实际外发范围。
材料明确标注“无”密钥/环境变量;技能本身不直接索取 token。但其流程依赖现有 Teams/Power Apps 连接,相关凭证由外部平台管理,文档未见诱导导出或滥用凭证的红旗。
文档指向 Power Apps Connections 页面,并描述可发送 Teams 消息/发帖到频道;这意味着实际使用中业务内容会按声明功能发送到 Microsoft 服务。未声明其他第三方或不明端点,属该类集成工具的常规外发能力。
README 包含 `npx power-apps add-data-source` 和 `npm run build` 等命令,说明会在本机执行常规开发命令/构建流程。未见要求获取异常系统权限或执行与声明功能无关的可疑命令。
材料提到读取 `power.config.json`、查找 `src/generated/services/TeamsService.ts`、更新 `memory-bank.md`,说明会访问项目内配置与生成代码文件。该范围与代码应用集成场景基本一致,未见要求读取无关敏感目录或进行过度授权。
来源为 GitHub 上的 Microsoft `power-platform-skills` 开源仓库,源码可审计,且系统标记为 open-source、prompt-only,这些都显著降低供应链风险。需留意该仓库 star 为 0、许可证和维护状态未明确,建议在采用前再核查更新情况。
复制安装指令,让 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.
对已部署的 Power Pages 站点执行安全扫描并生成通俗风险摘要。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码
为 Power Apps 代码应用添加 Copilot Studio 连接器,便于调用智能体与集成回复。
为 Power Apps 代码应用快速接入任意 Power Platform 连接器。
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
帮助用户通过微软官方接口读写 Teams 聊天与频道消息,支持企业受限环境协作自动化。
为 Power Apps 代码应用接入 Office 365 Outlook,实现邮件、日历与事件管理。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。