使用 AzureADDirectory将来宾设置为组所有者设置允许来宾到组所有者



我一直在尝试允许来宾成为使用 New-AzureADObjectSet 的Microsoft团队中的所有者,

并努力工作:
$Template = Get-AzureADDirectorySettingTemplate -Id 08d542b9-071f-4e16-94b0-74abb372e3d9
$Setting = $Template.CreateDirectorySetting()
$Setting["AllowGuestsToBeGroupOwner"]=$True
New-AzureADObjectSetting -TargetType Groups -TargetObjectId mygroupId -DirectorySetting $Setting

这似乎没有坚持下去。我尝试允许用户邀请来宾以及在 Azure AD 中将他们设置为受限管理员 - 但没有运气......

这可能是不可能的,但设置可用,不能误读。建议?

现在可以在

本文的帮助下完成 https://learn.microsoft.com/en-us/microsoft-365/solutions/manage-creation-of-groups?view=o365-worldwide 并对包含的脚本进行小的更改。

而不是更改属性EnableGroupCreationGroupCreationAllowedGroupId,您将更改属性AllowGuestsToBeGroupOwner = $True它应该可以工作。

最新更新