Forum Discussion
ParvinGasimzada
Jul 01, 2025Copper Contributor
Auditing and Logging
Hello everyone, Is there ay way to monitor/audit files/links which users share via onedrive.
NikolinoDE
Jul 04, 2025Platinum Contributor
OneDrive for Business supports auditing and monitoring of file and link sharing activity. You can track who shared what, when, how, and with whom, using Microsoft 365’s built-in auditing tools.
Key Options to Audit OneDrive for Business Sharing
Microsoft Purview Audit (Standard and Premium)
Microsoft Purview portal: https://compliance.microsoft.com/
Microsoft 365 Defender Portal
You can also audit via:
https://security.microsoft.com/auditlogsearch
PowerShell (Advanced)
You can query audit logs with PowerShell:
Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-30) -EndDate (Get-Date) -RecordType SharePointFileOperation -Operations FileShared
Hope this helps you a little