Querying Audit log in Microsoft purview portal

Dattatraya Kamthe, Anita 60 Reputation points
2024-05-02T14:11:13.8266667+00:00

Hi Team,

We have requirement to display recently viewed pages by currently logged in user in SharePoint. We found that there is beta version of graph API available. It can be used to query the audit logs from Purview portal. We are able to create search queries and run it successfully. but the issue is that it will create search job in audit log page every time API is called. Could you please let me know if there is any limit on number of search jobs that can be created in purview portal under Audit log?

Microsoft 365 and Office SharePoint For business Windows
Microsoft Security Microsoft Purview
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2024-05-03T02:23:33.5033333+00:00

    Hi @Dattatraya Kamthe, Anita,

    Per my research, there seems no such limit on the number of search jobs. But there is a limit on download maximum of 50,000 entries to a CSV file from a single audit log search. You could refer to following document

    https://learn.microsoft.com/en-us/purview/audit-log-export-records#step-1-export-audit-log-search-results

    And there is a limit on graph api request. You could refer to the document

    https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online


    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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.