Malware/Spam Reports Not Working

Gustavo Neves 1 Reputation point
2021-12-02T18:27:10.03+00:00

Hope you are doing well.
I've been using for a while, the Exchange Reports Office 365 Reporting web service.

On practice i've been using those:

MessageTrace report using "https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace"
MailDetailSpam report using "https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MailDetailSpam"
MailDetailMalware report using "https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MailDetailMalware"

Also, have been using the Powershell commands to track monthly metrics:

Get-MailTrafficSummaryReport -Category TopMailRecipient -startdate "9/1/2021" -enddate "10/1/2021" | ft c1,c2
Get-MailTrafficSummaryReport -Category TopMailSender -startdate "9/1/2021" -enddate "10/1/2021" | ft c1,c2
Get-MailTrafficSummaryReport -Category TopMalwareRecipient -startdate "9/1/2021" -enddate "10/1/2021" | ft c1,c2
Get-MailTrafficSummaryReport -Category TopSpamRecipient -startdate "9/1/2021" -enddate "10/1/2021" | ft c1,c2

For both of cases,i can only get data about "normal mail trace", for the hyperlinks only the mailtrace one works, for the powershell commands only the "TopMail" ones retrieve me data.

Is there any workaround to get "the same report" via other side, or is there any reason for them not to work anymore?

thank you for your help guys

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,506 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,162 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 94,521 Reputation points MVP
    2021-12-02T20:15:59.06+00:00

    The reporting web service is going away, part of the whole "block legacy authentication" initiative. There's supposedly a Graph API based replacement in the works... but I haven't seen any public info on it yet.

    1 person found this answer helpful.