Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I am trying to built an audit report for SharePoint online site collection. I am not sure which data source I need to connect to get site specific audit data.
Please note this is for a specific site collection, not for all site collection under SP tenant.
Thanks,
JD
Solved! Go to Solution.
You may want to be a bit more specific as to what audit data you are after. Here's an example of how to get document level audit data via Powershell
Here's another one that allows you to search for specific entries
https://www.codetwo.com/admins-blog/enable-view-sharepoint-online-logs/
You can't connect directly to the audit logs via Power Query that I am aware of. You will need to connect to CSV exports. As @lbendlin indicated, you can do this via Power Shell. You can also manually export the logs via the Audit Log search tool at protection.office.com for your tenant and filter for SharePoint.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYou can't connect directly to the audit logs via Power Query that I am aware of. You will need to connect to CSV exports. As @lbendlin indicated, you can do this via Power Shell. You can also manually export the logs via the Audit Log search tool at protection.office.com for your tenant and filter for SharePoint.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYou may want to be a bit more specific as to what audit data you are after. Here's an example of how to get document level audit data via Powershell
Here's another one that allows you to search for specific entries
https://www.codetwo.com/admins-blog/enable-view-sharepoint-online-logs/
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 12 | |
| 9 | |
| 6 | |
| 6 |