Forum Discussion
elaheh
Jun 23, 2020Brass Contributor
powershell script to add dynamic group to private channel
Hi, Is it possible to add members using 'Dynamic group' to the private channel on teams? I tried to search for dynamic group in private channel via MS Teams client but I'm not able to find it. Howe...
- Jun 23, 2020
You cannot add dynamic groups directly, but you can easily "expand" the membership and add each user individually to the private channel.
VasilMichev
Jun 23, 2020MVP
You cannot add dynamic groups directly, but you can easily "expand" the membership and add each user individually to the private channel.
- elahehJun 23, 2020Brass Contributor
Thanks VasilMichev
Do you know how to Expand users and add bulk of users using powershell?
- VasilMichevJun 23, 2020MVP
Depends on the group type, you will either have to run a query against Exchange Online or Azure AD.