Forum Discussion
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 participants.attendees using the Graph API (PATCH /users/{userId}/onlineMeetings/{meetingId}). After that, A, the meeting organizer, excluded user D from the meeting chat room.
When you later obtain meeting information using the Graph API, user D is still included in the participants.attendees List.
Is this an API bug? Or did I update incorrectly or get meeting information incorrectly?
- Prasad_Das-MSFTMicrosoft
LeeJinWoo - Thanks for raising your issue. We will check this at our end and will update you accordingly.
- Prasad_Das-MSFTMicrosoft
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?
- LeeJinWooCopper 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-MSFTMicrosoft
LeeJinWoo - What API did you use to get the attendee report after removing participant?