Graph API not returning external users information from team meeting

Sushma Sharma 0 Reputation points
2024-11-18T13:05:16.3966667+00:00

Hello All,

I am facing a issue.

when the agents on call with external users in team, microsoft graph API is able to fetch data for external user. but as soon as external user hung up the call, the graph API is not able to retrieve this external user information and chat is determining as internal chat with no presence of external party.

https://graph.microsoft.com/v1.0/chats/chatid/members

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,388 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,370 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.
3,369 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sushma Sharma 0 Reputation points
    2024-11-19T07:01:50.15+00:00

    ............

    0 comments No comments

  2. Sayali-MSFT 2,906 Reputation points Microsoft Vendor
    2024-11-20T08:34:39.6166667+00:00

    Hello @Sushma Sharma
    This behavior is by design. The /members endpoint returns the current state, so members who have left are removed from the roster and will not appear in the API response.

    However, you can use Change Notifications, which will likely provide information about both joining and leaving events.
    Sample Link-https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/graph-change-notification/csharp


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.