Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

Audit Logs Not Capturing Deleted Sites in Sharepoint

Brass Contributor

Wondering can anyone help with finding or enabling sharepoint so it's logging when someone deletes a site.

We have had an occassion where someone accidently deleted a team site but the audit logs on security compliance doesn't capture this.

 

Is there somewhere else we can search to see who did it

5 Replies

SharePoint has always lacked properr auditing, I dont think there is a way to see this currently. @Juan Carlos González Martín might be able to give more insight here.

Unfortunately, the site and site collection deletion events are not currently provided in the Audit Log Search at the Compliance & Security Center. Neither this information is provided by ative audit log features in SPO...the only way I see you could get this information is by querying the change log in SPO using Client Side Object Model programming

Thanks That one might be a little outside my wheel house to write.

 

I find it funny that the audit logs does capture the site creation.

 

I've rasied it via support as a feature request.  Seems to me a large security hole

Hi David,

 

I just did a quick test, creating a SharePoint Online site and then deleting it.  The deletion event was captured in the Audit Log.  If this is still an issue for you, could you please provide more detail?

 

 

SPO_DeletedSiteLog.PNG

I believe you need to turn on site collection auditing to capture site deletion activity. 

I just tried quick site creation on two different site collections one with site collection auditing enabled and other is not. When I delete those sites, I could get the activity for the site collection auditing enabled one.