Use PowerShell to get all Shared Mailboxes for a user in Exchange Online
Similar to my post yesterday to get all SharePoint Sites for a user, I received another request today to generate a report of all Shared Mailboxes that a user has access to in Exchange Online.
Right now, there's no ability in the Exchange Admin center to list all Shared Mailboxes that a user can access.
To work around this limitation, I wrote a simple PowerShell script to get all Shared Mailboxes, check if the specified user has permissions, then output the report to a .csv
file.