Graph API -getTeamsUserActivityUserDetail - Response clarification

Anonymous
2023-02-02T06:35:50.5133333+00:00

Hi ,

I am using below API to get details of user activities in teams,

https://graph.microsoft.com/v1.0/reports/getTeamsUserActivityUserDetail(period='D30')

Response :

User's image

I would like to know why my user Ids are 0 always. Also I thought if I give D30 as period ,i will give report for 30days. But the report is taken only till 31st i guess . I would like to know why yesterdays report is not shown.

Please guide if there is any other graph API to get user activity details in Teams .

Thanks

Chanakya

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-02-02T07:13:02.87+00:00

    Hi @Anonymous ,

    Thanks for reaching out!

    By default, user information for all reports is hidden.

    To unhide user-level information when you're generating your reports, a global administrator can quickly make the changes in the admin center by the following steps:

    1. In the admin center, go to the Settings > Org Settings > Services page.
    2. Select Reports.

    3. Uncheck the statement Display concealed user, group, and site names in all reports, and then save your changes.

    cid:image_ba234a18-7a10-48d7-831a-a368e8d64f46.png

    Reference link: Show Reports

    Hope this helps.

    If the reply is helpful, please click "Accept Answer" and kindly upvote it. If you have additional questions about this answer, please click "Comment".


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.