Unable to get available content between dates from office 365 management api

Viewed 58

I'm using the Office 365 Management API to get available content (audits) between dates but I keep getting events from the last 24 hours.

This is the url I'm using:

/subscriptions/content?contentType=Audit.Exchange&startTime=2017-08-11&endTime=2017-08-12

I tried using all date formats listed in the documentation

  • YYYY-MM-DD
  • YYYY-MM-DDTHH:MM
  • YYYY-MM-DDTHH:MM:SS

I also tried switching the start and end (from the later to the earlier).

Another thing I tried is giving a range of less than 24 hours in the last 24 hours.

But I still get the entire last 24 hours.

1 Answers
Related