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 | Development
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
{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 3,991 Reputation points Microsoft External Staff Moderator
    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.