Auto or Scheduled download of SharePoint 2016 Audit Logs

Ali 21 Reputation points
2024-06-11T14:03:09.7066667+00:00

We have recently configured SharePoint Audit Logs for our client. Actual way to access Audit Logs reports is Site Settings -> Audit Logs Reports -> Save In Document Library -> Open Report from Library.

Our client have a requirement to automate/schedule the download of Audit Logs or instant access to logs data rather than following the manual steps.

Please share your suggestions to meet this requirement.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,878 questions
{count} votes

Accepted answer
  1. Emily Du-MSFT 43,511 Reputation points Microsoft Vendor
    2024-06-12T07:03:12.53+00:00

    Here are steps:

    1.Run PowerShell script in the following link to create audit logs report.

    https://github.com/chrisdee/Scripts/blob/master/PowerShell/Working/SharePoint/SharePoint2013/SP2013AuditLogReport.ps1

    2.Schedule PowerShell script by using Task Scheduler.

    References:

    https://video2.skills-academy.com/en-us/answers/questions/103081/how-to-run-a-script-daily-in-sharepoint-online-man

    https://www.sharepointdiary.com/2013/03/create-scheduled-task-for-powershell-script.html#:~:text=How%20to%20run%20a%20SharePoint,to%20%E2%80%9CStart%20a%20program%E2%80%9D.

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful