Forum Discussion
LeeJinWoo
Dec 18, 2023Copper Contributor
When obtaining meeting information using Graph API, excluded users are still searched as participant
Hi, I created an online meeting using the Graph API (POST /users/{userId}/onlineMeetings) and added users A, B, and C as participants. After creating the meeting, user D was added by UPDATE partici...
Prasad_Das-MSFT
Dec 21, 2023Microsoft
LeeJinWoo - We tried to repro this as follows, we created meeting with 1 organizer,1 attendee, then we added another participant and removed the same participant after that ran below API which gives "totalParticipantCount": 3.
API Used-
https://graph.microsoft.com/v1.0/users/{user-id}/onlineMeetings/{meeting-id}/attendanceReports
Could you please let us know if you have tried the same API or something different?
- LeeJinWooDec 21, 2023Copper ContributorHi, I didn't use the API you mentioned. Doesn't that API only work after the meeting ends?
As I mentioned in the question, I only updated the information below using the PATCH /users/{userId}/onlineMeetings/{meetingId} API for both adding and deleting attendees.
"participants": {
"attendees": [
]
}
1. Add C Participants:
"participants": {
"attendees": [ A,B,C ]
}
2. Remove Participant C
"participants": {
"attendees": [ A,B ]
}- Prasad_Das-MSFTDec 21, 2023Microsoft
LeeJinWoo - What API did you use to get the attendee report after removing participant?
- LeeJinWooDec 26, 2023Copper ContributorI also used the PATCH /users/{userId}/onlineMeetings/{meetingId} api for participant updates. However, it was only used in tests.
The current problem is that the host "removed" a participant from a Teams chat room, rather than using the API, but when meeting information is retrieved through the API, the removed user is still included in the participant information.