Forum Discussion
How to get attendance of users who join live event online through Microsoft Graph API ?
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
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}')" } ] }- Manish-MSFTJan 15, 2021Former Employee
austin_lee : I am able to get list of attendees here's what I did.
1. https://graph.microsoft.com/v1.0/me/events : [Post] sent request to this API to create an Event.
{"subject":"Let's go for lunch","body":{"contentType":"HTML","content":"Does noon work for you?"},"start":{"dateTime":"2017-04-15T12:00:00","timeZone":"Pacific Standard Time"},"end":{"dateTime":"2017-04-15T14:00:00","timeZone":"Pacific Standard Time"},"location":{"displayName":"Harry's Bar"},"attendees":[{"emailAddress":{"address":"first email address","name":"firstName"},"type":"required"},{"emailAddress":{"address":"{secound email address}","name":"{secound name}"},"type":"required"}],"allowNewTimeProposals":true,"transactionId":"7E163156-7762-4BEB-A1C6-729EA81755B8"}Once, event is created I then used ListEvents API [Get] request to list my event which also returned attendees to the event.
Please follow above steps you will get attendees joining that event.
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 17, 2021Copper Contributor
I tried Calendar Event APIs already, I could get attendees from API if I give attendees on event created.
But my scenario is to create a live event without attendees on calendar then send join url to attendees, and I could get the list of attendee who attended from calendar.
I would like to know if there is any API to get the attendee report.
Thanks.
Best regards,
Austin