UiPath Documentation
integration-service
latest
false
重要 :
请注意,此内容已使用机器翻译进行了本地化。 Integration Service 中提供的连接器包采用的是机器翻译的译文。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Integration Service 用户指南

上次更新日期 2026年4月20日

Microsoft 365 身份验证

先决条件

要创建连接,您需要满足以下条件:

  • 客户端 ID
  • 客户端密码
  • 租户 ID
  • 电子邮件
  • 作用域

作用域

已配置的默认作用域: Mail.ReadMail.Read.SharedMail.ReadWriteMail.ReadWrite.SharedMail.SendMail.Send.SharedMailboxSettings.ReadWriteCalendars.ReadCalendars.Read.SharedCalendars.ReadWriteCalendars.ReadWrite.Sharedprofileopenidemailoffline_accessUser.Read

根据设计,Microsoft Graph API 至少需要User.Readoffline_access权限才能创建连接。profileopenidemailoffline_accessUser.Read权限的说明如下:

  • profile - 在令牌中包括基本配置文件信息。
  • openid - 允许您为连接启用单点登录功能。
  • email - 将用户的主电子邮件地址作为声明包含在 ID 令牌中。
  • offline_access - 负责创建和授予刷新令牌。
  • User.Read - 允许您读取用户信息,例如用户电子邮件地址、配置文件的基本详细信息,这些信息将用作连接身份。

有关身份验证的更多详细信息,请查看如何连接到 Microsoft 365 活动Microsoft 365 HTTP 请求

备注:

所有列出的 Microsoft Graph 权限均为委派权限。这意味着连接会代表已登录的用户进行运行,并且授予的访问权限仅限于允许用户在 Microsoft 365 中执行的操作。

添加 Microsoft 365 身份验证

  1. Select Orchestrator from the product launcher.
  2. Select a folder, and then navigate to the Connections tab.
  3. 选择“添加连接”
  4. To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
  5. 配置以下字段:
    • 客户端 ID - 您可以在 Microsoft Azure 应用程序注册的“概述”部分找到该 ID。
    • 客户端密码- Microsoft Azure 应用程序的“证书和密码”部分中的客户端密码。
    • 租户 ID - “概述”部分中应用程序的 Microsoft Azure 租户 ID。
      备注:

      如果您使用多租户应用程序,请保留默认值“common”。如果您使用单租户应用程序,请从 Azure 检索租户 ID。有关更多详细信息,请查看如何查找您的 Microsoft Entra 租户 ID

    • “环境” - 从下拉列表中选择环境:
      • Office 365(默认)
      • 美国政府 L4 - 公共部门域
      • 美国政府 L5 - 公共部门域
      • “中国”为所有区域切换为“Office 365”(默认) ,仅针对云部署切换为“政府”或“中国”。
      备注:

      有关环境的更多详细信息,请查看Microsoft Graph 和 Graph Explorer 服务根端点

  6. Select Connect.
  • 先决条件
  • 作用域
  • 添加 Microsoft 365 身份验证

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新