Skip to content

Microsoft Entra ID 节点(Microsoft Entra ID node)#

使用 Microsoft Entra ID 节点可以自动化 Microsoft Entra ID 中的工作,并将 Microsoft Entra ID 与其他应用集成。n8n 内置支持多种 Microsoft Entra ID 功能,包括创建、获取、更新和删除用户和组,以及将用户添加到组或从组中移除用户。

🌐 Use the Microsoft Entra ID node to automate work in Microsoft Entra ID and integrate Microsoft Entra ID with other applications. n8n has built-in support for a wide range of Microsoft Entra ID features, which includes creating, getting, updating, and deleting users and groups, as well as adding users to and removing them from groups.

本页列出了 Microsoft Entra ID 节点支持的操作列表以及更多资源的链接。

🌐 On this page, you'll find a list of operations the Microsoft Entra ID node supports, and links to more resources.

凭证

你可以在这里找到该节点的认证信息。

政府云支持

如果你正在使用政府云租户(美国政府、美国国防部或中国),请确保在配置 Microsoft Entra ID 凭据时选择相应的 Microsoft Graph API 基础 URL

操作(Operations)#

    • 创建:创建一个新群组
    • 删除:删除现有群组
    • 获取:检索特定组的数据
    • 获取多个:检索群组列表
    • 更新:更新一个群组
  • 用户
    • 创建:创建一个新用户
    • 删除:删除现有用户
    • 获取:检索特定用户的数据
    • 获取多个:检索用户列表
    • 更新:更新用户
    • 添加到群组:将用户添加到群组
    • 从群组中移除:将用户从群组中移除

模板和示例(Templates and examples)#

Template widget placeholder.

Refer to Microsoft Entra ID's documentation for more information about the service.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.

常见问题(Common issues)#

以下是一些与 Microsoft Entra ID 节点相关的常见错误和问题,以及解决或故障排除步骤。

🌐 Here are some common errors and issues with the Microsoft Entra ID node and steps to resolve or troubleshoot them.

更新“允许外部发件人”和“自动订阅新成员”选项失败(Updating the Allow External Senders and Auto Subscribe New Members options fails)#

在创建新群组后,您无法直接更新 允许外部发件人自动订阅新成员 选项。您必须在创建群组后等待,才能更改这些选项的值。

🌐 You can't update the Allow External Senders and Auto Subscribe New Members options directly after creating a new group. You must wait after creating a group before you can change the values of these options.

在设计使用多个 Microsoft Entra ID 节点的工作流时,如果先创建组然后更新这些选项,请在两个操作之间添加一个 Wait 节点。配置为至少暂停两秒的 Wait 节点可以为组完全初始化提供时间。等待之后,更新操作就可以顺利完成而不会出错。

🌐 When designing workflows that use multiple Microsoft Entra ID nodes to first create groups and then update these options, add a Wait node between the two operations. A Wait node configured to pause for at least two seconds allows time for the group to fully initialize. After the wait, the update operation can complete without erroring.