Pregunta

I am trying to obtain audit log from sharepoint online using Office management api.

When I use https://manage.office.com/api/v1.0/tenant-id/activity/feed/subscriptions/content?contentType=Audit.SharePoint as a Api url I am getting data of previous 24 hours but what I wanted data according to input date.

So I tried this url: https://manage.office.com/api/v1.0/tenant-id/activity/feed/subscriptions/content?contentType=Audit.SharePoint&startTime=2019-02-26&endTime=2019-03-03. I am getting

400 Bad Request" Error

What should be Request Url in that case?

Otros consejos

You have the wrong date format. It should be in this format which is more url friendly.

YYYY-MM-DD

Licenciado bajo: CC-BY-SA con atribución
scroll top