Inconsistent lastUpdatedDateTime between List Chats and Get Chat

Jackson Ho 1 Reputation point

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:

GET /chats Result:

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

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


    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

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

    0 comments No comments

  3. Ramjot Singh 861 Reputation points Microsoft Employee

    This issue was fixed 2ish weeks back.