如何在 365 合规性 Powershell 中删除具有链接用户组的组织部门?

问题描述 投票:0回答:1

我正在尝试删除我设置的组织部门。当我运行命令并将其通过管道传输到删除组织段时,或者即使我使用 -identity 参数删除它,它也会抛出下面的错误。

如何从组织细分中删除链接的组/用户?

我似乎无法在 MS 文档中找到解释。我已将它们所链接的信息障碍策略标记为非活动状态并将其删除。

Get-OrganizationSegment | Remove-OrganizationSegment

Your request failed to complete. Please retry. Error Details: System.InvalidOperationException,This information barrier segment ... can't be removed because it is being used

by both users and groups. Before you can remove this information barrier segment, make sure that neither users nor groups are linked to it.
powershell office365
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.