Policy assignment based on group memberships in Microsoft Teams

Microsoft Teams policies can be assigned via group memberships from Active Directory or Azure AD. The configuration of this setting can be done via the GUI or PowerShell. Unfortunately, I had to make the...