Is there an API to get message trace of the organization?
I am able to download the message trace from Exchange admin center but couldn't find an API for that.
Is there an API to get message trace of the organization?
I am able to download the message trace from Exchange admin center but couldn't find an API for that.
How do you log in (programmatically) to get message trace?
Is there any code sample for this, preferably in .net?
I can download trace if I use the link provided below (i.e. "https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace")
but I have to log in with email/password.
This works, but if I try to authenticate programmatically I keep getting 401 error.
The endpoint still uses basic Authentication (which it really shouldn't be in this day and age). If you having problem with code I would suggest you create you own question and post the code you trying to use in that question.
Yes, I figured it out (finally) that this is basic authentication.
There isn't anything in the Graph yet for this but it is available via the older reporting API https://docs.microsoft.com/en-us/previous-versions/office/developer/o365-enterprise-developers/jj984335(v=office.15) eg
https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace
Hi guys, i also need to use the tracing api
it works fine for string filters (e.g. SenderAddress)
but any datetime (e.g. StartDate EndDate Received) it throws a HTTP 500 in the tenant i am working with.
$filter=StartDate eq datetime'2021-06-20T01:00:00' and EndDate eq datetime'2021-07-20T00:00:00'
Is anyone else seeing this?
How do you log in (programmatically) to get message trace?
Is there any code sample for this, preferably in .net?
I can download trace if I use the link provided below (i.e. "https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace")
but I have to log in with email/password.
This works, but if I try to authenticate programmatically I keep getting 401 error.
4 people are following this question.
Exchange server 0Auth authorization for single mailbox from backend service
Send email with attachment - MS Graph
Unable to send multilple large files with email ( > 4mb ) using graph API by creating upload session
Count unread emails with mail.readbasic permission?
Wrong encoding when sending mails with HTML body using MS Graph API and Java SDK client