Forum Discussion

RobertFormodi's avatar
RobertFormodi
Copper Contributor
Feb 21, 2020

Difficult to find which distribution group was assigned to which shared mailbox

I have hundred of distribution groups which functional as delegation groups for manage full access and send as permission for shared mailboxes. Is there any available powershell script or any which are able to
find or identify which distribution was assigned to which shared mailbox? Unfortunately from the original available exchange powershell commandlets like Get-MailboxPermission and Get-RecipientPermission I could not build any usable scripts for my problem. May I should use Outlook Rest API or EWS instead of powershell script?

    • RobertFormodi's avatar
      RobertFormodi
      Copper Contributor

      VasilMichev, Yes I know this solution but I have a lot of stale delegation groups and need to know exactly which groups are in still used and have function and which not. Maybe I should query the all production shared mailboxes and collects their groups in a csv what you described. After that another script import this csv and would check data and create new csv with the really live shared mailboxes and their groups, thus the rest are the stale.

Resources