Which libraries or API to use to access/download audit log reports from a SharePoint Online environment.

Is there a way to download the whole audit log from SharePoint online environment?


Microsoft provides information to pull data from the Office 365/Azure AD audit logs. You can find more information at Office 365 Management Activity API reference.

It's important to note that the SharePoint Online site audit logs have been removed from SharePoint Online. There were no APIs to pull data from them.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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