首页 > 解决方案 > Graph Beta 通道获取消息返回“禁止”

问题描述

使用 Graph 阅读 Teams 频道消息时,我收到“禁止”错误。注意:这从上周开始,无论使用 Teams UI (Web) 或 Graph 创建的频道消息如何。为了缓解这个问题,我需要使用 PowerShell 从团队中删除 Graph OAuth 用户:

(1)Remove-TeamUser,
(2)remove-unifiedgrouplinks for "owner",
(3)remove-unifiedgrouplinks for "member",
(4)add-teamuser 角色为“owner”。

感觉问题在于,用于创建团队的 OAuth 管理员既是 UnifiedGroupLinks 的“成员”又是“所有者”。

标签: microsoft-graph-apimicrosoft-teams

解决方案


推荐阅读