in Office 365 you get three types of groups: distribution groups, dynamic distribution groups, and Office 365 groups (unified groups)…
The first two of those are based on Exchange Server and are very straight and easy to use for anyone who is familiar with Exchange Server… However the third type might look something new to them despite being at the same level of ease and straight forward!
When using Exchange Online PowerShell to list the groups, there are three commands to use for this:
Similar to the first two commands, Get-UnifiedGroup works the same way… You will get the group, then check its members attribute or property to get the other member users…
Below is a small script that I made will do the required job for you. Once the process is completed, you will get a file named O365GroupMembers.csv … Read the rest “PS: A small script to list Office 365 groups and members”