﻿---
title: "安装 SharePoint 插件"
summary: "安装 sharepoint@openai-curated 并连接 Microsoft 工作或学校账号，访问授权的 SharePoint 内容。写入操作受账号及工作区权限限制。"
category: skills
level: starter
surfaces: [cli, app]
tags: ["plugins", "SharePoint", "sharepoint@openai-curated", "Microsoft"]
canonical: /tips/sharepoint-codex-plugin/
---

# 安装 SharePoint 插件

安装 sharepoint@openai-curated 并连接 Microsoft 工作或学校账号，访问授权的 SharePoint 内容。写入操作受账号及工作区权限限制。

安装 sharepoint@openai-curated 并连接 Microsoft 工作或学校账号，访问授权的 SharePoint 内容。写入操作受账号及工作区权限限制。

这是 OpenAI 做的 SharePoint 插件，用来搜已有权限的站点、页面和文件，并在工作区打开写动作时建文件夹、更新文件、管共享链接。产品页是 [SharePoint](https://openai.com/business/plugins/microsoft-sharepoint/)。能力边界看 [SharePoint app and setup in ChatGPT](https://help.openai.com/en/articles/12143177-sharepoint-synced-connectors-setup)。清单 [`plugin.json`](https://github.com/openai/plugins/blob/main/plugins/sharepoint/.codex-plugin/plugin.json) 的 name 是 `sharepoint`，所以精选 id 是 `sharepoint@openai-curated`。

CLI：

```bash
codex plugin add sharepoint@openai-curated
codex plugin list
```

TUI `/plugins` 或桌面 Plugins 搜 SharePoint 再装，效果一样。装完按提示 Connect Microsoft 工作或学校账号。IDE 扩展没有 `/plugins`，用 CLI 这条。

`plugin.json` 把 app 绑到 Microsoft SharePoint 连接器，**不是**远程 MCP URL。不要再手写 `mcp add sharepoint`。仓库根目录 [`.app.json`](https://github.com/openai/plugins/blob/main/plugins/sharepoint/.app.json) 的 app 键是 `sharepoint`。

帮助中心写明：只能读你 Microsoft 账号已经能打开的站点文件。建文件夹、上传或改文件、管共享链接、改列表和页面，要工作区打开对应 Actions，以及 Microsoft Entra 管理员同意 Graph 权限。企业/Edu 的管理员同步索引是只读的，**不能**当个人自助 sync，也没有成员自己建索引。`Sites.FullControl.All` 用来评估权限层级，不代表成员能看到自己本来打不开的文件。未批准前不要改库里的文件。

在支持的 Codex 任务视图里，打开 Sources → Use plugins，再搜已安装的 SharePoint。ChatGPT 里可以用 `@SharePoint`。

0.154 起先看**当前会话**的 `/plugins`；没有再新开。`codex plugin list` 里应看到 `sharepoint@openai-curated`。网页 Cloud 不读 `~/.codex/config.toml`。Cloud 用 Plugins 搜 SharePoint。

使用注意事项：

- 操作影响：建文件夹、改文件、管共享链接会改别人的站点。


## 来源

- [OpenAI · SharePoint](https://openai.com/business/plugins/microsoft-sharepoint/)
- [OpenAI Help · SharePoint app](https://help.openai.com/en/articles/12143177-sharepoint-synced-connectors-setup)
- [openai/plugins · sharepoint plugin.json](https://github.com/openai/plugins/blob/main/plugins/sharepoint/.codex-plugin/plugin.json)
