shared mailbxo with owner

kanupriya 80 Reputation points
2024-04-24T02:39:25.9633333+00:00

hi Team,

please help me with script to pull all tenant shared mailboxes with owner details

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,192 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jake Zhang-MSFT 1,235 Reputation points Microsoft Vendor
    2024-04-24T09:27:28.9733333+00:00

    Hi @kanupriya,

    Based on your description, I suggest that you can try the following format of commands in the Exchange Online Management Shell to get the information you want:

    Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission | select identity,user,accessrights  | where { ($_.User -like '@')   }

    111_LI