- 发行说明
- 概述
- 入门指南
- UiPath 市场供应商
- UiPath Marketplace 客户
- 发布准则
- 即用型自动化发布准则
- 解决方案加速器发布准则
- Integration Service 连接器的发布准则
- Process Mining 应用程序模板发布准则
- 安全性与 IP 保护
- 其他 UiPath 列表
- 连接器
- 如何创建活动
- 构建集成

Marketplace 用户指南
从组中创建团队
UiPath.Teams.Activities.Teams.CreateTeamFromGroup
The Create Team from Group activity calls the Microsoft Graph CreateTeamFromGroup API to create a new team based on an existing group in your Azure directory (GroupId). The new team is created using a standard template, the name of the specified group, and it includes all group members.
After the activity creates your new team, it outputs its properties in a Team object (Team) that you can use as input variables in subsequent activities (for example, Team.Id in Get Channels, Update Channel, and so on).
工作方式
The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.
- 完成设置步骤。
- Add the Microsoft Teams Scope activity to your project.
- Add the Create Team from Group activity inside the Microsoft Teams Scope activity.
- (可选)为输入属性输入值。
- Create and enter a
Teamvariable for your Output property. - 运行活动。
-
Your input property values are sent to the CreateTeamFromGroup API.
-
API 会将
Team值返回到您的输出属性变量。
-
属性
将此活动添加到 UiPath Studio 中的项目时,会指定以下属性的值。

常见
显示名称
活动的显示名称。
| 属性 | 详细信息 |
|---|---|
| 类型 | String |
| 必填 | 是 |
| 默认值 | 从组创建团队 |
| 允许的值 | 输入 String 或 String 变量。 |
| 注意 | 不适用 |
输入
组 ID
要用于创建团队的 Azure 目录组的对象 ID。
| 属性 | 详细信息 |
|---|---|
| 类型 | String |
| 必填 | 否 |
| 默认值 | 空白 |
| 允许的值 | 输入 String 或 String 变量。 |
| 注意 | 输入组的对象 ID。 您可以在“Azure 目录”>“组 - 所有组”>“组”中找到对象 ID(请参见下图)。 |

输出
团队
表示您创建的团队的 Team 对象。
| 属性 | 详细信息 |
|---|---|
| 类型 | Team |
| 必填 | 否(如果您计划在后续活动中使用输出数据,则为必填项) |
| 默认值 | 空白 |
| 允许的值 | 输入Team变量。 |
| 注意 | The variable you create for this property can be used as an input variable in subsequent activities (for example, Team.Id in Get Channels, Update Channel, and so on). The Team object includes multiple properties and relationships that you can use in other activities. The example image below shows some of the properties that you can return. Note - some properties listed in the designer are not applicable to the Team object (for example, Template). For a list of the applicable Team properties, visit the links above. |
示例
下图显示了活动依赖关系和输入/输出属性值的示例。
For step-by-step instructions and examples, see the Quickstart guides.
