Power BI Connector for Microsoft Teams

Build 25.0.9454

GetUserActivityCount

Returns statistics on user engagement in Teams, broken down by activities like chat messages, meeting participation, and calls.

Input

Name Type Required Description
Duration String True Number of days to include in the user activity report. Determines the reporting period for activity data.

The allowed values are D7, D30, D90, D180.

FileLocation String False Full path where the downloaded CSV report should be saved. Used when writing the report directly to disk.
Encoding String False Text encoding format used for the output report file. Examples include UTF-8, ASCII, or UTF-16.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
Success String Indicates whether the report was generated successfully. Returns true if successful, false otherwise.
FileData String Contains the full contents of the generated report file if FileLocation and FileStream are not provided.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454