microsoft-graph-api - 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 的“成员”又是“所有者”。
解决方案
推荐阅读
- javascript - 如果第一个孩子为空,如何隐藏父div
- flutter - 在 Flutter 中的两个类的方法中使用 setState 的最佳方法
- angular - 如何确保在使用 Angular 中的 Karma 和 Jasmine 在单元测试中调用父方法后调用另一个嵌套方法?
- javascript - 使用没有 lodash 的部分按属性分组和排序的最有效方法
- django - 如何在不使用用户名字段的情况下在 django 中制作自定义用户模型?
- google-signin - 使用 Google 登录 - 我应该如何处理“nonce”?
- java - 遵循 Java 组合模式时,如何在 Mockito 中模拟依赖类?
- angular - 没有'new'就不能调用AngularFire Auth Persistence
- python - 需要延迟项目更改信号直到我的数据加载
- flutter - 如何在同一个流中加入两个 Firebase 查询?