@Vasil Michev - I have a task to also look for message size for inbound and outbound for every single user. I followed https://gallery.technet.microsoft.com/office/Office-365-Mail-Traffic-afa37da1/view/Discussions#conte...
unfortunately, i can only extract 2 - 3 days worth of data. Since get-messagetrace can retrieve up to 7 days and page-size limitation etc.
How can I go beyond 30days to complete this task?
anyone has any script or tool that could help me with this?
Well the idea with this script is to run it periodically to collect data. Otherwise, you can use the "historical" search as detailed here: https://technet.microsoft.com/en-us/library/jj200712(v=exchg.150).aspx#BKMK_Viewmessagetracefesultsf...