Email Usage Report

Copper Contributor

I know how to run the report. I'm curious if there is a way to have the report run every Monday and emailed?

3 Replies
You can schedule a script that runs the corresponding Graph query/cmdlet. I.e. the following query for the User detail email activity report for the past 7 days:

GET https://graph.microsoft.com/v1.0/reports/getEmailActivityUserDetail(period='D7')

or the corresponding Get-MgReportEmailActivityUserDetail cmdlet.

@VasilMichev Awesome, but what does that mean? I'm semi-savvy but you went over my head on that one. If you can lay out the directions, I'll give it a shot.