MS Graph - Conversation delta API not working for some channels

馋奶兔 提交于 2021-01-29 11:26:49

问题


For some channels, when conversations api is hit /beta/teams/<team id>/channels/<channel id>/messages/delta, we get an empty batch with next link. On hitting this next link, we get following error response.

{
  "error": {
    "code": "BadRequest",
    "message": "Parameter 'DeltaToken' not supported for this request.",
    "innerError": {
      "request-id": "b886b260-78ac-43b5-92d4-d0cb11136962",
      "date": "2019-12-09T09:39:16"
    }
  }
}

From the analysis of the same issue for the other channels, this issue seems to be occurring when channel has no new activity for around an year.


回答1:


I believe this is another symptom of this Known Issue:

Missing teams in list all teams

Some teams that were created in the past but haven't been used recently by a Microsoft Teams user aren't listed by list all teams. New teams will be listed. Certain old teams don't have a resourceProvisioningOptions property that contains "Team", which is set on newly created teams and teams that are visited in Microsoft Teams. In the future, we will set resourceProvisioningOptions on existing teams that have not been opened in Microsoft Teams.

You might be able to fix this by accessing the Cancel using the Teams client.



来源:https://stackoverflow.com/questions/59247541/ms-graph-conversation-delta-api-not-working-for-some-channels

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!