I tried ListJoinedTeams
与指定用户,但它不起作用。
我试过ListJoinedTeams
与我自己和Listmessage
与指定用户一起使用并且它有效。
-
不起作用
- https://graph.microsoft.com/v1.0/users/[电子邮件受保护]/加入队伍 https://graph.microsoft.com/v1.0/users/MeganB@M365x214355.onmicrosoft.com/joinedTeams
-
Works
- https://graph.microsoft.com/v1.0/users/[电子邮件受保护]/消息 https://graph.microsoft.com/v1.0/users/MeganB@M365x214355.onmicrosoft.com/messages
- https://graph.microsoft.com/v1.0/me/joinedTeams https://graph.microsoft.com/v1.0/me/joinedTeams
你能告诉我如何设置用户吗?
我从图形浏览器中尝试过。
https://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0 http://%5Bhttps://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0%5D%5B1%5D
Microsoft Graph 仅支持/me
with /joinedteams
使用委派权限时。根据文档 https://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0#permissions:
对于用户委派权限,此操作仅适用于“我”
用户。具有应用程序权限,它适用于所有用户
指定特定的用户 ID。 (不支持“me”别名
应用程序权限)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)