Archive Team
A 2-step recipe with Microsoft Teams. We can help you get access.
Recipe · 2 steps
Archive Team
with Microsoft Teams
Confirm a team and archive it, branching when already archived.
- Read the team to confirm it exists and inspect its archive state.
- Submit the archive request. Microsoft Graph accepts archiving as an asynchronous operation and returns 202 Accepted.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer token with TeamSettings.ReadWrite.All scope.
- teamId: The unique identifier of the team to archive.
- setSpoSiteReadOnly: Whether the SharePoint site should be set to read-only for members.
For your developer
Arazzo workflow microsoft-teams:archive-team, 2 operations: getTeam → archiveTeam. Specs on APIs.io.