Overview

This PowerShell script exports Microsoft 365 usage reports using the Microsoft Graph API and the Exchange Online Management PowerShell Module. The results are saved locally and can also be sent by email.

The reports that can be exported using this script are:

Requirements

For Automation and Unattended Jobs

For Manual and Interactive Use