Getting All Office 365 Groups and Group Owners with PowerShell

Sometime you might need to get list of all your Office 365 Groups from your tenant and list Group Owners for every group. You can do this with PowerShell and Microsoft Graph API. There is List Groups and List Owners interfaces in Microsoft Graph API. By combining these two interfaces, we can create script for …

Continue reading Getting All Office 365 Groups and Group Owners with PowerShell

Setting SharePoint Online site collection to Read Only state based on Last Activity Date

In my last post I showed how to get SharePoint Online Site Collection Last Activity Date with Microsoft Graph API. In this post I will demonstrate how to use last activity date and set site collection to Read Only -mode using SharePoint Online Site Policy Feature. Create Site Policy and publish it to site collections …

Continue reading Setting SharePoint Online site collection to Read Only state based on Last Activity Date