Hi,
You may try this command:
Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -ne $null } | ft DisplayName,Database,DisconnectDate
See the this article for more details: https://technet.microsoft.com/en-us/library/mt577269(v=exchg.160).aspx
Since this forum focuses more on Outlook client related questions, if you need further assistance on this issue, I'd recommend you post a new question to the dedicated Exchange forum:
https://social.technet.microsoft.com/Forums/exchange/en-US/home?forum=onlineservicesexchange
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Regards,
Steve Fan
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact
tnsf@microsoft.com.

Click
here to learn more. Visit the dedicated
forum to share, explore and talk to experts about Microsoft Teams.