Forum Discussion
TonyRedmond
Dec 20, 2018MVP
Using PowerShell to Check Group or Team Membership
PowerShell is great at getting lots done for Office 365 administrators. As an example, here are a couple of ways to check the membership of an Office 365 Group or a Microsoft Team to find out whether...
Jun 20, 2019
Yes! There’s always a Office 365 group for every team! But you can’t add another group in the members section! Only add users or groups but it will then only import the users that are members of that group
You should be able to get the underlaying office365 groups for the teams
You should be able to get the underlaying office365 groups for the teams
TonyRedmond
Jun 20, 2019MVP
adam deltinger Right. The only valid members of an Office 365 group or team are tenant accounts and guest user accounts. Office 365 Groups don't support nested groups, so if you add a group or DL to the membership of an Office 365 group, the membership is expanded and all valid members are added separately to the membership. No connection is kept to the source group.
- ashokjingarJun 20, 2019Copper Contributor
Thank you both for the explanation. It makes sense. I have already got a script to see a list of Groups and an indicator of whether they are Teams enabled or not. I was asked to generate a list of Teams with what Groups they consist of. The fact that a Team can only be associated to a single O365 group is welcome news. :-)
Kind Regards,
Ash