0

I have problem how to create API get Audit log and get return value via CSOM?

when i try to this Site collection audit settings for Sp online using CSOM

this is i can't get value it's only save to path.

how to get the value of audit log

2 Answers 2

0

SharePoint Online no longer uses Site Collection Auditing and no longer records entries.

You should be using the Unified Audit Log, instead.

1
  • hi im using sharepoint server on premises. not using online.but it's same? Commented Sep 16, 2020 at 1:28
0

If you want to search the unified audit log via powershell, you will need to use the cmdlet Search-UnifiedAuditLog after connecting to exchange online.

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.