The LastLogonTime is not a good indicator of activity, as it can be updated by background processes accessing the mailbox. LastInteractionTime also wont help you here, as it's not updated on most shared mailbox activities (only on direct login). The most accurate information you can get is out of the audit logs, but that would require additional parsing.
Best attribute to use to gauge Shared Mailbox activity?

Priscillano Ramon Mariano III
80
Reputation points
What attribute can be used to best gauge whether a Shared Mailbox is active or not?
So far, I'm using a combination of last email sent/received timestamps and LastLogonTime.
I'm at odds whether the behavior of LastLogonTime is fit for my need though. Does this attribute detect if a shared mailbox is already connected to a user's Outlook desktop application/mobile phone, and they open the shared mailbox' inbox? What interactions does this attribute track or detect?
Additionally, is the attribute LastInteractionTime fit for what I am trying to do?