SOLVED

AAD to SharePoint Sync deleted the website twice

Brass Contributor
Today that one of our SharePoint sites was deleted for a second time, the first deletion was done yesterday and both without warning. I checked the deleted items section of the O365 SharePoint Admin site and there it was and i restore it back and it started working again. Anyone got any suggestions as to why this happens? the site has been working for several Months.


Looking at audit logs on protection.office.com revealed that the site was deleted by AAD to SharePoint Sync which and nothing more

Date:
2020-12-22 10:54:43
IP address:
User:
AAD to SharePoint Sync
Activity:
The site has been deleted
Object:
https://sharepint.sharepoint.com/sites/***
Information:
3 Replies
best response confirmed by michaelsjodin (Brass Contributor)
Solution

Hi

The issue was because Someone had created a Team from the Sharepoint Team banner, then tried to delete the team and when they do that the linked AD group got deleted as well which is why the deletion of SharePoint showed up as "AAD to SharePoint Sync". Doing and Audit for "Deleted team" reveled who made and deleted the team.

Hi, a classic (and twice!) :) I just assumed that wasn’t the case. You should set up activity alerts for these scenarios.
1 best response

Accepted Solutions
best response confirmed by michaelsjodin (Brass Contributor)
Solution

Hi

The issue was because Someone had created a Team from the Sharepoint Team banner, then tried to delete the team and when they do that the linked AD group got deleted as well which is why the deletion of SharePoint showed up as "AAD to SharePoint Sync". Doing and Audit for "Deleted team" reveled who made and deleted the team.

View solution in original post