跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

Azure DevOps Services

通过 Microsoft Entra OAuth 接入 Azure 仓库,核对 URL、身份和 beta 功能范围。

Azure DevOps 集成处于 public beta,仅支持 dev.azure.com 的 Azure DevOps Services,不支持 Azure DevOps Server。Cloud Agents 可 clone、使用分支和创建 PR,Bugbot 可评审并发表评论。

连接仓库

在 Dashboard > Integrations 选择 Azure DevOps > Connect,使用能访问目标 organization/project/repository 的 Microsoft 账号登录,完成 Entra OAuth consent,再选择仓库并配置 Cloud Agents。

标准 URL 格式为:

https://dev.azure.com/{organization}/{project}/_git/{repository}

旧 visualstudio.com 地址应先在 Azure DevOps 打开仓库,复制 dev.azure.com URL 再添加。Cursor 在组织下以 project/repository 展示仓库。

当前未支持

Automations、Bugbot Autofix 和 Security Agents(含 Security Reviewer、Vulnerability Scanner)尚不支持 Azure DevOps。不要把 GitHub 上的工作流直接当作 Azure 已开放能力。

OAuth 与动作身份

用户连接允许列出可访问的组织/项目/仓库,clone 和创建工作分支,并打开、更新或合并 Cloud Agent PR。Cloud Agent 的 Git 和 PR 动作使用连接的 Azure 用户。

Bugbot 使用 Cursor 在 Entra tenant 创建的 service principal,负责 service hooks、review comments 和 build statuses,使评审不依赖安装人员后续是否离职。它需要额外的Azure Bugbot 设置。

基础排障

仓库不可见时确认 Services 主机、Microsoft 账号和三层资源访问;权限变化后重新连接。无法创建 PR 时检查分支/PR 写权限和 branch policies。URL 被拒绝时先排除 Server 与旧主机格式。

在 Integrations 使用 Disconnect Account 断开连接。Bugbot 的身份、授权与仓库开关仍应按专页检查。