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
oremail
, 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
oremail
, 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
oremail
, 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 isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
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.
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
- JSON
- Text
- CSV
- Markdown
{
"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
}
]
}
]
}
attendanceRecords : [{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","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}]}]
id : a8634e64-3147-4a56-9b19-cc822e9c7972
meetingEndDateTime : 2024-04-06T08:18:28.482Z
meetingStartDateTime : 2024-04-06T08:18:21.668Z
totalParticipantCount: 1
id,totalParticipantCount,meetingStartDateTime,meetingEndDateTime
a8634e64-3147-4a56-9b19-cc822e9c7972,1,2024-04-06T08:18:21.668Z,2024-04-06T08:18:28.482Z
# teams meeting attendancereport get --meetingId "MSpmZTM2Zjc1ZS1jMTAzLTQxMGItYTE4YS0yYmY2ZGYwNmFjM2EqMCoqMTk6bWVldGluZ19NRGt4TnpSaE56UXRZekZtWlMwMFlqWTFMVGhoTVRFdFpUWTBOV1JqTnpoaFkyVTVAdGhyZWFkLnYy" --id "a8634e64-3147-4a56-9b19-cc822e9c7972"
Date: 09/04/2024
## a8634e64-3147-4a56-9b19-cc822e9c7972
Property | Value
---------|-------
id | a8634e64-3147-4a56-9b19-cc822e9c7972
totalParticipantCount | 1
meetingStartDateTime | 2024-04-06T08:18:21.668Z
meetingEndDateTime | 2024-04-06T08:18:28.482Z