question

GiefGraphQueriesoutlookcom-9070 avatar image
0 Votes"
GiefGraphQueriesoutlookcom-9070 asked saldana-msft edited

getMailboxUsageDetails returning a ID instead of UserprincipalName and DisplayName

Hi,

Very recently this query has started to output a ID instead of actual users UPN and DisplayName. This used to output the proper UPN and DisplayName.
Anybody know what this ID is and if it's able to query Exchange/Azure/M365 to get the actual UPN and DisplayName?
https://graph.microsoft.com/beta/reports/getMailboxUsageDetail(period='D7')?$format=application/json

The same result shows for different tenants.

Thanks

microsoft-graph-mailmicrosoft-graph-explorermicrosoft-graph-reports
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered

This is because of Privacy changes to Microsoft 365 Usage Analytics that hide properties that identify the user. You need to disable the anonymize user data feature. Follow the steps in the screenshot below from Admin Portal.

129716-enable-anonimity-reports.png



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

GiefGraphQueriesoutlookcom-9070 avatar image
0 Votes"
GiefGraphQueriesoutlookcom-9070 answered

Thank you, this solved the issue!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.