Skip to main content

teams report useractivityuserdetail

Get details about Microsoft Teams user activity by user

Usage

m365 teams report useractivityuserdetail [options]

Options

-p, --period [period]

The length of time over which the report is aggregated. Supported values D7, D30, D90, D180. Specify the period or date, but not both.

-d, --date [date]

The date for which you would like to view the users who performed any activity. Supported date format is YYYY-MM-DD. Specify the date or period, but not both.

-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.

Examples

Gets details about Microsoft Teams user activity by user for the last week.

m365 teams report useractivityuserdetail --period D7

Gets details about Microsoft Teams user activity by user for July 13, 2019.

m365 teams report useractivityuserdetail --date 2019-07-13

Gets details about Microsoft Teams user activity by user for the last week and exports the report data in the specified path in text format.

m365 teams report useractivityuserdetail --period D7 --output text > "useractivityuserdetail.txt"

Gets details about Microsoft Teams user activity by user for the last week and exports the report data in the specified path in json format.

m365 teams report useractivityuserdetail --period D7 --output json > "useractivityuserdetail.json"

Response

[
{
"Report Refresh Date": "2022-10-28",
"User Id": "00000000-0000-0000-0000-000000000000",
"User Principal Name": "6E55A185B405B6F2A6804BB7897C8AAB",
"Last Activity Date": "2022-10-26",
"Is Deleted": "False",
"Deleted Date": "",
"Assigned Products": "MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE",
"Team Chat Message Count": "5",
"Private Chat Message Count": "0",
"Call Count": "0",
"Meeting Count": "0",
"Meetings Organized Count": "0",
"Meetings Attended Count": "0",
"Ad Hoc Meetings Organized Count": "0",
"Ad Hoc Meetings Attended Count": "0",
"Scheduled One-time Meetings Organized Count": "0",
"Scheduled One-time Meetings Attended Count": "0",
"Scheduled Recurring Meetings Organized Count": "0",
"Scheduled Recurring Meetings Attended Count": "0",
"Audio Duration": "PT0S",
"Video Duration": "PT0S",
"Screen Share Duration": "PT0S",
"Audio Duration In Seconds": "0",
"Video Duration In Seconds": "0",
"Screen Share Duration In Seconds": "0",
"Has Other Action": "No",
"Urgent Messages": "0",
"Post Messages": "2",
"Tenant Display Name": "CONTOSO",
"Shared Channel Tenant Display Names": "",
"Reply Messages": "3",
"Is Licensed": "Yes",
"Report Period": "7"
}
]
CTRL + M