Overview of dynamic membership for teams

Microsoft Teams supports teams associated with Microsoft 365 groups by using dynamic membership. Dynamic membership defines membership of a team by one or more rules that check for certain user attributes in Microsoft Entra ID. Users are automatically added or removed to the correct teams as user attributes change or users join and leave the tenant.

With dynamic membership, you can set up teams for certain cohorts of users in your organization. Possible scenarios include:

  • A hospital can create distinct teams for nurses, doctors, and surgeons to broadcast communications. This feature is especially important if the hospital relies on temporary employees.
  • A university can create a team for all faculty within a particular college, including an adjunct faculty that changes frequently.
  • An airline wants to create a team for each flight (like a Tuesday afternoon nonstop from Chicago to Atlanta) and has a frequently changing flight crew automatically assigned or removed as needed.

Dynamic membership allows a team's members to update automatically based on a specific set of criteria, instead of manually managing membership. Using dynamic membership requires Microsoft Entra ID P1 licenses. Tenant admins assign team membership to a user's Microsoft Entra properties.

Microsoft Teams might take anywhere from a few minutes to up to 2 hours to reflect dynamic membership changes once they take effect in the Microsoft 365 group for a team.

When using teams with dynamic groups:

  • Rules can define who is a team member, but not who is a team owner.
  • Owners can't add or remove users as members of the team since dynamic group rules define members.
  • Teams clients don't allow member management for the team. Options to add members, edit member roles, send and approve join requests, and leave the team are all hidden.

To create a team that uses dynamic membership, start by creating a dynamic Microsoft 365 group and then create a team from that group.

You can change an existing team to have a dynamic membership. See Change static group membership to dynamic in Microsoft Entra ID for information.