reportRoot: getOffice365GroupsActivityDetail how is the 'Owner Principal Name' determined?

Wrigley, Jonathan 0 Reputation points
2024-10-09T11:56:02.66+00:00

In the reportRoot:getOffice365GroupsActivityDetail API, how is the "Owner Principal Name" calculated? Is this the account that initially created the Microsoft 365 group?

I've noticed that the "Owner Principal Name" differs from the "Managed By" field when pulling group data via the Get-UnifiedGroup cmdlet. Additionally, this value doesn't appear in the "owners" attribute when using Get-MgGroup. I'm curious to understand how the "Owner Principal Name" is determined and if there's a way to query this information directly, without relying on the report.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,284 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hitesh Pachipulusu - MSFT 3,000 Reputation points Microsoft Vendor
    2024-10-09T14:20:27.3466667+00:00

    Hello Wrigley, Jonathan,

    Thank you for reaching out to Microsoft Support!

    Microsoft 365 reports show anonymous user names, group names instead of the actual group names in the following reports:

    • Email Activity
    • Mailbox Activity
    • OneDrive files
    • SharePoint Activity
    • SharePoint Site Usage
    • Microsoft Teams Activity
    • Viva Engage Activity
    • Active users in Microsoft 365 Services and Apps
    • Groups Activity

    Microsoft is hiding user information by default for all reports as part of ongoing commitment to help companies support their local privacy laws.

    To fix this issue, change the following setting in the Microsoft 365 admin center.

    1. Go to the Microsoft 365 admin center.
    2. Go to Settings > Org Settings > Services.
    3. Select Reports.
    4. Clear Display concealed user, group, and site names in all reports, and then select Save.

    Note: You must be a Microsoft 365 global administrator.

    Please refer to documentation.

    Hope this helps.

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


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.