Forum Discussion
Daniel_Schmidt
Jul 13, 2021Copper Contributor
Intune - Last Logged on User Report
Hi Everyone.
I'm working on a report that informs the name of each equipment in my Tenant, as well as the last user logged into it. I didn't find any reference to how Intune retrieves this information from devices, and how it can be extracted to create a report. Any advice?
- PowerShell Graph is the way to go when you want ti export some proper reports. A great place to start would be https://github.com/microsoftgraph/powershell-intune-samples/tree/master/ManagedDevices
- Daniel_SchmidtCopper Contributor
Thanks Rudy_Ooms_MVP .
I started to search in Graph where could be stored the information of the last logged on users for each device. However, it was not possible to find anything but the primary users. Is this type of information ever stored in Microsoft Graph? If yes, where?
- Did you also use the graph explorer like in this post?
https://docs.microsoft.com/en-us/answers/questions/335692/find-out-last-logon-user-of-mdm-assigned-coporate.html