문제

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#.

도움이 되었습니까?

해결책

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.

https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema#sharepoint-base-schema

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top