Office365 Reports for MailDetailATP

Mahendra Sawarkar 40 Reputation points
2024-02-06T14:48:22.0866667+00:00

We are trying to fetch data using below API for MailDetailATP. https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MailDetailATP?$filter=StartDate eq DateTime'2024-02-06T04:00:01.0000000Z' and EndDate eq DateTime'2024-02-06T04:10:01.0000000Z'   We are able to pull data till $skiptoken=7999 and received the nextLink also. But when we tried to pull the data for below request we received error response.   Request: https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MailDetailATP?$filter=StartDate eq DateTime'2024-02-06T04:00:01.0000000Z' and EndDate eq DateTime'2024-02-06T04:10:01.0000000Z'&$skiptoken=9999   Response: {"odata.error":{"code":"UnknownError","message":{"lang":"","value":"An error has occurred on the server."}}}   For most of our customers we are facing this intermittent issue. Can you please help why this issue we are seeing for above URL and how to resolve this.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,934 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,040 questions
{count} votes