Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Graph API BETA - Reports returning userPrincipalName encrypted/hashed

When calling one of reports endpoints, eg https://graph.microsoft.com/beta/reports/getTeamsUserActivityUserDetail(period='D7')?$format=application/json

The userPrincipalName returned looks something like 91AFD71ACEEFDD92B5B0A041F0E2FDA6 for our tenant but I see the expected email in our test tenant.

I didnt see anything in the documentation on additional permissions required or other potential security settings. How do I get the actual UPN when calling the reports?


1 Answers

For others that may run into this in the future:

An Office 365 administrator must disable the setting "Display anonymous identifiers" under Settings->Reports.

See MS Support Document


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!