Skip to main content

teams meeting attendancereport get

Gets attendance report for a given meeting

Usage

m365 teams meeting attendancereport get [options]

Options

-u, --userId [userId]

The id of the user, omit to get attendance report for the current signed in user. Use either id, userName or email, but not multiple.

-n, --userName [userName]

The name of the user, omit to get attendance report for the current signed in user. Use either id, userName or email, but not multiple.

--email [email]

The email of the user, omit to get attendance report for the current signed in user. Use either id, userName or email, but not multiple.

-m, --meetingId <meetingId>

The Id of the meeting.

-i, --id <id>

The Id of the attendance report.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

warning

To run this command with application permissions, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user. For more details, click here.

note

This method doesn't support channel meetings.

Examples

Gets the specified attendance report made for the current signed in user and Microsoft Teams meeting with given id.

m365 teams meeting attendancereport get --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972

Gets the specified attendance report made for the garthf@contoso.com and Microsoft Teams meeting with given id.

m365 teams meeting attendancereport list --userName garthf@contoso.com --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972

Response

{
"id": "a8634e64-3147-4a56-9b19-cc822e9c7972",
"totalParticipantCount": 1,
"meetingStartDateTime": "2024-04-06T08:18:21.668Z",
"meetingEndDateTime": "2024-04-06T08:18:28.482Z",
"attendanceRecords": [
{
"id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
"emailAddress": "john@contoso.com",
"totalAttendanceInSeconds": 3,
"role": "Organizer",
"identity": {
"id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
"displayName": "John Doe",
"tenantId": "f1dd4023-a656-480a-8a0e-c1b1eec51e1e"
},
"attendanceIntervals": [
{
"joinDateTime": "2024-04-06T08:18:24.5069531Z",
"leaveDateTime": "2024-04-06T08:18:28.4820462Z",
"durationInSeconds": 3
}
]
}
]
}
CTRL + M