Forum Discussion
dannytveria
Apr 25, 2021Copper Contributor
Export last log on more 90 days Office 365
Hi, I'm trying to export csv file, with users that not logged on more then 90 days. I tried to run this script: Get-Mailbox -RecipientType 'UserMailbox' | Get-MailboxStatistics | Sort-Object La...
dannytveria
Apr 26, 2021Copper Contributor
It`s worked with the LastLogonDate.
the LastLogonDate field is when the user last login to his mailbox on 365?
Or which field actually shows the last use mailbox?
AndySvints
Apr 26, 2021Steel Contributor
The research was done on many real-time users, and we have concluded that getting Office 365 user’s inactive time from LastUserActionTime is the best.
Reference: https://o365reports.com/2019/06/18/office-365-users-last-logon-time-incorrect/
Hope that helps.
- dannytveriaApr 27, 2021Copper ContributorHi Andy,
thanks for your gr8 help.
U was very helpfull