May 17 2022 06:55 AM - edited May 17 2022 06:58 AM
We have synced a bunch of security groups from our AD envirement into the Azure AD.
As an example we have a group called GG_DEP_IT which contains all the IT members.
This group is used OnPrem to delegate folder permission, application access and more.
Now we wanna built a Teams-Group for our IT-Departmen (and many more) this only works with Microsoft 365 Group.
Until now I've not found a way to add all members or the group "GG_DEP_IT" to an Microsoft 365 group.
Since we manage all the groups on prem, the membership there is correct and clean.
What would be the correct way to create a teams-channels for all department by using the existing groups?
The Dynamic-Groups does not work, since the department is not always correct in the AD-Attribute.
Is there a way to extract the members of each group into a new group for this purpose?
What we would like to avoid is have to take care of two idependent groups manually, since a bunch of automatisation already clean up the onprem groups.
May 17 2022 09:07 AM
SolutionJun 24 2022 11:22 AM
This has changed--you can use the code in the below link from MS's page to dynamically populate Teams membership:
Feb 18 2024 07:36 PM
Hi @Vasil Michev and @Kyuma90 have you by any chance noticed this behaviour being different on the New Teams? We've noticed instances where classic teams is detecting an AD group (you start typing and it comes up as an option to select), but then new teams does not seem to be detecting the same AD group (you start typing and it says "we couldn't find any matches").
May 17 2022 09:07 AM
Solution