Microsoft Teams Management
Manage teams and members in Microsoft Teams.
Messaging and Conferencing · Microsoft Teams
Configuration parameters
app_id— Application IDazure_ad_endpoint— Azure AD endpointinsecure— Trust any certificate (not secure)proxy— Use system proxy settingsauthentication_type— Authentication Typetenant_id— Tenant ID (for Client Credentials mode)credentials— Client Secret (for Client Credentials mode)managed_identities_client_id—
Commands (19)
-
microsoft-teams-auth-completeRun this command to complete the authorization process. Should be used after running the microsoft-teams-auth-start command.
-
microsoft-teams-auth-resetRun this command if for some reason you need to rerun the authentication process.
-
microsoft-teams-auth-startRun this command to start the authorization process and follow the instructions in the command results.
-
microsoft-teams-auth-testTests connectivity to Microsoft.
-
microsoft-teams-member-addAdd a user to be a team member.
-
microsoft-teams-member-getGets a member of a team.
-
microsoft-teams-member-removeRemove a member from the team.
-
microsoft-teams-member-updateUpdates a team member.
-
microsoft-teams-members-listReturns the members of the specified team.
-
microsoft-teams-team-archiveArchive 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-cloneCreate a copy of a team. This operation also creates a copy of the corresponding group. Cloning is a long-running operation.
-
microsoft-teams-team-createCreates a new team.
-
microsoft-teams-team-create-from-groupCreate 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-deleteDeletes a group. Note: it might take time for the team to disappear from the teams list.
-
microsoft-teams-team-getRetrieve the properties and relationships of the specified team.
-
microsoft-teams-team-unarchiveRestore 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-updateUpdate the properties of the specified team.
-
microsoft-teams-teams-listReturns all the groups that have teams in an organization.
-
microsoft-teams-teams-list-joinedGet the teams in Microsoft Teams that the user is a direct member of.