powershell-scripts/Audit Office 365 User Activity Report
AdminDroid 62220c887e Audit M365 user activities
Removed MS Online PowerShell module dependency, added CBA support for authentication, extended audit log retrieval from 90 to 180 days.
2025-05-14 18:58:19 +05:30
..
2024-07-03 15:51:14 +05:30

Export Office 365 User Activity Report to CSV using PowerShell

This PowerShell script exports Office 365 users activity report to a CSV file with Activity Time, User, Operation, Result, Workload and Detailed Audit info.

Sample Output:

The script exports an output CSV file that looks like the screenshot below.

Office 365 User Activity Report

Microsoft 365 Reporting Tool by AdminDroid

For more extensive insights beyond this script, explore AdminDroid's Microsoft 365 reporting tool, offering 1800+ out-of-the-box reports and insightful dashboards.

Monitor Office 365 Users Activities in a Few Mouse Clicks: https://demo.admindroid.com/#/1/11/dashboards/44?defaultFilterUniqueId=1&easyFilter=%7B%22CreationTime%22%3A6%7D&filterId=172