Forum Discussion

23 Replies

  • NawazKhan's avatar
    NawazKhan
    Copper Contributor

    Carlos Yohn Zubiría can use the following command.

    Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission |Select-Object Identity,User,AccessRights

    it will show the shared mailbox, user who have the permission and the permission level 

  • Lewis-H's avatar
    Lewis-H
    Iron Contributor
    How to Get a List of Shared Mailboxes Members and Permissions
    Connect to Office 365 PowerShell, run the PowerShell ISE as Administrator and execute the following command: ...
    Type your user ID and password in the Windows PowerShell Credential Request and click OK.
  • Paris Wells's avatar
    Paris Wells
    Copper Contributor

    Here is the powershell to get this 

     

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

  • The following should work for you:

     

    Get-Mailbox -Filter {recipienttypedetails -eq "SharedMailbox"}

    • Carlos Yohn Zubiría's avatar
      Carlos Yohn Zubiría
      Copper Contributor

      Hi Jeremy,

      Thanks for your answer but what i get with this command does not shows members of shared mailboxes:

      Name                      Alias           Database                       ProhibitSendQuota    ExternalDirectoryObjectI
                                                                                                    d                      
      ----                      -----           --------                       -----------------    ------------------------
      Leioandi2 Homes           leioandi2.homes EURPR09DG154-db059             99 GB (106,300,44... 5c2b2147-3d01-41ce-be...
      solicitudcontratos        solicitudcon... EURPR09DG045-db096             49.5 GB (53,150,2... 452ac29d-4de9-4305-b4...
      pp.sur                    pp.sur          EURPR09DG130-db023             49.5 GB (53,150,2... af168196-d119-4675-8b...

Resources