为 Power Apps 代码应用接入 Office 365 Outlook,实现邮件、日历与事件管理。
该技能材料本身是开源的提示/工作流说明,未声明自带密钥、远程端点或本地执行载荷,整体风险较低。需注意的是,其目标是为应用接入 Office 365 Outlook 连接器,因此后续会涉及邮箱/日历数据访问、微软云通信以及现有连接凭据的使用。
材料未要求单独配置 API key 或环境变量,但明确依赖现有 Office 365/Power Platform connection ID;这通常对应用户已有的 OAuth/连接凭据。技能本身不直接收集密钥,但后续使用中应避免误用高权限 Outlook 连接。
未声明第三方或可疑外发端点;按描述,其后续效果是接入官方 Office 365 Outlook 连接器,相关邮件/日历数据会按功能需要传输至微软服务。未见向无关未知主机外发的红旗。
系统检查项表明其为 prompt-only、开源材料;README 只是指引用户运行 `npx power-apps add-data-source` 等命令,本技能自身未提供可执行二进制、脚本载荷或额外系统权限申请。
其声明功能包括读取收件箱、发送邮件、访问日历和管理事件,数据范围覆盖用户 Outlook 邮件与日历资源。该访问范围与功能描述一致,未见超出声明用途的本地文件或系统级过度访问说明。
来源为 GitHub 上的 Microsoft `power-platform-skills` 开源仓库,源码可审计,属于明显的正面可信度信号。虽然 star 为 0、许可证未声明且维护状态未知,仍未见闭源、失维或恶意注入等高风险红旗。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "add-office365" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/code-apps/skills/add-office365/SKILL.md 2. 保存为 ~/.claude/skills/add-office365/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为我的 Power Apps 代码应用添加 Office 365 Outlook 连接器,并配置一个发送邮件的示例,用于在表单提交后向用户发送确认通知。
返回已接入 Outlook 连接器的应用配置,并包含表单提交后自动发送确认邮件的示例流程。
帮我在 Power Apps 代码应用中添加 Office 365 Outlook 连接器,并创建一个页面,用来读取当前用户收件箱中的最近 10 封邮件。
生成可读取 Outlook 收件箱邮件列表的应用页面与相关连接配置示例。
请在我的 Power Apps 代码应用中接入 Office 365 Outlook,支持查看日历事件、创建会议并更新已有 Outlook 日程。
提供包含日历读取、会议创建和事件更新能力的 Outlook 集成方案与示例代码。
📋 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 Office 365 Outlook connection in the output (API name contains office365). 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 office365 -c <connection-id>
The generated service file (src/generated/services/Office365OutlookService.ts) is large. Use Grep to find specific methods instead of reading the entire file:
Grep pattern="async \w+" path="src/generated/services/Office365OutlookService.ts"
Key methods (sorted by common usage):
| Method | Purpose | Key Parameters |
|---|---|---|
GetEventsCalendarViewV2 | Get events in a date range | calendarId, startDateTimeOffset, endDateTimeOffset |
V3CalendarPostItem | Create a calendar event | table (calendar ID), item (CalendarEventHtmlClient) |
CalendarDeleteItem | Delete an event | table (calendar ID), id (event ID) |
CalendarPatchItem | Update an event | table, id, item |
V2CalendarGetTables | List available calendars | (none) |
| Method | Purpose | Key Parameters |
|---|---|---|
SendEmailV2 | Send an email | emailMessage (body, to, subject, etc.) |
GetEmails | Get inbox emails | folderPath, fetchOnlyUnread, top |
GetEmail | Get single email | messageId |
MarkAsRead | Mark email as read | messageId |
ReplyToV3 | Reply to an email | messageId, body |
Flag / Unflag | Flag/unflag email | messageId |
| Method | Purpose |
|---|---|
GetContactFolders | List contact folders |
ContactGetTables | List contact tables |
Ask the user what Office 365 Outlook operations they need (skip if already specified by caller).
Calendar -- Get events for a date range:
import { Office365OutlookService } from "../generated/services/Office365OutlookService";
const result = await Office365OutlookService.GetEventsCalendarViewV2(
"Calendar", // calendarId -- "Calendar" for default
startDate.toISOString(),
endDate.toISOString()
);
const events = result.data?.value || [];
Calendar -- Create an event:
await Office365OutlookService.V3CalendarPostItem("Calendar", {
Subject: "Focus Time",
Start: "2025-06-15T10:00:00", // ISO 8601 format
End: "2025-06-15T11:00:00",
ShowAs: "Busy",
Importance: "Normal",
…
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
为 Power Apps 代码应用接入 Azure DevOps 连接器,便于查询工单、提报缺陷与管理流水线。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
为 Power Apps 代码应用添加 Excel Online 连接器,便于读写 OneDrive 或 SharePoint 中的表格数据。
为 Power Apps 代码应用接入 SharePoint,支持列表、文档与站点集成
为 Power Apps 代码应用添加 OneDrive for Business 连接器,便于上传、下载和管理文件。
为 Power Apps 代码应用快速接入任意 Power Platform 连接器。
为 Power Apps 代码应用添加 Teams 连接器,实现消息发送与频道协作集成。
为 Power Apps 代码应用添加 Copilot Studio 连接器,便于调用智能体与集成回复。