Question

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?

Autres conseils

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

YYYY-MM-DD

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top