Office 365 Groups activity one-liners.

groupspslogo.png

 

Here are some one-liners to get various Office 365 Groups reporting/statistics.
You can for example see last activity date on SharePoint, Inbox and Teams.

Remember to log in to Exchange Online and SharePoint Online in the PowerShell session before running these one-liners.

 

#Check Office 365 mailbox activity, all mailbox activity are stored in the inbox
Get-MailboxFolderStatistics -Identity IT -IncludeOldestAndNewestItems -FolderScope Inbox
mailboxactivity






#Check teams activity, all channel chat will be stored in the ConversationHistory
Get-MailboxFolderStatistics -Identity IT -IncludeOldestAndNewestItems -FolderScope ConversationHistory
teamsactivity






#Example of group not enabled for Teams
Get-MailboxFolderStatistics -Identity "Innovation Corner" -IncludeOldestAndNewestItems -FolderScope ConversationHistory
Get-MailboxFolderStatistics -Identity "Innovation Corner" -IncludeOldestAndNewestItems -FolderScope Inbox
noteams

noteaminbox.png






#Check SharePoint activity, see if there are SharePoint site created and when last activity
(Get-SPOSite -Identity ((Get-UnifiedGroup IT | Select-Object -Property *).SharePointSiteUrl)).LastContentModifiedDate | Get-Date -Format yyyy.MM.dd
spdate.png






#Check if ownerless
Get-UnifiedGroupLinks IT -LinkType owner

owner

 

 

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 )

w

Connecting to %s