Updated 4 days ago
Posted on
March 7, 2019

Export Office 365 Users’ Last Logon Time to CSV

Summary
Tracking Office 365 user last logon time helps admins identify inactive accounts, reclaim unused licenses, and monitor sign-in activity. The provided PowerShell script exports last logon details to CSV covering attributes like inactive days, sign-in status, and mailbox type. Results can be filtered by inactivity threshold or specific user lists imported from CSV.
About the author

O365Reports Content Team is a specialized group of domain experts across Microsoft Entra, Exchange, SharePoint, Teams, Intune, Active Directory and security. Their work focuses on administration, governance, and configuration guidance that reflects real environment conditions. This helps IT teams apply settings correctly and maintain consistent operational control.

Previous Article

Director added you to a Project Team! - A new phishing attempt targeted on Office 365 users.

Next Article

Export Office 365 Mailbox Permission Report to CSV