Has anyone successfully automated the extraction of sensitivity label metrics from Microsoft Purview Audit Logs using an Azure App Registration?
I’m looking for a way to retrieve the audit data, generate a report (CSV/Excel), and automatically upload it to a SharePoint folder on a schedule.
If you’ve implemented something similar, could you share which API you used (Graph API or Microsoft 365 Management Activity API), the overall approach, or any challenges you encountered?
Thanks in advance!

Report
All responses (
Answers (