Forum Discussion
How to get attendance of users who join live event online through Microsoft Graph API ?
austin_lee : Have you tried looking at List events api, this gives you a list of events + attendees list of that particular event.
For Call API : You need to create call first using Create Call..This will create a call and provide you "id".You then need to use that "id" and get participants.
Thanks,
Manish Chitre
--------------------------------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- austin_leeJan 11, 2021Copper Contributor
Manish-MSFT , thanks for your reply.
i just tried https://docs.microsoft.com/en-us/graph/api/user-list-events?view=graph-rest-1.0&tabs=http, i could receive live event meeting from api, but there is no attendees in the response. Is there other way to get attendees of live event?
For Call API, if the call doesn't be created by API, how do I find the call id?
Thanks,
Austin
- Manish-MSFTJan 12, 2021Former Employee
i just tried List events api, i could receive live event meeting from api, but there is no attendees in the response. Is there other way to get attendees of live event?
=> Can you provide your response here, I would like to investigate this in more detail.
For Call API, if the call doesn't be created by API, how do I find the call id?
=> No, it's possible to get call id other than graph api.
Thanks,
Manish Chitre
--------------------------------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- austin_leeJan 12, 2021Copper Contributor
Manish-MSFT , thanks again.
I created a live event "Test LiveEvent" on Teams Calendar manually, and there are attendees in attendee engagement report.
{ "@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users('{userId}')/events", "value":[ { "@odata.etag":"W/\"BHNkcTTooEeODXPM6bGYwAAALPcBww==\"", "id":"AAMkADAzNjljYWYxLTdhMTQtNGJkNi04NWMyLTI5N2IyMjM2YTY1YwBGAAAAAADXti9J-06aQaaLbOMR4-yEBwAEc2RxNOigR44Nc8zpsZjAAAAAAAENAAAEc2RxNOigR44Nc8zpsZjAAAAs_uPEAAA=", "createdDateTime":"2020-12-24T09:49:58.409914Z", "lastModifiedDateTime":"2020-12-24T09:49:59.5260063Z", "categories":[ ], "transactionId":null, "originalStartTimeZone":"Taipei Standard Time", "originalEndTimeZone":"Taipei Standard Time", "iCalUId":"040000008200E00074C5B7101A82E00800000000285A0024DAD9D601000000000000000010000000FCB0A0842395D649A68CB1C00967954C", "reminderMinutesBeforeStart":15, "isReminderOn":true, "hasAttachments":false, "subject":"Test LiveEvent", "bodyPreview":"Don't forward this invitation. Go to Microsoft Teams to invite additional people.\r\n\r\n\r\n\r\n________________________________________________________________________________\r\nMicrosoft Teams\r\nJoin live event\r\nJoin as producer or presenter when it's time for t", "importance":"normal", "sensitivity":"normal", "isAllDay":false, "isCancelled":false, "isOrganizer":true, "responseRequested":true, "seriesMasterId":null, "showAs":"busy", "type":"singleInstance", "webLink":"https://outlook.office365.com/owa/?itemid=AAMkADAzNjljYWYxLTdhMTQtNGJkNi04NWMyLTI5N2IyMjM2YTY1YwBGAAAAAADXti9J%2F06aQaaLbOMR4%2FyEBwAEc2RxNOigR44Nc8zpsZjAAAAAAAENAAAEc2RxNOigR44Nc8zpsZjAAAAs%2BuPEAAA%3D&exvsurl=1&path=/calendar/item", "onlineMeetingUrl":null, "isOnlineMeeting":true, "onlineMeetingProvider":"teamsForBusiness", "allowNewTimeProposals":true, "isDraft":false, "hideAttendees":false, "responseStatus":{ "response":"organizer", "time":"0001-01-01T00:00:00Z" }, "body":{ "contentType":"html", "content":"<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n<meta content=\"text/html; charset=us-ascii\">\r\n</head>\r\n<body>....</body>\r\n</html>\r\n" }, "start":{ "dateTime":"2020-12-24T10:00:00.0000000", "timeZone":"UTC" }, "end":{ "dateTime":"2020-12-24T10:30:00.0000000", "timeZone":"UTC" }, "location":{ "displayName":"", "locationType":"default", "uniqueIdType":"unknown", "address":{ }, "coordinates":{ } }, "locations":[ ], "recurrence":null, "attendees":[ ], "organizer":{ "emailAddress":{ "name":"Austin Lee", "address":"{userPrincipalName}" } }, "onlineMeeting":{ "joinUrl":"https://teams.microsoft.com/l/meetup-join/19%3ameeting_NTQwZmY5MGMtNzQzNy00OTNjLWFmMGEtZDQ4OTk5OWY1OTZk%40thread.v2/0?context=%7b%22Tid%22%3a%22b2d81422-ae1b-45ca-9dde-e006d77a2b79%22%2c%22Oid%22%3a%22d7a01633-1353-4772-bbc8-bafe4145020f%22%2c%22IsBroadcastMeeting%22%3atrue%7d" }, "calendar@odata.associationLink":"https://graph.microsoft.com/v1.0/users('{userId}')/calendars('{calendarId}')/$ref", "calendar@odata.navigationLink":"https://graph.microsoft.com/v1.0/users('{userId}')/calendars('{calendarId}')" } ] }