Querying Audit log in Microsoft purview portal

Dattatraya Kamthe, Anita 40 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?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,793 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
953 questions
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 32,081 Reputation points Microsoft Vendor
    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