Get a list of O365 groups

Posted by

The inclusion of O365 groups is great, it enables users to share documents, planner, calendar. Also taking into account that everyone is able to create a group.

However the problem starts when a user ask for the group url of the site collection, at first glance, you will thinlk to go to the SharePoint Admin Center and search for the site collection, and then you realize, that this site collection that has been created by groups, simply does not exist.

So what we can do? A simply approach will be use a Search Results Web Part in SharePoint Online to show those Site Collections, so let’s use it 🙂

query.png

So by doing this, we will be able to show all the groups that has been created in O365 and also taking into account that the security trimming will be respected.

The only drawback to this solution will be that the private groups won’t be listed in the search results. Also to improve this query, will be great to be able to show the Yammer groups or other locations where we store the documents.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s