mirror of
https://github.com/admindroid-community/powershell-scripts.git
synced 2025-12-17 16:35:19 +00:00
880 B
880 B
Export Microsoft 365 Users’ Login History Report using PowerShell
This PowerShell script exports a Microsoft 365 users’ logon history report, enabling administrators to track users’ login activities.
Sample Output:
The script exports an output CSV file that looks like the screenshot below.
Microsoft 365 Reporting Tool by AdminDroid
Looking for more in-depth reporting? AdminDroid Microsoft 365 reporting tool offers an extensive collection of over 1800 out-of-the-box reports and dashboards. It’s the perfect complement to your PowerShell scripts.
View more comprehensive User login history report through AdminDroid: https://demo.admindroid.com/#/1/11/reports/20300/1/20
