Microsoft Teams Management

Manage teams and members in Microsoft Teams.

Messaging and Conferencing · Microsoft Teams

Configuration parameters

  • app_id — Application ID
  • azure_ad_endpoint — Azure AD endpoint
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • authentication_type — Authentication Type
  • tenant_id — Tenant ID (for Client Credentials mode)
  • credentials — Client Secret (for Client Credentials mode)
  • managed_identities_client_id

Commands (19)

  • microsoft-teams-auth-complete

    Run this command to complete the authorization process. Should be used after running the microsoft-teams-auth-start command.

  • microsoft-teams-auth-reset

    Run this command if for some reason you need to rerun the authentication process.

  • microsoft-teams-auth-start

    Run this command to start the authorization process and follow the instructions in the command results.

  • microsoft-teams-auth-test

    Tests connectivity to Microsoft.

  • microsoft-teams-member-add

    Add a user to be a team member.

  • microsoft-teams-member-get

    Gets a member of a team.

  • microsoft-teams-member-remove

    Remove a member from the team.

  • microsoft-teams-member-update

    Updates a team member.

  • microsoft-teams-members-list

    Returns the members of the specified team.

  • microsoft-teams-team-archive

    Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team. Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this command. In order to archive a team, the team and group must have an owner.

  • microsoft-teams-team-clone

    Create a copy of a team. This operation also creates a copy of the corresponding group. Cloning is a long-running operation.

  • microsoft-teams-team-create

    Creates a new team.

  • microsoft-teams-team-create-from-group

    Create a new team under a group. In order to create a team, the group must have a least one owner and the group cannot be of type Security.

  • microsoft-teams-team-delete

    Deletes a group. Note: it might take time for the team to disappear from the teams list.

  • microsoft-teams-team-get

    Retrieve the properties and relationships of the specified team.

  • microsoft-teams-team-unarchive

    Restore an archived team. This restores the users' ability to send messages and edit the team, abiding by tenant and team settings. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this command.

  • microsoft-teams-team-update

    Update the properties of the specified team.

  • microsoft-teams-teams-list

    Returns all the groups that have teams in an organization.

  • microsoft-teams-teams-list-joined

    Get the teams in Microsoft Teams that the user is a direct member of.