Skip to content

teams team unarchive

Restores an archived Microsoft Teams team

Usage

m365 teams team unarchive [options]

Options

-i, --id [id]
The ID of the Microsoft Teams team to restore. Specify either id or name but not both.
-n, --name [name]
The display name of the Microsoft Teams team to restore. Specify either id or name but not both.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

This command supports admin permissions. Global admins and Microsoft Teams service admins can restore teams that they are not a member of.

If the command finds multiple Microsoft Teams teams with the specified name, it will prompt you to disambiguate which team it should use, listing the discovered team IDs.

This command restores users' ability to send messages and edit the team, abiding by tenant and team settings.

Examples

Restore an archived Microsoft Teams team with id 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55

m365 teams team unarchive --id 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55

Restore an archived Microsoft Teams team with name Team Name

m365 teams team unarchive --name "Team Name"

Response

The command won't return a response on success.