Add a User to a Microsoft Teams Team

Prev Next

Grant a user access to a specific Microsoft Teams team so they can collaborate on its channels and shared resources.

Complexity: Beginner. Impact: collaboration + onboarding + access-management + teams.

Why use this workflow

When an employee joins a new project, department, or cross-functional workstream, they typically need access to the associated Microsoft Teams team. Adding the user grants them visibility into all standard channels, shared files, conversations, and collaborative apps configured for that team.

This is one of the most common helpdesk requests in a Microsoft 365 environment. While end users can request to join public teams themselves, private teams (the default for most business teams like Retail, Finance, or Legal) require an owner or administrator to add the member explicitly.

When to run this workflow

  • A user requests membership in a specific team (e.g., the Retail team).
  • An onboarding workflow assigns a new hire to a department-specific team.
  • A team owner delegates member management to the helpdesk.
  • A contractor or partner needs short-term collaboration access.

Expected outcomes

  • Added the target user as a Member (or Owner, if requested) of the specified team.
  • Verified the user appears in the team's membership roster.
  • Confirmed the user can see the team and its channels in their Teams client (typically within a few minutes of the change propagating).
  • An audit record of the addition in the Microsoft 365 admin audit log.

Risks and considerations

Things to verify before adding a user

  • Validate the request. Confirm the user genuinely needs access. Do not add members based solely on a chat message. Check with the team owner or the requester's manager.
  • Private vs. sensitive teams. Some teams contain confidential data (HR, Legal, M&A). These should have membership controlled by the team owner or through an access-reviewed group, not ad hoc by the helpdesk.
  • Guest vs. member. External users are added as Guests and have reduced permissions. Make sure guest access is enabled at the tenant and team level before attempting this for an external email address.
  • Member vs. Owner. Only promote to Owner when explicitly requested and approved. Owners can add and remove members, delete channels, and change team settings.
  • Licensing. The user must have a license that includes Microsoft Teams (e.g., Microsoft 365 Business Basic/Standard/Premium or an E-tier license).
  • Dynamic membership. If the team is backed by a dynamic Microsoft 365 Group, you cannot add members manually. Membership is controlled by the group's dynamic rule, so update the user's attributes (department, jobTitle, etc.) instead.

Compliance

Additions to teams that handle regulated data (PCI, HIPAA, SOX-scoped) may require ticket-based approval and should be reviewed periodically via access reviews in Microsoft Entra ID Governance.

Required permissions

PermissionWhy it's needed
Teams Administrator or Global Administrator roleRequired to add members to any team in the tenant via the Teams admin center or PowerShell.
Team Owner of the target teamAlternative to a tenant-wide admin role: team owners can manage their own team's membership from within the Teams client.
GroupMember.ReadWrite.All (Graph API)Needed to add a user to the Microsoft 365 Group that backs the team via Microsoft Graph.
Group.ReadWrite.All (Graph API)Required when promoting a user to Owner of the team's backing group.
User.Read.All (Graph API)Used to resolve the user's UPN or display name to an object ID before adding them.

Ask Dex

Paste the prompt into a Dex conversation.

Prompt for IT admins

Add {user} to the Microsoft Teams team named '{team_name}' as a {role} (default: Member). Verify the user has a Teams-capable license, confirm the team is not backed by dynamic membership, perform the add, and confirm membership by re-reading the team roster.

How an end user can ask Dex

Can you add me to the Retail team in Microsoft Teams? I need to see the channels so I can collaborate with that group.

Manual steps (admin center)

Option A: Add from the Teams client

  1. Open Microsoft Teams (desktop or web).
  2. In the left rail, click Teams, then locate the target team (e.g., Retail).
  3. Click the ⋯ (More options) next to the team name and choose Manage team.
  4. On the Members tab, click Add member.
  5. Type the user's name, email, or UPN and select them from the picker. You can add multiple users at once.
  6. (Optional) Change the role from Member to Owner using the drop-down next to the name.
  7. Click Add, then Close.

Option B: Add via the Microsoft 365 admin center (admin workflow)

  1. Sign in to the Microsoft 365 admin center as a Teams Administrator or Global Administrator.
  2. Go to Teams & groups > Active teams & groups.
  3. Select the Teams tab, then click the display name of the target team (e.g., Retail).
  4. Open the Members tab and click Add members.
  5. Search for the user by name or UPN, select them, and click Add.
  6. (Optional) In the role column, change Member to Owner if required.
  7. Click Save.

Verify

  1. Ask the user to restart Microsoft Teams (or wait 5 to 10 minutes for client sync).
  2. Confirm the team is visible in their Teams list.
  3. In the admin center or team settings, confirm the user is listed under Members.

Microsoft Graph API

Under the hood, every Microsoft Teams team is backed by a Microsoft 365 Group. Adding a member to the team is equivalent to adding them to the group's members collection. You can also use the dedicated /teams/{team-id}/members endpoint, which supports setting the team role (member or owner) in a single call.

1. Resolve the user's object ID

GET https://graph.microsoft.com/v1.0/users/{userPrincipalName}
Authorization: Bearer {token}

Returns a JSON payload containing the user's id (object ID).

2. Resolve the team ID

The team ID is the same as the underlying Microsoft 365 Group's object ID. Look it up by display name:

GET https://graph.microsoft.com/v1.0/groups?$filter=displayName eq 'Retail' and resourceProvisioningOptions/Any(x:x eq 'Team')

3. Add the user as a team member

POST https://graph.microsoft.com/v1.0/teams/{team-id}/members
Authorization: Bearer {token}
Content-Type: application/json

{
  "@odata.type": "#microsoft.graph.aadUserConversationMember",
  "roles": [],
  "user@odata.bind": "https://graph.microsoft.com/v1.0/users('{user-id}')"
}

To add as Owner, set "roles": ["owner"].

4. Expected response

HTTP/1.1 201 Created

{
  "@odata.type": "#microsoft.graph.aadUserConversationMember",
  "id": "MCMiIzE5OmFiY2Q...",
  "roles": [],
  "displayName": "Jane Doe",
  "userId": "{user-id}",
  "email": "jane.doe@contoso.com"
}

5. Verify membership

GET https://graph.microsoft.com/v1.0/teams/{team-id}/members

Common errors

  • 404 Not Found: team ID or user ID is wrong, or the group is not yet team-enabled.
  • 403 Forbidden: the signed-in app/user lacks GroupMember.ReadWrite.All or is not an owner of the team.
  • 400 Bad Request with "One or more added object references already exist": the user is already a member.

PowerShell

The MicrosoftTeams module provides the Add-TeamUser cmdlet, which is the most direct way to add a user to a team from PowerShell.

1. Install and connect

# Install once (admin PowerShell)
Install-Module -Name MicrosoftTeams -Scope CurrentUser

# Connect with a Teams/Global admin account
Connect-MicrosoftTeams

2. Find the team

$team = Get-Team -DisplayName "Retail"
$team | Select-Object GroupId, DisplayName, Visibility

3. Add the user

Add-TeamUser -GroupId $team.GroupId -User "jane.doe@contoso.com"

# To add as an owner instead:
Add-TeamUser -GroupId $team.GroupId -User "jane.doe@contoso.com" -Role Owner

4. Verify

Get-TeamUser -GroupId $team.GroupId |
    Where-Object { $_.User -eq "jane.doe@contoso.com" }

5. Disconnect

Disconnect-MicrosoftTeams