SOLVED

SharePoint online site collections audit log using powershell

Copper Contributor

using powershell can we get site collection audit logs?

2 Replies
best response confirmed by VI_Migration (Silver Contributor)
Solution
Site Collection audit logs have been disabled in SPO (and were not accessible via CSOM methods, so no PowerShell available).

Instead, you can use the Unified Audit Log.

https://docs.microsoft.com/powershell/module/exchange/policy-and-compliance-audit/search-unifiedaudi...
1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Solution
Site Collection audit logs have been disabled in SPO (and were not accessible via CSOM methods, so no PowerShell available).

Instead, you can use the Unified Audit Log.

https://docs.microsoft.com/powershell/module/exchange/policy-and-compliance-audit/search-unifiedaudi...

View solution in original post