Forum Discussion
Bupeshkumar Rajendiran
Aug 12, 2018Copper Contributor
O365 last logon
I am trying to extract 0365 last-logon. is there is any other way other than mailboxstatistics cmdlet in powershell. This command doesnt help me. Things i have tried. 1. Search-UnifiedAuditLog -...
VasilMichev
Aug 12, 2018MVP
Those are the methods that expose the correct data. If you are looking to automate it, PowerShell should do the trick, and for the report you can use the Graph API: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/reportroot_getoffice365activeuserdetail