Skip to content

New command: m365 teams meeting list #3899

@appieschot

Description

@appieschot

Usage

m365 teams meeting list

Description

Retrieve all online meetings for a given user

Options

Option Description
-u, --userId [userId] The id of the user, omit to retrieve meetings for current signed in user. Use either id, userName or email, not all.
-n, --userName [userName] The name of the user, omit to retrieve meetings for current signed in user. Use either id, userName or email, not all.
--email [email] The email of the user, omit to retrieve meetings for current signed in user. Use either id, userName or email, not all.
--startDateTime [startDateTime] The startdate used to query for meetings
--endDateTime [endDateTime] The enddate used to query for meetings
--isOrganizer Set to retrieve only meetings the user is organizer for

Examples

Lists all meetings for [email protected]

m365 teams meeting list --userName [email protected]

Lists all meetings for current signed in user

m365 teams meeting list

Additional Info

The only endpoint to retrieve meetings from is the https://graph.microsoft.com/v1.0/me/events or https://graph.microsoft.com/v1.0/[username]/events but that does not support filtering on the onlineMeeting or onlineMeetingUrl, isOnlineMeeting, onlineMeetingProvider properties. We should filter the results on ?$filter=isOrganizer eq true to get all meetings you have organized and loop through the URLs in code to validate if there is a onlineMeetingUrl(or filter in code on theisOnlineMeetingI guess, as we need theJoinUrl` to retrieve details or transcripts.

Since it is a list command show subject, start, end

⚠️ requires additional permissions so please put those in the PR to make sure we do not forget: Calendars.Read

We will need a check to make sure userName is required when they are signed in with app permissions.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions