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

Incorrect site url in Hub Site Navigation after Invoke-SPOSiteSwap

If you like to replace your SharePoint Online root site collection to different site collection, Microsoft has released Invoke-SPOSiteSwap -powershell command. This is handy, for example, when you are creating intranet by using modern SharePoint Communication Sites. Invoke-SPOSiteSwap is pretty simple command. You just have to have Source Site Collection URL, Target Site Collection URL, …

Continue reading Incorrect site url in Hub Site Navigation after Invoke-SPOSiteSwap

Authoritative News Site in SharePoint Online

Microsoft has just released new feature for SharePoint Online for tagging the organisational news and lifting the organisational news to SharePoint Home page. All you need to do is run a PowerShell Command Set-SPOOrrgNewsSite to set your site to behaving as the organizational authoritative news site. First you have to connect to your tenant using …

Continue reading Authoritative News Site in SharePoint Online

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