I recently needed to get a list of all Exchange Online Shared Mailboxes members and permissions.
Here is how to do it :
Connect-ExchangeOnline
Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission |Select-Object Identity,User,AccessRights | Where-Object {($_.user -like '*@*')}
Here is the results that you’ll have :

Votre commentaire