Inconsistent lastUpdatedDateTime between List Chats and Get Chat

Jackson Ho 1 Reputation point
2021-09-21T02:11:34.653+00:00

The List Chats API GET /chats seems to be sorted by the lastUpdatedDateTime, and I'm using this API to get the latest chats for a user.

However, some old chats are appearing in the first page of the returned data, and I'm not sure why.

I'm aware that this property isn't just based on the last message time, but also things like group membership and topic update as well.

So I made a call to GET /chats/{chat-id} to get the details of the chat item, to see if I can find out what actually got updated. And to my surprise, the lastUpdatedDateTime here is different to the one from the GET /chats API

GET /chats/{chat-id} Result:
image

GET /chats Result:
image

Is this a bug?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,072 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,963 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Meghana-MSFT 3,811 Reputation points Microsoft Vendor
    2021-09-22T11:48:06.707+00:00

    @Jackson Ho - We were able to repro the issue. We have raised a bug and the concerned team is looking into it.

    Thanks,
    Meghana


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

  2. ShaneOss 101 Reputation points
    2021-10-24T08:05:23.877+00:00

    Any update on this @Meghana-MSFT ? This is also affecting me.
    Thanks.

    0 comments No comments

  3. Ramjot Singh 861 Reputation points Microsoft Employee
    2021-10-24T09:05:32.247+00:00

    This issue was fixed 2ish weeks back.