Sync AD Groups with Microsoft Teams (BETA)

Microsoft Teams doesn’t allow you to define a group for membership (dynamically). When you add an Azure AD group to a Team, all users will be added once. Once someone is added to that group, it won’t be added to the team automatically. For this I created this script. You define an Active Directory group and a Microsoft Team to manage. All users that are in the AD group, but aren’t in the...