Quantcast
Channel: Office 2013 and Office 365 ProPlus - IT Pro General Discussions forum
Viewing all articles
Browse latest Browse all 14306

I would like to use Python "requests.get" to run a MessageTrace and be able to retrieve all email logs within the organization

$
0
0

The link provided by MSFT to use is: 

"'https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace"

from the following website:

"https://docs.microsoft.com/en-us/previous-versions/office/developer/o365-enterprise-developers/jj984328(v=office.15)"

I am only able to retrieve up to 2000 recent records using python:

import requests  

req = requests.get(url, auth=(user, pwd)

How can I get all available logs which can be millions and how can I bypass the 2000 limit ? 

Thank you 


Viewing all articles
Browse latest Browse all 14306

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>