How to get sharepoint online audit data programatically without using Search-unifiedauditlog commandlet.

1 Answer 1


You can use the Office 365 Management Activity API instead of using the Search-UnifiedAuditLog cmdlet in a PowerShell script.

https://manage.office.com/api/v1.0/<tenant GUID>/activity/feed/subscriptions/start?contentType=Audit.SharePoint

For more information, see Office 365 Management Activity API reference (https://go.microsoft.com/fwlink/p/?linkid=852309).

Demos about how to use Activity API:



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.