Forum Discussion

colonel_claypoo's avatar
colonel_claypoo
Frequent Visitor
1 year ago
Solved

Automated Purview audit log reports?

I don't have much Power BI experience but wanted to know if it's possible to create reports from the Purview audit log data? I know the manual and PowerShell way to get the data from Purview into Po...
  • nilendraFabric's avatar
    1 year ago

    Hello colonel_claypoo 

     

    there are many methods to do this including the one you mentioned using O365 management api

     

    Office 365 Management Activity API :


    The Office 365 Management Activity API provides programmatic access to audit log data and can be used to create automated, unattended solutions. To use this method:
    • Register an application in Azure AD and configure appropriate permissions
    • Use the API to retrieve audit log data programmatically
    • Connect the API to Power BI using Power Query or custom connectors

     

     

    azure event hub

     

    Microsoft Purview can be configured to stream audit logs to Azure Event Hubs. From there, you can:
    • Capture the streaming data in Azure Storage
    • Use Azure Data Factory or other ETL tools to process the data
    • Load the processed data into Power BI for reporting

     

    Power Automate (Flow) Integration
    You can create a Power Automate flow to:
    • Periodically retrieve audit log data using the Office 365 Management Activity API
    • Process and filter the data as needed
    • Write the data to a SharePoint list or other data source
    • Connect the data source to Power BI for reporting

    Even Azure log analytics will solve this as well

     

    Please accept the solution and give kudos if this is helpful