Is there anyway to get user activity within a date range for a given SharePoint site collection?
Seems like the Management API get's for all SharePoint only. It needs to be from C#.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIs there anyway to get user activity within a date range for a given SharePoint site collection?
Seems like the Management API get's for all SharePoint only. It needs to be from C#.
You cannot directly target a particular site collection but what you can do it use is Audit.SharePoint content type filter while make REST API call.
https://manage.office.com/api/v1.0/{tenant GUID}/activity/feed/subscriptions/content?contentType=Audit.SharePoint&startTime=2017-06-17&endTime=2017-06-19
Once you have data from above service you can use filter based on SharePoint Base API Schema with parameter Site, you might have to use Site Id as parameter to filter events specifics to a particular SharePoint site collectoin.