Powershell Graph API SDK 更新语句

Powershell Graph API SDK Update statements

我正在探索 msgraph-sdk-powershell 模块以针对 Azure AD 执行一些自动化操作。我在为 Update-MgAdministrativeUnit cmdlet 创建哈希 [​​=18=] 时遇到问题。我想更新管理单元的成员(添加和删除成员)但是帮助没有提供足够的信息来定义散列 table:

 MEMBERS <IMicrosoftGraphDirectoryObject[]>: Users and groups that are members of this Adminsitrative Unit.
    HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
      [Id <String>]: Read-only.
      [DeletedDateTime <DateTime?>]:

有人用过这个命令吗?

此致, 奥尼扬

目前不支持添加或删除成员。