如果我有一个 ID 为“testteam@example.onmicrosoft.com”的 Office 365 组/Microsoft 团队,并且我想使用其中一个 beta API 来查询它,我需要查询一个 URL,例如https://graph.microsoft.com/beta/groups/{id}/threads
. 但是,我坚持对团队名称进行编码。https://graph.microsoft.com/beta/groups/testteam@example.onmicrosoft.com/threads
, https://graph.microsoft.com/beta/groups/testteam@example%2Eonmicrosoft%2E/threads
, 和https://graph.microsoft.com/beta/groups/testteam@example/threads
,https://graph.microsoft.com/beta/groups/"testteam@example"/threads,
都https://graph.microsoft.com/beta/groups/"testteam@example.onmicrosoft.com"/threads
返回以下错误
"error": {
"code": "Request_BadRequest",
"message": "Invalid object identifier 'whatever_I_entered'."