Forum Discussion
Gambit21251
Nov 30, 2023Copper Contributor
Email Usage Report
I know how to run the report. I'm curious if there is a way to have the report run every Monday and emailed?
- 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.- Gambit21251Copper Contributor
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.