TspringMSFT/Office365UsageReports
Using Azure Active Directory, an AAD application registration, and correctly configured permissions it is an easy thing to pull Office 365 reports via Graph. This PowerShell script will make that data pull even easier. To setup the prerequisites for getting this to work refer to this site: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-reporting-api-getting-started-azure-portal#execute-the-script. Once you have created the application go to Application Registrations and grant it the permissions to Microsoft Graph API. The permissions needed are Delegated permissions for "read all usage reports". and "read identity risk event information". Before running the script enter your app's clientid, secret and your tenant name into the script.