An update has been deployed to make dynamic membership available for Microsoft Teams.
With this update, you can now have your users added/removed dynamically from a Teams based on Azure AD user attribute(s).
To take advantage of it, you need to:
- Create a dynamic group (either Security or Office 365) on your Azure AD
- To know the supported attributes, operators, values or how to use complex rules go to https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership#supported-properties
- Grant permissions to this dynamic group to your existing (or new) Teams