# Archive Team

### Description

This runbook archives a Microsoft Teams team backed by the specified Microsoft 365 group. It verifies that the group is provisioned as a team and then triggers the archive action via Microsoft Graph. Use this to decommission inactive teams while preserving their contents for review.

### Location

Group → Teams → Archive Team

**Full Runbook name**

rjgit-group\_teams\_archive-team

### Permissions

#### Application permissions

* **Type**: Microsoft Graph
  * TeamSettings.ReadWrite.All

### Parameters

#### GroupID

Object ID of the Microsoft 365 group that backs the team.

| Property      | Value  |
| ------------- | ------ |
| Required      | true   |
| Default Value |        |
| Type          | String |

[Back to Runbook Reference overview](/automation/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/automation/runbooks/runbook-references/group/teams/archive-team.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
