SharedMailbox Cleanup

%3CLINGO-SUB%20id%3D%22lingo-sub-38389%22%20slang%3D%22en-US%22%3ESharedMailbox%20Cleanup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38389%22%20slang%3D%22en-US%22%3E%3CP%3EI%20was%20wondering%20is%20there%20is%20any%20way%20to%20find%20out%20latest%20activity%20happened%20on%20Shared%20Mailbox%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20mean%20last%20accessed%20by%2F%20last%20sent%2Frecieved%20email%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20running%20project%20to%20cleanup%20some%20of%20stale%20shared%20mailbox%20from%20our%20tenant.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-38389%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-38400%22%20slang%3D%22en-US%22%3ERe%3A%20SharedMailbox%20Cleanup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38400%22%20slang%3D%22en-US%22%3E%3CP%3EGet-MailboxStatistics%20will%20give%20you%20the%20last%20logon%20date%2C%20but%20not%20the%20user.%20For%20that%20you%20need%20auditing%20enabled%20on%20the%20mailbox.%20For%20last%20sent%2Freceived%20message%2C%20you%20can%20use%20the%20message%20trace%2C%20Alan%20has%20a%20nice%20script%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Foffice%2FOffice-365-Mail-Traffic-afa37da1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2Foffice%2FOffice-365-Mail-Traffic-afa37da1%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20new%20reports%20in%20the%20O365%20portal%20dont%20include%20data%20from%20shared%20mailboxes%2C%20but%20you%20can%20still%20use%20the%20PowerShell%20cmdlets%20to%20get%20some%20additional%20info%20(for%20example%20the%20Get-MailboxUsageDetailReport).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20of%20course%20there%20are%203rd%20party%20tools%20that%20can%20give%20you%20more%20data%20(or%20historical%20overview%20of%20the%20usage)%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Deleted
Not applicable

I was wondering is there is any way to find out latest activity happened on Shared Mailbox?

 

I mean last accessed by/ last sent/recieved email etc.

 

We are running project to cleanup some of stale shared mailbox from our tenant.

1 Reply
Highlighted

Get-MailboxStatistics will give you the last logon date, but not the user. For that you need auditing enabled on the mailbox. For last sent/received message, you can use the message trace, Alan has a nice script here: https://gallery.technet.microsoft.com/office/Office-365-Mail-Traffic-afa37da1

 

The new reports in the O365 portal dont include data from shared mailboxes, but you can still use the PowerShell cmdlets to get some additional info (for example the Get-MailboxUsageDetailReport).

 

And of course there are 3rd party tools that can give you more data (or historical overview of the usage)