如何在不从成员列表中删除团队的情况下从团队中删除所有者?
How to remove an owner from a team in Teams without removing it from member list?
我使用 GraphAPI 将用户同时作为成员 (POST /groups/{id}/members/$ref
) 和所有者 (POST /groups/{id}/owners/$ref
) 添加到 Microsoft Teams 中的团队中。
然后我使用 "DELETE /groups/{id}/owners/{userId}/$ref
" 从所有者列表中删除该用户。我希望该用户仍在成员列表中,但看起来它也已从成员列表中删除。
如何仅从所有者列表中删除用户?
Known issue: when DELETE /groups/{id}/owners is called, the user is also removed from the /groups/{id}/members list. To work around this, we recommend that you remove the user from both owners and members, then wait 10 seconds, then add them back to members.
您现在需要使用此解决方法。并关注 Graph API 文档。我觉得迟早会修好。
我使用 GraphAPI 将用户同时作为成员 (POST /groups/{id}/members/$ref
) 和所有者 (POST /groups/{id}/owners/$ref
) 添加到 Microsoft Teams 中的团队中。
然后我使用 "DELETE /groups/{id}/owners/{userId}/$ref
" 从所有者列表中删除该用户。我希望该用户仍在成员列表中,但看起来它也已从成员列表中删除。
如何仅从所有者列表中删除用户?
Known issue: when DELETE /groups/{id}/owners is called, the user is also removed from the /groups/{id}/members list. To work around this, we recommend that you remove the user from both owners and members, then wait 10 seconds, then add them back to members.
您现在需要使用此解决方法。并关注 Graph API 文档。我觉得迟早会修好。