Forum Discussion
Abelokobylka
Apr 17, 2025Copper Contributor
SharePoint.....365 Groups Clean Up - Unused Sites
Hello, my wonderful people! I am attempting to clean up a list of existing SharePoint sites. There are over 300 sites currently, luckily this will no longer grow since allowing users to create site...
- Apr 22, 2025
Hi Abelokobylka Maybe you could use Microsoft Graph to retrieve details of all Microsoft 365 Groups. Like Calendar, Conversations, Drive, Notes and Planner.
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0&tabs=http
michalkornet
Apr 22, 2025Iron Contributor
Hi Abelokobylka Maybe you could use Microsoft Graph to retrieve details of all Microsoft 365 Groups. Like Calendar, Conversations, Drive, Notes and Planner.
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0&tabs=http
- AbelokobylkaApr 22, 2025Copper Contributor
Wow this is super helpful, I have used the Graph API a few times so it shouldn't be too hard. I did I not know that I could get this info from there.
This is perfect so my plan so far:
- Check SharePoint activity and mailbox activity w/PowerShell script.
- Use Graph API for Calendar, Conversations, Drive, Notes and Planner. <--Thanks to you!
- Figure out if Graph API or PowerShell can get me data on Teams and Yammer, the last two things I will need to check.