messagetrace limit

Guney 40 Reputation points
2024-04-10T14:24:59.5533333+00:00

Good day,

Is there any way to expand 1000 messages limits of Message Trace Extended report retrieving from message trace in exchange online ?

Also let me know how can I take message trace extended report (which it has all extended report fields not only message trace in powershell) by using powershell without any limitation for the number of records.

Thank you,

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,185 questions
Windows for business | Windows Server | User experience | PowerShell
{count} votes

Accepted answer
  1. Anonymous
    2024-04-11T12:17:21.7133333+00:00

    Hi,

      According to your description, if you want to expand the number of email traces, you can use the  Get-MessageTrace -PageSize <Int32>in cmdlet to change the number to a maximum of 5000. If you want to use PowerShell to export a message trace report, first use the Start-HistoricalSearch cmdlet to create the report, and then use Get-HistoricalSearch to get the search information. Reference URLs for specific command parameters: Get-MessageTrace (ExchangePowerShell) | Microsoft Learn

                        Start-HistoricalSearch (ExchangePowerShell) | Microsoft Learn

                         Get-HistoricalSearch (ExchangePowerShell) | Microsoft Learn


1 additional answer

Sort by: Most helpful
  1. Vasil Michev 119.7K Reputation points MVP Volunteer Moderator
    2024-04-10T16:32:46.6966667+00:00

    The cmdlet you can use is Start-HistoricalSearch: https://learn.microsoft.com/en-us/powershell/module/exchange/start-historicalsearch?view=exchange-ps

    As mentioned in the documentation, the limit is 100000 rows.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.