We have a need to limit users activity on all sites (classic team sites, modern team sites, group-based sites, etc.) during a time period to support final migration sync between two tenants. Is there a script or automation to make this happen? The closest thing I came across was this http://www.sites.se/2016/09/site-policy-powershell-sharepoint-online/#comments
which gives me a good idea but leaves that question un-answered that Gabriel asked at the end of the article. Thoughts?
Hi Samir,
You should be able to do this using power shell & graph api’s. You could also check out our product at www.watchdog365.com that allows you to manage your groups and teams from one single place.