For more visibility, Adding answer from the comment section:
There is no way to get actual organizer ID.
Could you please raise a user voice here:
https://microsoftteams.uservoice.com/forums/555103-public/filters/new
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Trying to pull attendance reports from other users, however i need to know the User ID of the meeting organizer for multiple steps.
I have found the most reliable method of pulling users calendar events to be with this:
/users/{id | userPrincipalName}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
And I can find meeting organizer and JoinURL in those results:
"organizer": {
"emailAddress": {
"name": "XXX XXXXX",
"address": "XXXXano@HarrisburgU.edu"
}
"onlineMeeting": {
"joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting........."
}
Which is perfect for then running the following step:
/users/{userId}/onlineMeetings?$filter=JoinWebUrl%20eq%20'{joinWebUrl}'
And then getting the meeting ID:
/users/{userId}/onlineMeetings/{meetingId}
And then getting the attendance reports.
Here is my problem, when the meeting was created from a channel, the meeting organizer is set to the group email address:
"organizer": {
"emailAddress": {
"name": "XX Class Test",
"address": "XXClassTest@my.harrisburgu.edu"
}
When I try to pull meeting ID using the OID of the group and the JoinURL, it fails. It only works if I know the OID of the meeting organizer.
Is there an easy method of getting the meeting organizer of a channel created meeting?
For more visibility, Adding answer from the comment section:
There is no way to get actual organizer ID.
Could you please raise a user voice here:
https://microsoftteams.uservoice.com/forums/555103-public/filters/new
@ChetanSharmamsft Is there any other way to bump this? The uservoice url isn't valid anymore.